Carlos Garnacho
2e903243c6
eventcontroller: Make the event-mask property and methods private.
...
This will rarely have any use if no subclassing is allowed, so just make it
private for our own.
2014-05-27 17:47:12 +02:00
Carlos Garnacho
ef61c9c58b
gtk: Replace GtkPanOrientation with GtkOrientation
...
And document GtkOrientation to be more generic. There's little added
value in a separate enum for this.
2014-05-27 17:47:12 +02:00
Matthias Clasen
68c1e83cf0
More label and image sizing fixes
...
Go back to respecting GtkMisc::xpad/ypad. Not doing so breaks
the misc-alignment reftest. As long as we still derive from
GtkMisc, we may as well do this.
2014-05-27 06:00:21 -04:00
Matthias Clasen
3b30cfa344
Fix up GtkLabel and GtkImage sizing
...
When GtkMisc was removed, I forgot to apply the style context
padding. This caused the info-bar-message-types reftest to fail.
2014-05-27 00:22:40 -04:00
Matthias Clasen
2488b954f2
Don't use hicolor as the default icon-theme
...
The icontheme lookup code has a special-case that prefers builtin icons
if the theme name is "hicolor". This is problematic for our reftests,
which run in a barebones environment with not settings.
2014-05-26 23:17:32 -04:00
Matthias Clasen
38daabd838
docs: enum cleanup
...
Move GtkIMPreeditStyle nad GtkIMStatusStyle to the settings where
they are solely used.
2014-05-26 10:37:34 -04:00
Matthias Clasen
0bd0f39576
docs: enum cleanup
...
Move GtkStateType to the GtkWidget apis where it is used, and
mark the enum as deprecated.
2014-05-26 10:37:06 -04:00
Matthias Clasen
4ae95157ae
docs: remove markup
...
The overview chapters don't go through shorthand processing, so
don't use them there.
2014-05-26 10:17:07 -04:00
Kalev Lember
750f6b9913
GtkApplication: Fix two muxer-related memory leaks
...
Drop the ref on the action muxer in finalize, and also make sure
shutdown() tears down the muxer setup done in startup().
When GtkApplication adds itself to a muxer, it causes the muxer to take
a ref on the GtkApplication. This has to be undone in shutdown() to make
sure the GtkApplication doesn't end up holding a ref on itself.
https://bugzilla.gnome.org/show_bug.cgi?id=730383
2014-05-25 10:49:27 +02:00
Matthias Clasen
8230299748
inspector: Allow changing attribute mappings
2014-05-24 23:31:54 -04:00
Matthias Clasen
83f9649c9c
docs: Move GdkColor off into a deprecated section
2014-05-24 23:31:54 -04:00
Kalev Lember
edb4c65c5b
Bump ATK dependency to 2.12
...
... for the new AtkValue interface that we implement.
2014-05-25 00:17:55 +02:00
Matthias Clasen
df0f14fe2a
Some more updates
2014-05-24 18:41:16 -04:00
Matthias Clasen
8a6aca31a8
Typo fixes
2014-05-24 18:20:31 -04:00
Matthias Clasen
44d76fbcdc
Organize the icons
...
Sort the icon list in check-icon-theme.c, and add
comments so we have a chance of keeping the order.
2014-05-24 18:20:31 -04:00
Matthias Clasen
e916391e6c
Drop an unused object
...
A downside of using templates is that we can have 'parasitic'
objects in there that don't get used for anything.
2014-05-24 18:20:31 -04:00
Matthias Clasen
72c79deb3b
GtkIconTheme: Add more debug spew
...
Still trying to track down test problems in gnome-continuous.
2014-05-24 18:20:31 -04:00
Jasper St. Pierre
0d402601b2
wayland: Add support for show_window_menu
2014-05-24 15:55:55 -04:00
Benjamin Otte
0430ae0ca5
image: Draw the image again
...
An important line of code was removed in
54d5b426fc
that lead to an undefined
variable. Add that line back.
2014-05-24 19:38:56 +02:00
Benjamin Otte
1cbace5f68
combobox: Implement clip
2014-05-24 16:21:02 +02:00
Benjamin Otte
750178e1ed
entry: Implement clip
2014-05-24 16:20:48 +02:00
Benjamin Otte
4bbca44512
gestureswipe: Fix return value
2014-05-24 16:16:41 +02:00
Benjamin Otte
b03d54b75f
image: Remove unused variable
2014-05-24 16:16:32 +02:00
Benjamin Otte
a9bcea5118
button: Implement clip
2014-05-24 16:12:21 +02:00
Benjamin Otte
f5b1e75d93
widget: Include box-shadow in the clip
...
This allows all widgets that implement clip to use box shadows.
2014-05-24 16:12:21 +02:00
Benjamin Otte
0cd63faee2
widget: Add _gtk_widget_set_css_clip()
...
... and use it in GtkBox and GtkGrid.
2014-05-24 16:12:21 +02:00
Benjamin Otte
434f91feff
spinner: Implement clip
...
We now allow you to gtk-icon-transform() the spinner outside of the
spinners allocation.
2014-05-24 16:12:20 +02:00
Benjamin Otte
4f89eb05cf
API: widget: Add gtk_widget_set_clip() API
...
And handle the fact that drawing bounds are now handled by this API and
the corresponding gtk_widget_get_clip().
Also add _gtk_widget_supports_clip() function to check if a widget has
been ported to the new world.
2014-05-24 16:12:20 +02:00
Matthias Clasen
1d897a9bf2
docs: Flesh out the inspector section a bit
2014-05-24 10:07:46 -04:00
Matthias Clasen
a13d12a445
inspector: Make picking widgets work again
...
This broke when I accidentally removed the line that adds
each object to the hash table. Bring it back.
2014-05-24 09:55:41 -04:00
Rico Tzschichholz
3f140d5391
docs: Fix make dist
2014-05-24 12:16:56 +02:00
Rico Tzschichholz
0b586e52c2
build: Fix typo
2014-05-24 09:52:41 +02:00
Rico Tzschichholz
86d4c26420
gtk: Fix make dist
2014-05-24 09:24:46 +02:00
Rico Tzschichholz
eab39253ec
build/win32: Drop a11y library references
...
In addition to 4a4b23bfad
2014-05-24 09:23:52 +02:00
Rico Tzschichholz
7eaea2a849
Updated POTFILES.in
2014-05-24 09:22:53 +02:00
Matthias Clasen
9037f7b64e
docs: more input handling docs
2014-05-24 01:56:44 -04:00
Matthias Clasen
f52dd9fc04
Fix a start/end mixup
...
The headerbar example in gtk3-demo was showing two start buttons
after the arrow removal.
2014-05-24 00:48:12 -04:00
Matthias Clasen
aabc356b80
GtkMisc: Keep gtk_misc_set_alignment working
...
Now that labels and images no longer use x/yalign in their code,
we need to make gtk_misc_set_alignment set the h/valign for these
widgets, to keep it stumbling along until its final demise.
https://bugzilla.gnome.org/show_bug.cgi?id=730613
2014-05-24 00:48:12 -04:00
Matthias Clasen
1008e15414
GtkToolButton: Drop use of GtkMisc
...
Use h/valign instead of x/yalign.
https://bugzilla.gnome.org/show_bug.cgi?id=730613
2014-05-24 00:48:02 -04:00
Matthias Clasen
687eae4b51
GtkAssistant: Drop use of GtkMisc
...
Use halign instead of xalign.
https://bugzilla.gnome.org/show_bug.cgi?id=730613
2014-05-24 00:04:41 -04:00
Matthias Clasen
4d002d5e6a
GtkAccelLabel: Drop use of GtkMisc
...
Just use 0 instead of xpad.
https://bugzilla.gnome.org/show_bug.cgi?id=730613
2014-05-24 00:04:41 -04:00
Matthias Clasen
54d5b426fc
GtkImage: Drop use of GtkMisc::x/yalign
...
Instead, use GtkWidget::h/valign to position the image inside
the allocation. And just stop using GtkMisc::x/ypad.
https://bugzilla.gnome.org/show_bug.cgi?id=730613
2014-05-24 00:04:41 -04:00
Matthias Clasen
b320c198b6
GtkLabel: Drop use of GtkMisc::x/yalign
...
Instead, use GtkWidget::h/valign to position the text inside
the allocation. And just stop using GtkMisc::x/ypad.
https://bugzilla.gnome.org/show_bug.cgi?id=730613
2014-05-24 00:04:41 -04:00
Matthias Clasen
0011c9dae4
Fix filechooser actionbar visibility
...
The actionbar was always visible, even when there is no filter
and no extra widget to show. Now we only show it when there is
something to show.
2014-05-24 00:00:00 -04:00
Matthias Clasen
51a09af076
inspector: Treat resources the same as in gtk/
2014-05-23 23:00:43 -04:00
Matthias Clasen
ef38d6e397
Add two more icon names to check
...
These were found in the trash monitor.
2014-05-23 22:59:22 -04:00
Matthias Clasen
00d02491d8
Drop no-longer-used gtkrc files
...
These were replaced by css files long ago.
2014-05-23 22:00:51 -04:00
Matthias Clasen
45e1128472
Drop a pointless function
...
No need to have a finalize function if it just chains
up to the parent class.
2014-05-23 21:56:44 -04:00
Matthias Clasen
716ecff28d
Trivial: slight code rearrangement
2014-05-23 21:41:58 -04:00
Matthias Clasen
38cbd87cac
tests: Stop using GtkAlignment
...
Fix up all other tests to not use GtkAlignment anymore.
2014-05-23 21:32:51 -04:00