Matthias Clasen
a3713b51ff
inspector: Drop an unused function
2014-05-10 22:04:21 -04:00
Matthias Clasen
e586af3cf4
inspector: Make translatable
...
Mark strings in the source and in the templates as translatable.
We use the same extract-strings utility as for libgtk itself.
2014-05-10 22:04:20 -04:00
Matthias Clasen
643b6f147b
Move modules/other/parasite to modules/inspector
...
No need for the extra subdirectory, and the name should
match the module name.
2014-05-10 22:04:20 -04:00
Matthias Clasen
ccff3e952d
Rename parasite to gtkinspector
...
This avoids namespace collisions with the original
gtkparasite project, and adds the gtk prefix to
all symbols and type names.
2014-05-10 22:04:20 -04:00
Matthias Clasen
19bf88acfa
Add a 'toggle-debugging' keybinding
...
This is bound to Ctrl-Shift-I (for inspector) by default.
It loads the gtkparasite module and opens a parasite window.
2014-05-10 22:04:19 -04:00
Matthias Clasen
7f9a0dbe16
Add private api to load a single module
...
In the following commits, this function will be used to load the
gtkparasite module.
2014-05-10 22:04:19 -04:00
Matthias Clasen
87e3484aa7
parasite: Don't open a window upon load
...
Instead, we want to let GTK+ open a window whose life-cycle
it can control. We just ensure that all our types are registered
when the module is loaded, so GTK+ can find them.
2014-05-10 22:04:18 -04:00
Matthias Clasen
38bbde200e
parasite: Two fixes for the property cell renderer
2014-05-10 22:04:18 -04:00
Matthias Clasen
d7c5b55846
parasite: Some formatting cleanup
2014-05-10 22:04:18 -04:00
Matthias Clasen
36494dc8f4
parasite: Include file cleanup
2014-05-10 22:04:17 -04:00
Matthias Clasen
5b249be1f9
parasite: Use a template for window
2014-05-10 22:04:17 -04:00
Matthias Clasen
33ccb00221
parasite: some formatting tweaks
2014-05-10 22:04:17 -04:00
Matthias Clasen
33d2044406
parasite: Use a template for themes
2014-05-10 22:04:16 -04:00
Matthias Clasen
ee7cc6d189
parasite: Use a template for prop list
2014-05-10 22:04:16 -04:00
Matthias Clasen
ead05d0954
parasite: Use template for widget tree
2014-05-10 22:04:15 -04:00
Matthias Clasen
6f1a786413
parasite: Use template for classes list
2014-05-10 22:04:15 -04:00
Matthias Clasen
0eb330613b
parasite: Use template for css editor
2014-05-10 22:04:15 -04:00
Matthias Clasen
3c22fc4ef6
parasite: Use template for object hierarchy
2014-05-10 22:04:14 -04:00
Matthias Clasen
3f5d21abec
parasite: Use template for button path
2014-05-10 22:04:14 -04:00
Matthias Clasen
e43aeb9a1f
parasite: Allow panes to shrink
...
The notebook is too wide.
2014-05-10 22:04:14 -04:00
Matthias Clasen
5fcd6ba21b
parasite: Use the right icon name for inspect
2014-05-10 22:04:14 -04:00
Matthias Clasen
828acee981
parasite: Don't show hicolor as an icon theme
...
It really isn't.
2014-05-10 22:04:13 -04:00
Matthias Clasen
9bc7cfa6ba
parasite: Don't show key themes
...
But show the builtin theme, even if it doesn't show up in the
filesystem.
2014-05-10 22:04:13 -04:00
Matthias Clasen
9fbb704418
parasite: Turn the inspect button back into an image button
2014-05-10 22:04:12 -04:00
Matthias Clasen
8f96238194
parasite: Make flashing work better
...
The positioning of the highlight window was not reliable; instead
just use a after-handler for the draw signal, in the same way that
drag highlights are drawn by GTK+ itself.
And copy the code for grabbing a widget via pointer from testgtk;
that code is known to work.
2014-05-10 22:04:12 -04:00
Matthias Clasen
01cb166819
parasite: Drop an unused field
2014-05-10 22:04:11 -04:00
Matthias Clasen
f78d91e5fc
parasite: Make child properties insensitive when empty
...
When the selected object is not a widget, make the child property
list insensitive.
2014-05-10 22:04:11 -04:00
Matthias Clasen
413faa55a0
parasite: Display child properties too
2014-05-10 22:04:10 -04:00
Matthias Clasen
2166a9b163
parasite: Use a window group
...
By putting the parasite window in a separate group, we can interact
with it even when there is a modal dialog blocking the application
window
2014-05-10 22:04:10 -04:00
Matthias Clasen
81af602dda
Initial import
...
This is a copy of https://github.com/chipx86/gtkparasite.git
with minimal edits to make it build.
2014-05-10 22:04:09 -04:00
Benjamin Otte
2dc100fa76
css: Add forgotten files
...
Forgot to add those files in 3a72e2fb24
2014-05-11 04:00:55 +02:00
Benjamin Otte
0e462f0d2d
css: Implement "all" shorthand
...
Here's the spec:
http://dev.w3.org/csswg/css-cascade/#all-shorthand
Also use it in the reset-to-defaults CSS where a bunch of properties had
been missing.
2014-05-11 03:23:55 +02:00
Benjamin Otte
3a72e2fb24
css: Implement "unset"
...
Quoting the spec:
If the cascaded value of a property is the unset keyword,
then if it is an inherited property, this is treated as
inherit, and if it is not, this is treated as initial.
Spec in question:
http://dev.w3.org/csswg/css-cascade/
Also use unset in the reset-to-defaults.css we use to reset css in
reftests.
2014-05-11 03:23:55 +02:00
Benjamin Otte
f2258cb05c
reftests: Create the surface after running the main loop
...
Running the main loop may cause resizes, so creating the surface based
on the size before running it seems wrong.
2014-05-11 03:23:55 +02:00
Benjamin Otte
fa8ca5fd13
iconhelper: Simplify code
...
In the GTK_IMAGE_ICON_NAME case, instead of keeping around the icon_name,
create a GThemedIcon and use that. This way, we can reuse the code paths
for the GTK_IMAGE_GICON case.
2014-05-11 03:23:54 +02:00
Emmanuele Bassi
61ed31a473
win32embed: Set the visible flag and avoid recursion
...
We have to use the internal accessor to the visible flag, instead of
calling gtk_widget_set_visible(), from within the show() and hide()
implementations - otherwise we'll recurse.
https://bugzilla.gnome.org/show_bug.cgi?id=721069
2014-05-10 19:42:35 +01:00
Daniel Mustieles
c0200b9a68
Updated Spanish translation
2014-05-10 19:53:22 +02:00
Daniel Mustieles
207f2984d2
Updated Spanish translation
2014-05-10 19:53:04 +02:00
Matthias Clasen
f5e64936da
GtkWindow: small cleanup
...
The window type is a construct-only property, so we should
pass it to g_object_new, not set it after the fact in the
constructor.
2014-05-09 17:13:53 -04:00
Cosimo Cecchi
b0ace67712
widget: deprecate focus-line-width style property
...
Nothing in GTK uses it anymore.
2014-05-09 11:02:46 -07:00
Cosimo Cecchi
57f4d3d78a
flowbox: don't use focus-line-width
2014-05-09 11:02:46 -07:00
Cosimo Cecchi
9eb1e1b15e
listbox: don't use focus-line-width
2014-05-09 11:02:46 -07:00
Cosimo Cecchi
13649a3fbc
colorscale: don't use focus-line-width
2014-05-09 11:02:46 -07:00
Cosimo Cecchi
caa73b2128
modelbutton: don't use focus-line-width
2014-05-09 11:02:46 -07:00
Cosimo Cecchi
e2f2571dee
range: don't use focus-line-width
2014-05-09 11:02:46 -07:00
Cosimo Cecchi
69f2fecb1c
expander: don't use focus-line-width
2014-05-09 11:02:46 -07:00
Cosimo Cecchi
853dcc615d
notebook: don't use focus-line-width
2014-05-09 11:02:45 -07:00
Cosimo Cecchi
1627c903d8
spinbutton: remove unused code
2014-05-09 11:02:45 -07:00
Cosimo Cecchi
9f7bab0aca
entry: remove unused code
2014-05-09 11:02:45 -07:00
Cosimo Cecchi
92d23be47d
switch: don't use focus-line-width
2014-05-09 11:02:45 -07:00