073a9c9cd5
inspector: Add some margin to css editor
...
Requested in
https://bugzilla.gnome.org/show_bug.cgi?id=745918
2015-03-10 14:07:27 -04:00
85ad434290
inspector: Destroy popovers on unmap
...
As an implementation detail, the popover hooks the fade out animation
on ::hide. Destroying the popover right away here is not a problem, but
prevents the animation from actually running. ::unmap will be run after
the animation is finished, so destroy the popover there.
2015-02-20 14:44:17 +01:00
f3110e4103
Rename GtkSidebar to GtkStackSidebar
...
GtkSidebar is too generic and doesn't fully convey what the widget does.
https://bugzilla.gnome.org/show_bug.cgi?id=744094
2015-02-13 18:01:56 +01:00
354536d464
inspector: Use some of the new GtkSearchEntry API
...
Avoid repetitive, manual event handling in various places
in GtkInspector.
2015-01-24 08:44:30 -05:00
ad180c4335
inspector: Make gl extension rows unactivatable
2015-01-22 21:18:25 +01:00
ebb64c2288
inspector: Remove unused hash table
2015-01-20 06:30:19 +01:00
7ba7dff69e
inspector: Remove unused treemodel properties
...
As a side effect, we can use _gtk_css_section_to_string() to format the
section and save a lot of code.
2015-01-20 06:30:19 +01:00
4ba710ea30
inspector: Use GtkCssStyle and gtk_css_value_to_string()
2015-01-20 06:30:19 +01:00
ad8d30ad86
inspector: Remove a bunch of unused variables
2015-01-17 02:37:36 +01:00
6384167054
inspector: Don't use GSettings directly
...
It is not necessary here, and using GtkSettings gives us
a greater chance to not fail e.g. on Windows.
https://bugzilla.gnome.org/show_bug.cgi?id=742664
2015-01-09 15:29:34 -05:00
c2ff89bbe3
inspector: be careful about gsize vs guint64
...
Since gsize doesn't work as a typename in a ui file,
we have to be careful not to pass pointers to wrongly
sized variables when getting the guint64 values out
of the model.
https://bugzilla.gnome.org/show_bug.cgi?id=742664
2015-01-09 14:44:26 -05:00
80969e34bc
inspector: Show object address
...
This is useful information when running the application
in a debugger.
https://bugzilla.gnome.org/show_bug.cgi?id=742518
2015-01-09 00:07:01 -05:00
915e4c6dd7
inspector: Update translations .ui.h file
2014-12-28 18:13:34 -08:00
b4375cde48
Inspector: Show some X display characteristics
...
This helps diagnose e.g. csd problems.
2014-12-28 11:36:10 -05:00
20f1c06eed
Restore a missing file
...
No wonder nobody has tried my awesome magnifier yet...
2014-12-28 11:14:39 -05:00
1e1c5c65d1
inspector: Remove an errant shadow
2014-12-20 19:39:09 -05:00
2b07b6c069
inspector: Add a magnifier
...
Add a magnifier that shows the selected widget up to 5 times
enlarged.
2014-12-20 19:24:08 -05:00
c118e51d52
inspector: Fix capitalization
2014-12-12 23:47:26 -05:00
31ccc372f0
inspector: Add a cursor theme control
2014-12-12 23:46:28 -05:00
b6acc8f2c5
actions: Fix compile warning
2014-12-12 17:39:46 -08:00
661da5558c
widget: add helpers to resolve GActionGroups available to GtkWidget
...
These functions, while added for use by the GTK inspector, are generally
useful to applications that need to resolve what action groups are
available to a particular GtkWidget.
https://bugzilla.gnome.org/show_bug.cgi?id=741386
2014-12-11 15:25:41 -08:00
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