Matthias Clasen
3952bd60a5
inspector: Port to new monitor api
...
Adapt to new monitor apis, and show more information.
2016-04-27 23:18:16 -04:00
Paolo Borelli
6225d435e6
inspector: do not leak seat capabilities descriprion
...
Factor out an utility function for readability and free the string
with the list of capabilities
2016-04-24 17:49:26 +02:00
Matthias Clasen
abff6e23c0
inspector: simplify some code
2016-04-09 15:48:34 -04:00
Matthias Clasen
af1c873bca
inspector: Use GdkAxes instead of GdkAxisUse
2016-04-09 12:14:33 -04:00
Matthias Clasen
8b93c013c3
inspector: Simplify general tab setup
...
Factor out the code to create a listbox row with two labels,
and use it throughout.
2016-02-25 20:49:09 -05:00
Matthias Clasen
4f5f299266
inspector: React to device changes
...
Recreate the device section in the general tab when
devices come or go.
2016-02-25 20:28:23 -05:00
Ignacio Casal Quinteiro
53fe9c2b0c
inspector: use guint to fix the windows build
2016-02-25 15:25:19 +01:00
Matthias Clasen
fe4602acc5
inspector: Show ::num-touches for touch devices
...
This can be useful information.
2016-02-25 08:27:08 -05:00
Matthias Clasen
84ba01d713
inspector: Update for screen config changes
...
Repopulate the display section whenever the monitor configuration
changes.
2016-02-25 01:22:01 -05:00
Matthias Clasen
15ccdcd25b
inspector: Don't show numeric ids
...
The vendor and product ids for input devices aren't useful
as-is; need to figure out how to translate them to names.
2016-02-25 01:10:23 -05:00
Matthias Clasen
455935a06a
inspector: Show more device information
...
This adds vendor and product id and axes. This reveals that
the GDK backends have quite different quality when it comes
to returning meaningful information here.
2016-02-25 00:49:50 -05:00
Matthias Clasen
03db14c2d6
inspector: Show some basic device information
...
Add information about seats and their associated devices
in the General tab.
2016-02-25 00:17:09 -05:00
Matthias Clasen
13e5e83798
Add message contexts to translated strings
...
The string "None" is used in multiple contexts; add message contexts
to give translators a chance to translate them accordingly.
https://bugzilla.gnome.org/show_bug.cgi?id=762165
2016-02-16 18:33:16 -05:00
Benjamin Otte
f5d4fb1a0b
inspector: Don't use unused variables
...
Windows-specific refactorings broke this.
2016-02-11 04:14:56 +01:00
Benjamin Otte
76e56c5038
win32: Stop using _gdk_display global in device code
...
Use gdk_device_get_display() instead.
2016-02-11 03:44:47 +01:00
Matthias Clasen
449a9c419a
inspector: Refine typography
...
Use thin spaces in the formatting of monitor sizes.
2016-01-20 22:51:25 -05:00
Timm Bäder
30d56933d4
Inspector: Make monitor rows unactivatable
2015-08-25 18:11:46 +02:00
Matthias Clasen
df50858dfd
inspector: Show monitor information
...
This is useful to verify the monitor information returned by
other backends.
2015-07-28 01:14:49 -04:00
Matthias Clasen
bc68600cb0
inspector: Show wayland display information
...
Don't call it "X display" when we show useful information under
Wayland as well.
2015-07-28 00:46:34 -04:00
Timm Bäder
ad180c4335
inspector: Make gl extension rows unactivatable
2015-01-22 21:18:25 +01:00
Matthias Clasen
b4375cde48
Inspector: Show some X display characteristics
...
This helps diagnose e.g. csd problems.
2014-12-28 11:36:10 -05:00
Matthias Clasen
383d5b137b
inspector: Build nonrecursively
2014-11-30 16:11:56 -05:00
Matthias Clasen
592a0d46b4
inspector: Add more GL information
...
Add version and extension information to the general tab.
2014-11-08 02:16:35 -05:00
Matthias Clasen
c16fa45bfe
inspector: Use a separate display connection
...
This helps isolate the inspector from some of the changes that
it can trigger. To specify a different display, set
GTK_INSPECTOR_DISPLAY to the name of the display to use for
the inspector window. If no display is specified, GTK+ will
use a separate connection to the default display.
2014-10-24 15:57:33 -04:00
Matthias Clasen
5a0dc74ded
Inspector: Use text attributes for monospace labels
2014-10-07 00:42:46 -04:00
Matthias Clasen
91133fc14c
inspector: Reshuffle Visual and General tabs
...
Move the touchscreen switch to the other debug switches, and
move the hidpi spin to the other graphical controls. Since the
Visual tab is getting large, make it scroll. The General tab
is purely informational again.
2014-07-12 01:45:44 -04:00
Matthias Clasen
c526634fdb
inspector: Fix the build
...
I forgot to test the previous commit with -Wimplicit-function-delcaration,
and it promptly broke.
2014-07-11 23:45:18 -04:00
Matthias Clasen
f8986d9aa7
inspector: Clean up includes
...
Don't include gtk.h, instead include individual headers.
And include config.h and gi18n-lib.h everywhere.
2014-07-11 23:14:04 -04:00
Matthias Clasen
425d785de5
inspector: Allow setting hidpi scale
2014-07-10 18:36:16 -04:00
Matthias Clasen
614412e913
inspector: Show GSETTINGS_SCHEMA_DIR when set
2014-07-10 17:37:26 -04:00
Matthias Clasen
8883074497
inspector: Disable non-functional controls
...
Some of the features we expose can be hardcoded via environment
variables. In that case, don't confuse the user by letting them
change settings that have no effect.
2014-07-10 10:33:27 -04:00
Matthias Clasen
7fa4d60bf3
inspector: Add a switch for simulating touch
...
This makes it easy to test test touchscreen features with a
plain old mouse.
2014-07-10 10:12:02 -04:00
Matthias Clasen
2e07865f67
Drop debug spew
2014-05-15 08:47:44 -04:00
Matthias Clasen
42dc501133
inspector: Drop unused functions
...
The entire UI is constructed with templates, so the wrapper
constructors are never called, except for gtk_inspector_window_new,
which gets called from the GTK+ code.
2014-05-15 00:14:37 -04:00
Matthias Clasen
75d49675f3
inspector: Add a general information tab
...
It is useful to see the GTK+ version, and the various paths
that affect GTK+ operation at runtime.
2014-05-15 00:06:43 -04:00