Carlos Garnacho
edc5cb4e47
treeview: Add back the Gdk pointer grab during column dragging
...
The reparenting happening on the column header so it gets a movable
window breaks the implicit grab, so this is one situation were we
want a pointer grab, if just to replace it.
https://bugzilla.gnome.org/show_bug.cgi?id=732933
2014-07-09 21:28:46 -04:00
Carlos Garnacho
5fb9c4441e
treeview: Fix horizontal position during column dragging
...
Code was expecting view coordinates, not widget ones, as we're
only dealing with horizontal displacements, just adding the
horizontal adjustment value suffices.
https://bugzilla.gnome.org/show_bug.cgi?id=732933
2014-07-09 21:28:45 -04:00
Matthias Clasen
f547466029
Make Adwaita the default theme across platforms
...
This ensures that we have a polished out-of-the-box appearance
on all platforms.
2014-07-09 21:19:09 -04:00
Matthias Clasen
6abcda8391
Use a define for the default icon theme name
...
We're using this name in two places, so match what we are doing
for the default theme name, and use a macro.
2014-07-09 21:18:18 -04:00
Matthias Clasen
eee7057421
GtkIconTheme: Rename a macro
...
We use DEFAULT_THEME_NAME in gtksettings.c as well, and this
can be a confusing when grepping, so rename this to
FALLBACK_ICON_THEME.
2014-07-09 21:12:08 -04:00
Matthias Clasen
18ba0dee87
GtkColorButton: Some formatting cleanups
2014-07-09 21:08:18 -04:00
Matthias Clasen
afe8bd6db9
GtkColorButton: Use a color swatch
...
This saves some code and lets us reuse the color swatch styling.
Among other things, this fixes a lack of discernible border when
the selected color is very similar to the background.
https://bugzilla.gnome.org/show_bug.cgi?id=680885
2014-07-09 20:50:47 -04:00
Matthias Clasen
b68a28fbb0
GtkColorSwatch: Respect an explicitly set size
...
This will let us use a suitably sized color swatch in the color
button.
2014-07-09 20:44:06 -04:00
Matthias Clasen
86cceab75d
builder test: Adjust expections
...
Dialogs no longer set a headerbar as titlebar unless use-header-bar
is set to 1. Update the test to do that.
2014-07-09 19:54:43 -04:00
Matthias Clasen
da699bcaba
app chooser: Move buttons to template
...
Use the new builder dialog action support.
2014-07-09 19:48:27 -04:00
Matthias Clasen
9aad874fad
font chooser: Move buttons to template
...
Use the new builder dialog action support.
2014-07-09 19:48:22 -04:00
Matthias Clasen
5436438520
a11y: Update expected output for color chooser
2014-07-09 19:48:08 -04:00
Matthias Clasen
ee06083c6b
color chooser: Move buttons to template
...
We can now use the new builder action support.
2014-07-09 19:48:01 -04:00
Matthias Clasen
8afd4b71e9
GtkDialog: Fix setting of default action
...
The recent reshuffling caused an ordering problem where we would
hide the action area before relocating the buttons to the header
bar. But hiding makes the default button loose its defaultness.
Rearrange things so that we move the buttons before hiding the
action area, and thus preserve the default.
2014-07-09 19:48:01 -04:00
Lapo Calamandrei
ef3b5ca735
Adwaita: vertically linked buttons
2014-07-09 19:38:12 +02:00
Matthias Clasen
2f12fd5599
gtk-demo: Fix expand button box demo
...
Set the spacing to 0, so the buttons are actually linked.
2014-07-09 13:19:36 -04:00
Stefano Facchini
cd71a23ee2
icontheme: Use correct URI for icons in resource paths
...
Fix based on a patch by Stefano Faccini,
https://bugzilla.gnome.org/show_bug.cgi?id=732894
2014-07-09 11:01:40 -04:00
Matthias Clasen
b31a310d7d
widget-factory: Use the new application resource support
2014-07-09 10:13:38 -04:00
Matthias Clasen
0abb2f57fd
Update more places for the changed icon name
2014-07-09 08:03:57 -04:00
Jakub Steiner
a673553aba
widget-factory: the menu icon name changed
2014-07-09 13:35:57 +02:00
Adam Dingle
86e4283ae2
Require GLib 2.41.2 (for g_application_get_resource_base_path)
2014-07-09 06:37:59 -04:00
Allan Day
add36eb488
message dialogs - remove extraneous padding
...
Removes unnecessary padding above message dialog headings. This
makes the dialogs look much more balanced.
https://bugzilla.gnome.org/show_bug.cgi?id=732857
https://bugzilla.gnome.org/show_bug.cgi?id=732882
2014-07-08 23:14:14 -04:00
Carlos Garnacho
d5b96b95a0
range: Avoid animations during slider drag
...
If the drag gesture gets a GtkGesture::updated signal, the user
is directly interacting through pointer/touch with the range slider,
animating the adjustment value change in this situation can produce
perceived lag, so set the value immediately when this is happening.
2014-07-08 21:14:41 -04:00
Carlos Garnacho
ea19e595a1
textview: Fix cursor positioning oddities when scrolling through Pg Up/Down
...
Use the adjustment target value when repositioning the cursor, and remove the
checks that ensured the cursor was made onscreen immediately, as there will
be definitely a delay on animated adjustment changes.
2014-07-08 21:14:41 -04:00
Carlos Garnacho
6aa8511495
textview: Use adjustment animations in gtk_text_view_scroll_to_iter()
...
This makes keyboard-triggered scrolling animated, as this function is
used underneath in order to make the cursor onscreen after it is
displaced.
2014-07-08 21:14:41 -04:00
Carlos Garnacho
f7e983a4c9
textview: Use the adjustment target value to figure out if keynav failed
...
When moving the cursor, compare current adjustment value with the post-animation
target value, in order to avoid false "keynav failed" positives as the animation
hasn't started yet, so dx/dy are still 0 at that time.
2014-07-08 21:14:41 -04:00
Carlos Garnacho
ee0982ffe3
adjustment: Add private gtk_adjustment_get_target_value() method
...
This call returns either the target value if there is an ongoing animation,
or the current value if there is no animation.
2014-07-08 21:14:40 -04:00
Lapo Calamandrei
75b71869ae
Adwaita: minor fixes
2014-07-08 21:33:48 +02:00
Lapo Calamandrei
51316a9689
Adwaita: update comments in drawings
2014-07-08 18:28:02 +02:00
Lapo Calamandrei
2619e40715
Adwaita: buttons on gtkvolume popup
2014-07-08 18:24:28 +02:00
Lapo Calamandrei
05ec121f3e
Adwaita: spinbutton button inhert in backdrop
2014-07-08 16:54:21 +02:00
Matthias Clasen
88a86fa044
GtkScaleButton: Add a style class to the scale button popover
...
Set the .scale-popup style class on the popover of scale buttons.
This lets us select the +/- buttons and style them appropriately.
2014-07-08 10:47:01 -04:00
Lapo Calamandrei
71f328e8c2
Adwaita: remove the image effect for buttons icons in backdrop
2014-07-08 16:42:10 +02:00
Lapo Calamandrei
e399e68392
Adwaita: inhert scrollbars in backdrop
2014-07-08 16:36:02 +02:00
Matthias Clasen
0a34633914
GtkScaleButton: Set +/- sensitivity
...
The buttons should go insensitive when we are at their end of
the scale.
2014-07-08 10:27:30 -04:00
Matthias Clasen
73bc9b59dd
Add view-context-menu-symbolic to checked icon names
2014-07-08 09:30:16 -04:00
Matthias Clasen
89ada16998
GtkMenuButton: Use view-context-menu-symbolic when direction is NONE
...
This makes it easier to construct gear menus: just set the direction
to 'none', no need to manually construct an image.
2014-07-08 09:30:16 -04:00
Lapo Calamandrei
abb72efe8b
Adwaita: column header dnd style.
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=731663
2014-07-08 14:36:30 +02:00
Matthias Clasen
46bc284165
Use view-content-menu-symbolic in example apps
2014-07-08 08:30:56 -04:00
Matthias Clasen
092c26871e
widget-factory: Use view-context-menu-symbolic
2014-07-08 06:53:30 -04:00
Lapo Calamandrei
f15b61421a
Adwaita: selection mode and selection menu tweaks
2014-07-08 12:52:55 +02:00
Matthias Clasen
04f9445302
widget-factory: Content for the action dialog
...
Dialogs look better with some actual content.
2014-07-08 06:33:19 -04:00
Yosef Or Boczko
79b730d209
Updated Hebrew translation
2014-07-08 12:55:14 +03:00
Lapo Calamandrei
3478156fb4
Adwaita: generalize inline and search bars
...
So the style get applied not only to say .toolbar.search-bar, but
.search-bar. Need to figure out something for possible missing borders.
2014-07-08 11:22:59 +02:00
Lapo Calamandrei
117b719816
Adwaita: selection menu button style fixes
2014-07-08 10:46:39 +02:00
Lapo Calamandrei
a3b98eab92
Adwaita: fix reorderable tab label color once again
2014-07-08 10:17:31 +02:00
Rico Tzschichholz
eec6deba90
build: Fix make dist
2014-07-08 10:13:39 +02:00
Lapo Calamandrei
461acd6e42
Adwaita: style notebook tab overflow arrow
2014-07-08 10:06:57 +02:00
Matthias Clasen
d49d592316
GtkImage: Add cairo surface api to the docs
...
https://bugzilla.gnome.org/show_bug.cgi?id=732861
2014-07-07 22:36:56 -04:00
Matthias Clasen
d1099b1759
Document gtk_application_get_menu_by_id
2014-07-07 19:44:39 -04:00