Commit Graph

235 Commits

Author SHA1 Message Date
23c5f11391 inspector: Make header buttons as !focus-on-click
Moving the focus to the header bar is unexpected and disruptive,
so don't do it.
2014-12-10 22:47:16 -05:00
c5b7f9f11c inspector: Make sure something is focusable on the stats page
Without this, the focus will not be inside the top_stack when
we switch to the statistics page and it shows the excuse. This
in turn will make the next page not take focus as expected when
switching away from the statistics page again.
2014-12-10 22:41:45 -05:00
18799d22cf inspector: Fix focus in css editor
Give the text view initial focus, so things work as expected
when switching to the css editor for the first time.
2014-12-10 22:39:50 -05:00
cf4afd0e93 inspector: Don't force-switch to the objects tab
We used to switch to the objects tab when an object is
picked, but now may have two places with picker buttons:
the objects tab and the interactive tab.

So, just don't do that anymore.
2014-12-09 20:57:58 -05:00
702b647d4e inspector: Allow extensions to request a picker
Look for a 'use-picker' property on the extension page
and add a picker button to the header bar if says so.
2014-12-09 20:57:51 -05:00
44bf61baac inspector: Another indentation fix 2014-12-09 19:23:54 -05:00
536b10800f inspector: Reindent ui file 2014-12-09 17:49:23 -05:00
2d6ae59d7f Inspector: Support extending the inspector using GIOModules
This allows external modules to add a page to the Gtk Inspector.

https://bugzilla.gnome.org/show_bug.cgi?id=740983
2014-12-08 17:34:54 -05:00
4d7369d1a8 inspector: Properly update flashing hilight
Previously, the inspector would not change the hilight while the
previous hilight was still flashing.
This is inconvenient while arrowing through the object selection
treeview though where you want the currently selected row to hilight
when arrowing quickly.
2014-12-01 15:43:43 +01:00
383d5b137b inspector: Build nonrecursively 2014-11-30 16:11:56 -05:00
2679f889a5 Drop an unused variable 2014-11-28 14:25:42 -05:00
d3c96f9f17 inspector: Simplify some code 2014-11-27 23:21:42 -05:00
4634fd81ba inspector: Make close buttons in search bars have no relief
Make our home-grown searchbar lookalike look more alike.
2014-11-25 08:42:26 -05:00
bef9d05812 inspector: minor cleanup 2014-11-24 20:36:00 -05:00
6b95810aae inspector: Show object title in menu tab 2014-11-22 21:38:47 -05:00
a7ba57f751 inspector: Add menu models to the tree
Add both the appmenu and the menubar models as children of the
application, if they exist.
2014-11-22 21:38:47 -05:00
0a37493384 inspector: Show object title in size groups tab 2014-11-22 21:38:47 -05:00
d09f66579b inspector: Show object title in data tab 2014-11-22 21:38:47 -05:00
af12993c4b inspector: Show object title on the style property list
As with the property list, this replaces the search bar by
a stack containing a search entry.
2014-11-22 21:38:47 -05:00
f38081a4a5 inspector: Show object title on selector tab 2014-11-22 21:38:47 -05:00
38c3600d8b inspector: Show object title in actions tab 2014-11-22 21:38:47 -05:00
d2aad06513 inspector: Show object title in hierarchy tab 2014-11-22 21:38:47 -05:00
85380f22f3 inspector: Show object title in the classes tab 2014-11-22 21:38:47 -05:00
fe5f9c560b inspector: Show object title in the css tab 2014-11-22 21:38:47 -05:00
c2326aa5cf inspector: Show object title in the gestures tab 2014-11-22 21:38:47 -05:00
9e3d0651e1 inspector: Show object title in the signals tab 2014-11-22 21:38:47 -05:00
7a1c5845ef inspector: Show object title in the properties tab
Replace the search bar with a search entry in a stack to make
this work without unseemly height changes.
2014-11-22 21:38:47 -05:00
2ea3171ff9 inspector: Show object title in the misc tab 2014-11-22 21:38:47 -05:00
5b7233f136 inspector: Store object title on object 2014-11-22 21:38:46 -05:00
84463b78e5 inspector: Drop an unused argument 2014-11-22 21:38:46 -05:00
9fb2d6a6b9 inspector: Trivial typo fix 2014-11-22 21:38:46 -05:00
85a539ce6d inspector: Add frame clock info
Add the frame clocks of toplevel widgets to the object tree,
and show their frame count and frame rate in the misc tab.
2014-11-12 22:52:59 -05:00
45528440e6 inspector: Show the refcount on the misc tab 2014-11-12 21:58:08 -05:00
72b9d2861c inspector: Update misc-info while the tab is shown
Update the values on the page once per second, while the tab
is shown.
2014-11-12 21:45:16 -05:00
21e3d4f2f7 inspector: Turn off search where we don't have a search bar yet
Avoid the builtin treeview search popup everywhere.
2014-11-11 22:42:51 -05:00
8b95515c0c inspector: Only set debug-updates for the default display
Use the new private API to isolate the inspector itself from
this setting.
2014-11-10 15:24:08 -05:00
5c5c8bdd81 inspector: Add a rendering mode control 2014-11-10 15:07:52 -05:00
710f332082 configure.ac: Depend on cairo 1.14.0
This is needed for cairo_set_device_scale()
2014-11-10 15:12:17 +00:00
8a8c6c0722 Inspector: hide the selector tab for non-widgets 2014-11-08 21:43:26 -05:00
9a84d8a261 inspector: Hide the size-groups tab when empty 2014-11-08 21:30:12 -05:00
0c20ba7dcb inspector: Hide the inspector tab when empty 2014-11-08 21:29:51 -05:00
ae4aaf7354 inspector: Set statistics button sensitivity
After moving the button the header, it is now visible when
statistics are not available. Disable it in this case.
2014-11-08 09:57:48 -05:00
592a0d46b4 inspector: Add more GL information
Add version and extension information to the general tab.
2014-11-08 02:16:35 -05:00
585af218a3 Move GDK GL flags accessors to the private vtable
This allows us to use the GDK_PRIVATE_CALL macro inside gtk.

https://bugzilla.gnome.org/show_bug.cgi?id=739781
2014-11-08 00:20:15 -05:00
713d3834f6 inspector: Reserve space for buttons
Make the button area in the top left a stack that is parallel
to the main page stack. This avoids size changes as we switch
between pages.
2014-11-08 00:09:30 -05:00
d0973fdb78 inspector: Improve search on the statistics page
Use a search bar here as well, instead of the builtin treeview popup.
2014-11-07 23:40:31 -05:00
5f701cf4c9 inspector: Move the record button up
Give all the page space to the content.
2014-11-07 23:19:28 -05:00
1ddace0a5f inspector: Shorten some labels 2014-11-07 22:57:14 -05:00
818d2e238b inspector: Improve search in the resource tree
Make search in the resource tree work the same way as the new
search in the object tree.
2014-11-07 22:44:23 -05:00
48415955f0 inspector: Correct a tooltip 2014-11-07 22:44:23 -05:00