Benjamin Otte
633ec8184d
css: Add support for -gtk-icontheme("icon-name")
...
This allows using icons from the icontheme as images in CSS. The
reasoning is that this allows to give the image control about how it's
scaled (by using the icon theme's scaling method. So we can get crisp
images at different resolutions.
2014-05-14 04:28:33 +02:00
Matthias Clasen
f6af96723c
GtkButton: Deprecated setters and getters as well
...
gtk_button_set/get_alignment should be deprecated together
with the properties they are setters/getters for.
2014-05-13 22:19:30 -04:00
Jasper St. Pierre
38445e6326
wayland: Ack the configure immediately
2014-05-13 16:21:57 -04:00
Matthias Clasen
758734a8c5
gtk3-demo: Don't leak in the sizegroup example
...
Nobody was cleaning up the size group.
Pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=645966
2014-05-13 15:50:23 -04:00
Matthias Clasen
0ee35aa27b
inspector: Show text view subobjects in the tree
2014-05-13 15:20:37 -04:00
Matthias Clasen
069a2603ef
inspector: Add a setting to disable the keybinding
...
This will be needed for lockdown, e.g. on the login screen.
https://bugzilla.gnome.org/show_bug.cgi?id=730007
2014-05-13 15:20:36 -04:00
Matthias Clasen
b8531087bd
inspector: All to turn it on programmatically
...
Export gtk_window_set_interactive_debugging.
https://bugzilla.gnome.org/show_bug.cgi?id=730008
2014-05-13 15:20:36 -04:00
Matthias Clasen
514efb51b0
Add some documentation to the filechooser schema
2014-05-13 15:20:36 -04:00
Matthias Clasen
128748c5cd
Add some documentation to the colorchooser schema
2014-05-13 15:20:36 -04:00
Piotr Drąg
88c9692b2f
Updated POTFILES.in
2014-05-13 19:33:15 +02:00
Matthias Clasen
123715d878
Minor documentation fix
...
Two stray references, pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=730035
2014-05-13 11:56:29 -04:00
Matthias Clasen
b8309cdf2f
Fix a leftover deprecation warning
2014-05-13 11:56:29 -04:00
Matthias Clasen
ce0325207e
Add a test for the previous fix
2014-05-13 11:56:29 -04:00
Olivier Brunel
0d2d1904b1
treestore: Fix segfault when reordering non-existing children
...
Calling gtk_tree_store_reorder() on a node without children would cause a
segfault; Fixes https://bugzilla.gnome.org/show_bug.cgi?id=698396
Signed-off-by: Olivier Brunel <jjk@jjacky.com>
2014-05-13 11:56:28 -04:00
Matthias Clasen
75c22332d0
Minor doc fixup
2014-05-13 11:56:23 -04:00
Matthias Clasen
0d8c1c9c09
Improve the GTK_STYLE_PROVIDER_PRIORITY_FALLBACK docs
...
Explain possible gotcha with catch-all rules.
2014-05-13 11:20:06 -04:00
Matthias Clasen
63288829b0
Add an alternative keybinding for the inspector
...
Control-Shift-I is already used for similar things in many
applications, so provide Control-Shift-D as an alternative.
https://bugzilla.gnome.org/show_bug.cgi?id=730043
2014-05-13 11:04:43 -04:00
Matthias Clasen
f9a0a96eb4
Avoid deprecation warnings
...
This is testing deprecated API, after all...
2014-05-13 08:45:35 -04:00
Matthias Clasen
ec0a60a248
Deprecate GtkMisc
...
This has been dangling ever since 3.0.
2014-05-13 08:45:00 -04:00
Matthias Clasen
7840bad5d7
Drop most uses of GtkMisc in tests
...
Replace them by GtkWidget h/valign. The only remaining uses
are those where a size group is involved; they can't be replaced
until GtkLabel stops looking at GtkMisc alignment for size
allocation.
2014-05-13 07:43:21 -04:00
Matthias Clasen
49188aeeda
GtkLabel: Drop references to GtkMisc
...
GtkMisc is heading for retirement. Point to the GtkWidget h/valign
properties instead.
2014-05-13 07:14:38 -04:00
Matthias Clasen
8a8ce85ea0
GtkMenuItem: Stop using gtk_misc_set_alignment
...
GtkMisc is heading for deprecation. Just use GtkWidget h/valign.
https://bugzilla.gnome.org/show_bug.cgi?id=650762
2014-05-13 07:06:06 -04:00
Rico Tzschichholz
22eaffba59
Inspector: Fix make dist
2014-05-13 12:27:02 +02:00
Matthias Clasen
42f8b4b48b
GtkButton: Deprecate xalign and yalign properties
...
These are directly passed through to GtkMisc/GtkAlignment, which
are both on the way to deprecation.
2014-05-13 06:26:19 -04:00
Matthias Clasen
d292245659
gtk3-demo: Fix up toolpalette demo
...
The demo appears pretty broken, because some icons are not fitting
well in the grid. Just skip the problematic icons.
2014-05-13 06:26:11 -04:00
Jasper St. Pierre
9b4668c82c
wayland: Update to latest xdg-shell protocol
2014-05-13 02:39:59 -04:00
Jasper St. Pierre
c1efc4ad7b
gdk: Add new _gdk_set_window_state
...
Wayland's mechanism tells us all of our new states, rather than
telling us which ones were added and removed. Add a new private
interface so that we can simply specify the new states as a
bitfield directly rather than having to compute which ones were
added and removed.
2014-05-13 02:39:59 -04:00
Matthias Clasen
807f0aa747
Minor documentation edit
2014-05-12 22:58:47 -04:00
Matthias Clasen
d67751d0cc
gtk3-demo: Drop unneeded gtk_init() call
...
GtkApplication is doing this for us.
2014-05-12 22:38:37 -04:00
Matthias Clasen
1d099fbfae
gtk-demo: Don't use margin-left/right
...
Instead, use margin-start/end, which are the non-deprecated
replacements.
2014-05-12 22:32:51 -04:00
Owen W. Taylor
8f9e50de80
GtkPopover: inherit actions from the relative_to widget
...
Make the relative_to widget the parent for a GtkPopover's
GtkActionGroup. This, for example, makes the menu model of a
GtkMenuButton find action groups attached to the button.
https://bugzilla.gnome.org/show_bug.cgi?id=729915
2014-05-12 16:39:44 -04:00
Sébastien Wilmet
1e3af04dd9
gtk_text_buffer_create_tag(): returns NULL on failure
...
Returns NULL in case of a duplicated tag name in the tag table. It is
still a programmer error to duplicate a name, but if it happens the
behavior is a little nicer (and hopefully doesn't crash).
https://bugzilla.gnome.org/show_bug.cgi?id=614717
2014-05-12 19:10:30 +02:00
Sébastien Wilmet
68ad33cb89
Add boolean return value for gtk_text_tag_table_add()
...
The user doesn't need to check the return value, because if FALSE is
returned it is a programmer error. But it permits a nicer behavior for
gtk_text_buffer_create_tag() in case of failure.
https://bugzilla.gnome.org/show_bug.cgi?id=614717
2014-05-12 19:10:30 +02:00
Piotr Drąg
a06fc473ec
Updated POTFILES.in and POTFILES.skip
...
We still need .ui.h files for the inspector.
2014-05-12 16:35:46 +02:00
Matthias Clasen
ea33d7a1e1
Move GtkIconFactory to deprecated section in the docs
...
Just catching up with reality.
2014-05-11 22:03:27 -04:00
Matthias Clasen
7b17060654
GtkIconFactory: Remove outdated information from the docs
...
The stock browser was removed from gtk3-demo.
2014-05-11 22:02:45 -04:00
Matthias Clasen
49733154a6
Deprecate GtkNumerableIcon
...
It was a failed experiment, it is basically unused, and it complicates
code in GtkIconTheme that we want to rework.
2014-05-11 22:02:32 -04:00
Matthias Clasen
5cd5db1f57
Remove a redundant check
...
gtk_widget_show/_hide already check the widget's visibility.
https://bugzilla.gnome.org/show_bug.cgi?id=728135
2014-05-11 11:56:22 -04:00
Evan Nemerson
38d2458f53
gdk: add many missing (nullable) return value annotations
...
https://bugzilla.gnome.org/show_bug.cgi?id=729834
2014-05-11 11:48:32 -04:00
Nikita Churaev
9187b6bae7
Populate page 2 of the Widget Factory
...
https://bugzilla.gnome.org/show_bug.cgi?id=729598
2014-05-11 10:48:37 -04:00
Nikita Churaev
73b04b5434
Don't stretch switches in Widget Factory
...
https://bugzilla.gnome.org/show_bug.cgi?id=729594
2014-05-11 10:48:22 -04:00
Matthias Clasen
53a67d20a2
extract-strings: Support more GtkBuilder markup
...
The inspector templates are using the <item> tag with an
id attribute, which was causing extract-strings to fail.
Fix this.
2014-05-10 22:04:38 -04:00
Matthias Clasen
f3227688b4
inspector: Fix button path placement
2014-05-10 22:04:37 -04:00
Matthias Clasen
8475540103
inspector: Add a visual tab
...
Move the show updates and flip text direction controls here,
and add controls for baseline and pixel cache debugging.
2014-05-10 22:04:37 -04:00
Matthias Clasen
a145dd7097
Add data-list.ui to list of templates
2014-05-10 22:04:36 -04:00
Matthias Clasen
7a56404e7b
Make the inspector available via GTK_DEBUG
...
Change things around so GTK_DEBUG=interactive also brings
up the inspector window.
2014-05-10 22:04:36 -04:00
Matthias Clasen
975677872f
inspector: Add minimal signal tracing
...
Add rudimentary signal tracing. The signals tab can now count signal
emissions for all signals of the current object.
2014-05-10 22:04:35 -04:00
Matthias Clasen
a0cae6957e
inspector: clean up better when objects go away
...
Instead of manually doing it everywhere, just call set_object (NULL)
from the selection_changed handler. Fix all the set_object() functions
to deal with NULL.
2014-05-10 22:04:35 -04:00
Matthias Clasen
cb85a1fa3a
inspector: Improve the Inspect tooltip
2014-05-10 22:04:34 -04:00
Matthias Clasen
be532bc196
inspector: Add a button for rtl flipping
...
Nice to have a quick way of testing this everywhere.
The implementation is not quite perfect: due to the way text
direction works in GTK+, widgets that appear in the inspector
window while we are flipped will inherit the flipped direction
instead of the fixed direction of the inspector window.
2014-05-10 22:04:34 -04:00