Timm Bäder
81c12493ae
Fix a few memory leaks
2016-10-21 06:45:22 +02:00
Emmanuele Bassi
5563ba96bc
Avoid variable shadowing in GtkShortcutsSection
2016-10-17 11:44:11 +01:00
Benjamin Otte
cda617df4d
API: sizegroup: Remove gtk_size_group_set_ignore_hidden()
2016-10-16 18:18:58 +02:00
Benjamin Otte
4df6ddad54
API: container: Remove gtk_container_set_border_width()
2016-10-16 18:18:58 +02:00
Timm Bäder
f45dadadd0
box: Remove 'padding' child property
2016-10-16 18:17:21 +02:00
Timm Bäder
91f989006c
Don't use GtkBox's center child in a few places
...
We can as well use a normal child and let it hexpand.
2016-10-16 18:17:21 +02:00
Matthias Clasen
430916973a
GtkShortcutsSection: avoid deprecation warnings
...
We could just as well remove these calls here, since they
have no effect.
2016-05-31 16:34:22 -04:00
Benjamin Otte
0a9e9db9f4
shortcuts: Don't forall() widgets that aren't children
2016-01-22 20:39:14 +01:00
Matthias Clasen
9b408d911a
shortcuts: Fix the circular stack switcher
...
The buttons need to set min-width now, to make this work.
2015-12-15 19:41:05 -05:00
Matthias Clasen
1b174a6f16
shortcuts: Fix view filtering
...
When adding invisible groups to the pages/columns, we were
mistakenly creating new columns because the row count
stayed at zero.
https://bugzilla.gnome.org/show_bug.cgi?id=759517
2015-12-15 18:40:51 -05:00
Matthias Clasen
3b0ceea08b
shortcuts section: Fix destroy
...
The container destroy implementation does not quite work here,
so do our own.
2015-11-23 19:48:50 -05:00
Matthias Clasen
a661ce4d06
shortcuts: Complete the container implementations
...
Various problems with the container implementations in
GtkShortcutsWindow, Section and Group were showing up
in glade.
2015-11-22 22:41:48 -05:00
Matthias Clasen
9b041ae930
shortcuts: Support direction-specific shortcuts
...
The prime example for direction-dependent shortcuts is using
<Alt>Left or <Alt>Right to go back. Support this by adding a
direction property to GtkShortcutsShortcut, and filtering by
the current text direction.
https://bugzilla.gnome.org/show_bug.cgi?id=757888
2015-11-14 22:34:19 -05:00
Matthias Clasen
20e46ce8ae
shortcuts: Redo the stack switcher theming
...
Use style classes on the button instead of the stack switcher,
this makes it easier to reuse elsewhere.
2015-10-28 10:19:00 -04:00
Matthias Clasen
0dffc8c9d3
shortcuts: Use predefined style classes
...
Lets use the defines we have.
2015-10-28 07:10:55 -04:00
Matthias Clasen
bb5b711d4b
shortcuts: Some property hygiene
...
Bring property notification for some of the new shortcuts widgets
up to the standards of our testsuite.
2015-10-27 09:25:17 -04:00
Matthias Clasen
1dfbae1aa4
Add GtkShortcutsWindow
...
This is a toplevel window that is tailored towards showing
help for shortcuts in an application. The implementation closely
follows this design: https://wiki.gnome.org/Design/OS/HelpOverlay
This implementation is inspired by earlier work in gnome-builder,
thanks to Christian Hergert.
https://bugzilla.gnome.org/show_bug.cgi?id=756428
2015-10-21 15:19:34 -04:00