Matthias Clasen
eb96a7f832
inspector: Show the source of settings
...
This can be useful at times to see if a setting is coming
from an XSetting, or overridden by the application.
https://bugzilla.gnome.org/show_bug.cgi?id=736971
2014-09-22 19:40:49 -04:00
Sébastien Wilmet
2ebe813c98
inspector: remove g_message()
...
It was probably added for debugging purposes.
https://bugzilla.gnome.org/show_bug.cgi?id=736557
2014-09-22 15:51:41 +02:00
Matthias Clasen
fb126586ed
inspector: Avoid a crash
...
We were forgetting to free the hash table, which then gave
us weak ref notifies at an unexpected time.
https://bugzilla.gnome.org/show_bug.cgi?id=737026
2014-09-20 19:30:45 -04:00
Bastien Nocera
355afc8f56
inspector: Show hidden windows in the inspector
...
This allows us to access otherwise hidden windows, which can be
useful to provide better debug information than would be available
through other means.
https://bugzilla.gnome.org/show_bug.cgi?id=736557
2014-09-14 08:47:05 -04:00
Matthias Clasen
3ad8bae1c4
inspector: Fix initial state of dark switch
...
Noticed while debugging a totem problem.
2014-09-14 08:38:28 -04:00
Timm Bäder
53014d0132
inspector: Don't unref NULL objects
...
When closing the application window before closing the inspector window,
the selected widget will be set to NULL once and all the property pages
will try to g_object_weak_unref that NULL widget, so bail out in
gtk_inspector_prop_list_set_object if it's NULL.
https://bugzilla.gnome.org/show_bug.cgi?id=736201
2014-09-06 21:35:23 -04:00
Matthias Clasen
98c87dc6ed
inspector: Fix fallout from function renaming
2014-09-06 12:47:41 -04:00
Timm Bäder
a4d9eccbc6
inspector: Show widget allocation
...
https://bugzilla.gnome.org/show_bug.cgi?id=736191
2014-09-06 11:39:48 -04:00
Matthias Clasen
c88c16d1f4
inspector: Fix various compiler warnings
...
Mostly missing declarations and missing statics.
2014-09-05 20:52:03 -04:00
Matthias Clasen
e742c0447e
inspector: Add .ui.h files to git
...
Tools like damn-lies rely on being able to generate .pot files
from pristine checkouts, so everything that goes into the .pot
file has to be in git. This is not ideal, but we already do
the same for other .ui.h files in GTK+.
2014-09-02 09:53:51 -04:00
Matthias Clasen
29826d5489
Keep .ui.h files out of BUILT_SOURCES AND MAINTAINERCLEANFILES
...
Otherwise, git.mk will add them to .gitignore, and we want to
add them to source control for the benefit of tools like damn-lies
which rely on being able to generate a .pot file from a pristine
checkout.,
2014-09-02 09:53:51 -04:00
Matthias Clasen
0c417dfc30
inspector: Prevent looping when picking widgets
...
What was happening that the button press event that we use
to select a widget caused another clicked signal emission of
the inspect button, starting another pick action.
2014-09-01 11:39:08 -04:00
Sébastien Wilmet
6525a11b8d
inspector: fix a crash in the CSS editor
...
gtk_css_section_get_end_position() can return a position one byte beyond
the end of the last line.
gtk_text_buffer_get_iter_at_line_index() accepts only valid
line_number/byte_index pairs. Another solution is to make the
GtkTextBuffer function less strict, by returning a boolean if the exact
position was found.
The CSS parser should also be fixed to always return valid positions.
But it's better to have a safety net in the CSS editor, just in case (a
warning could be print).
https://bugzilla.gnome.org/show_bug.cgi?id=735337
2014-08-25 14:25:09 +02:00
Rico Tzschichholz
62254ca306
util/extract-strings: Use autotools syntax for building
...
Always refer to it as "extract-strings$(EXEEXT)" where needed to take
cross-compilation into account.
https://bugzilla.gnome.org/show_bug.cgi?id=731013
2014-08-15 12:09:54 -04:00
Rico Tzschichholz
f4a29fbfc2
Revert "Bug 731013 - cross-compilation broken when building extract-strings"
...
This reverts commit 651d9e90e7
.
The commit broke 'make dist' - the extract-strings sources are no
longer included in the tarball.
2014-08-15 12:09:44 -04:00
Руслан Ижбулатов
a0faf5a51c
Fix various warnings
...
https://bugzilla.gnome.org/show_bug.cgi?id=734737
2014-08-13 23:41:56 +00:00
Jehan
651d9e90e7
Bug 731013 - cross-compilation broken when building extract-strings
...
It is actually a bad idea to use noinst_PROGRAMS for build tools,
because it adds a $(EXEEXT). It is best to override the all target
with all-local to trigger the tool build.
2014-08-13 21:03:51 +00:00
Matthias Clasen
f0632d5ced
inspector: Add a switch to turn off animations
...
This may be useful in some places to check that application-specific
animations respect this setting.
2014-08-05 00:03:37 +02:00
Matthias Clasen
d7850e8be0
inspector: Add GtkTreeSelection to the object tree
...
It is not accessible, otherwise.
2014-08-03 01:28:23 +02:00
Matthias Clasen
bd7e7d1dd6
inspector: Make the action editor more useful
...
We were not finding the action owner for menuitems, we have to
try harder to walk all the way up to the window.
2014-07-30 23:46:13 +02:00
Matthias Clasen
0f47ffb6f5
inspector: Set a filename for saving css
...
This is good practice when using save dialogs.
2014-07-29 13:59:02 +02:00
Matthias Clasen
d97fd540ac
inspector: Show the buildable ID in the misc tab
...
This is useful, since you sometimes want to use it as #id in css.
2014-07-24 08:29:12 -04:00
Matthias Clasen
3e82b77d7d
inspector: Prepare misc tab for showing non-widgets
...
This will happen in the near future.
2014-07-24 08:14:54 -04:00
Matthias Clasen
0d71478237
inspector: Offer Raleigh as a theme
...
As long as it is included, might as well offer it.
2014-07-21 14:13:06 -04:00
Matthias Clasen
2a7577d23a
inspector: Show misc info
...
Add yet another tab for showing information about a widget that
does not quite fit into any of the other tabs (not a property,
not style information, etc...).
For now, we show the widget state, as well as the default and
focus widget for windows.
2014-07-21 11:18:29 -04:00
Matthias Clasen
70e898bc90
inspector: Add a font button to the visual tab
...
The font was already settable via the gtk-font-name property
of the settings object, but this this much more convenient.
2014-07-19 19:15:58 -04:00
Matthias Clasen
ea9026e3a0
Inspector: Show directory sizes in the resource tab
...
This is makes it easy to answer the question: how much do resources
cost. It turns out that all the resources in GTK+ currently weigh
around 1MB.
2014-07-19 01:20:28 -04:00
Chun-wei Fan
64e5d6ee3a
gtk-inspector: size-groups.c: Fix build on pre-C99
...
Declare variables at the top of the block.
2014-07-16 17:58:20 +08:00
Matthias Clasen
d35f664b1a
inspector: Make values in general tab selectable
2014-07-13 16:08:44 -04:00
Matthias Clasen
639180790f
inspector: Make listbox rows non-activatable
2014-07-13 16:03:32 -04:00
Stefano Facchini
cef6f34fb7
inspector: Do not accidentally change tab in the object notebook
...
The "hide-and-show" dance makes the notebook select the next tab.
https://bugzilla.gnome.org/show_bug.cgi?id=733092
2014-07-13 15:19:27 -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
4ef2f24c75
inspector: Reshuffle visual tab
2014-07-12 00:17:43 -04:00
Matthias Clasen
dfb2b6328e
inspector: Reorder tabs
...
Move Resources next to Objects, and Visual next to General.
2014-07-12 00:10:59 -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
28998425d9
inspector: Don't mark environment variables for translations
...
These names don't change with the locale, after all.
2014-07-11 22:29:58 -04:00
Matthias Clasen
deefe3cd6a
inspector: Add comments
...
The binding support pokes some not-quite-official (or entirely
private) implementation details. Add comment to warn about this.
2014-07-11 10:27:00 -04:00
Matthias Clasen
f4b961c6ac
inspector: Show settings bindings
...
Similar to the previous commit, show settings bindings for
properties in the property editor.
2014-07-11 00:48:51 -04:00
Matthias Clasen
d8880bf7ab
inspector: Show property bindings
...
This commit add information about existing bindings to the
property editor.
2014-07-10 23:57:37 -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
Rico Tzschichholz
eec6deba90
build: Fix make dist
2014-07-08 10:13:39 +02:00
Matthias Clasen
b0390a3349
GtkInspector: Add a function to select the widget under the pointer
2014-07-06 22:37:57 -04:00
Matthias Clasen
2a053cc6c3
GtkInspector: Add a style tab
...
This tab shows css properties of a widget, and their origin.
2014-07-06 22:37:57 -04:00
Matthias Clasen
bb6f406f13
inspector: Use a better icon on the css classes tab
2014-06-30 18:51:39 -04:00
Matthias Clasen
af507be99b
inspector: Chain up in constructed
...
Its the right thing to do.
2014-06-27 18:44:36 -04:00
Chun-wei Fan
cf8eaebc07
GtkInspector: Use Adwaita by Default on Windows Too
...
As we are using Adwaita by default on all platforms, do the same for
GtkInspector, to be consistent with the rest of GTK+.
2014-06-16 12:07:04 +08:00