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
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
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
0abb2f57fd
Update more places for the changed icon name
2014-07-09 08:03:57 -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
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
Lapo Calamandrei
f15b61421a
Adwaita: selection mode and selection menu tweaks
2014-07-08 12:52:55 +02: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
Jasper St. Pierre
1fb2756b99
gtkwindow: Remove the unused GTK_WINDOW_REGION_EDGE
2014-07-07 16:30:51 -04:00
Ryan Lortie
4948516100
GtkApplication: document icon path setup
...
https://bugzilla.gnome.org/show_bug.cgi?id=722092
2014-07-07 14:46:28 -04:00
Ryan Lortie
687a846923
GtkAppliation: setup icon theme resource path
...
If we have a resource base path for the application, set up an icon
theme search path based on it (within the default icon theme).
https://bugzilla.gnome.org/show_bug.cgi?id=722092
2014-07-07 14:46:27 -04:00
Ryan Lortie
868ee07f49
GtkApplication: use resources for loading menus
...
Use the new ::resource-base-path property on #GApplication to attempt to
load the menu layout of the application.
We look first at gtk/menus-appmenu.ui or gtk/menus-traditional.ui
depending on the setting of gtk_application_prefers_app_menu(). Failing
that, we fall back to the common case of gtk/menus.ui (which should
always be given). This provides a convenient way for application
authors to provide a different set of menus, depending on the desktop
environment they find themselves in.
As is the intention with other resources, if the resource base path is
unset, nothing will be loaded. Additionally, if the expected files are not
found, it is not an error -- just nothing happens.
https://bugzilla.gnome.org/show_bug.cgi?id=722092
2014-07-07 14:46:27 -04:00
Lapo Calamandrei
a6410c65f9
Adwaita: fix selection mode toolbar
...
Selection menu button still needs fixing
2014-07-07 20:33:19 +02:00
Benjamin Otte
80db4f9ce7
cssanimation: Fix animation-direction handling
...
"alternate" was behaving as "alternate-reverse" and vice versa.
2014-07-07 20:06:40 +02:00
Benjamin Otte
b6aecca71c
css: Fix animation-direction parsing
...
We were parsig "alternate-reverse" as "alternate" and then complaining
about the "-reverse" junk at the end of the value.
2014-07-07 20:06:40 +02:00
Benjamin Otte
cb1ac0c056
clipboard: Fix compiler warning
...
Cast the type.
2014-07-07 20:06:40 +02:00
Benjamin Otte
2fde5e95ee
textview: Fix compiler warning
...
No need to use braces anymore.
2014-07-07 20:06:39 +02:00
Lapo Calamandrei
e2af4853fc
Adwaita: non csd message dialog and entry shadow fix
...
Made the non csd message dialog more similar to the csd one (to
match the csd one we need mutter theme changes), little shadow fix
for entry.
2014-07-07 19:53:57 +02:00
Lapo Calamandrei
e86f409f32
Adwaita: csd message dialog fixes.
...
Lighter shadow like popovers and bigger radius then buttons on
the background to avoid antialiasing artifacts.
2014-07-07 17:56:29 +02:00
Lapo Calamandrei
4422e27662
Adwaita: .grid-child 2px padding
2014-07-07 17:44:01 +02:00
Lapo Calamandrei
607bac7c69
Adwaita: entry shadows work.
...
For the transition to work the box-shadows types in the shadow list
needs to be matched in various states so I'm using transparent shadows
istead of resetting them when not needed.
2014-07-07 17:27:57 +02:00
Lapo Calamandrei
f12edc2d89
Adwaita: minor sass changes.
...
Made _button_border_color($c) mixin in _button_border($c) fuction.
2014-07-07 15:04:22 +02:00
Benjamin Otte
871d782e74
css: Don't special-case fill-mode in 'animation'
...
I have no idea why it was special cased when parsing the 'animation'
shorthand, but it caused crashes.
So remove the special case.
2014-07-07 14:26:05 +02:00
Lapo Calamandrei
b02837b2c2
Adwaita: style .subtitle like .dim-label
2014-07-07 14:17:51 +02:00
Lapo Calamandrei
fdd347a85a
Adwaita: use opacity on dim-labels istead of a hack
2014-07-07 14:04:37 +02:00
Lapo Calamandrei
869d0f3d2f
Adwaita: .dim-label
2014-07-07 13:30:53 +02:00
Jakub Steiner
0a0ae97d3c
Adwaita: flat OSD style
2014-07-07 13:26:09 +02:00
Lapo Calamandrei
d96bdc357c
Adwaita: fix combos and buttons padding issues.
...
For some strage reason (bug?) combobox buttons needs -2px vertical padding
wrt buttons to have the same size as buttons.
2014-07-07 11:47:30 +02:00