Matthias Clasen
7cb36aba40
Load theme settings from the right location
...
When loading a per-theme settings.ini file, look for it in
the same directory where we found the gtk.css file for the
theme. Previously, we were always looking in
$prefix/share/themes/THEME/gtk-3.0/, even if the css was
loaded from somewhere else.
https://bugzilla.gnome.org/show_bug.cgi?id=641354
2016-03-21 22:19:19 -04:00
Matthias Clasen
475d916eb9
Also look in system data dirs for themes
...
With this change, we now look in
$XDG_DATA_HOME/themes/THEME/gtk-3.x
$HOME/.themes/THEME/gtk-3.x
$XDG_DATA_DIRS/themes/THEME/gtk-3.x
GTK_DATA_PREFIX/themes/THEME/gtk-3.x
https://bugzilla.gnome.org/show_bug.cgi?id=641354
2016-03-21 22:19:19 -04:00
Lapo Calamandrei
ee94f9ff89
Adwaita: simplify treeview:drop(active) code
2016-03-21 19:42:54 +01:00
Benjamin Otte
45dfdbce3f
textview: Track differences between ink and logical rects
...
This way, we can ensure that we queue redraws on the full ink rect. This
is particularly visible for squiggly underlines in spell checking.
https://bugzilla.gnome.org/show_bug.cgi?id=763741
2016-03-21 13:26:57 -04:00
Matthias Clasen
08a0257893
Fix the build
2016-03-21 12:10:44 -04:00
Matthias Clasen
26617bb9b4
shortcutswindow: Make the search button square
...
Add the image-button style class to this button (this doesn't
work automatically here, since this is a toggle button).
https://bugzilla.gnome.org/show_bug.cgi?id=763604
2016-03-21 12:00:02 -04:00
Matthias Clasen
4ae057f07b
Adwaita: Update treeview drop target styling
...
This reinstates the between-the-rows highlight that was lost
at some point.
https://bugzilla.gnome.org/show_bug.cgi?id=763808
2016-03-21 11:56:17 -04:00
Matthias Clasen
12c5ca5c01
treeview: Update drop target highlighting
...
Stop using the .dnd style class, and instead use the
:drop(active) pseudo state, together with .before and .after
classes.
https://bugzilla.gnome.org/show_bug.cgi?id=763808
2016-03-21 11:56:17 -04:00
Matthias Clasen
a5a51e325d
quartz: Fix up dnd code
...
Copy changes to drag highlight drawing from gtkdnd.c to gtkdnd-quartz.c.
https://bugzilla.gnome.org/show_bug.cgi?id=763808
2016-03-21 11:56:17 -04:00
Christian Hergert
ca63330b19
stack: query preferred size for last_visible_child
...
When animating, we might be changing the size allocation of the previous
stack child. However, we were not querying the size in the process
meaning you would often see warnings about allocating the size without
knowing what it should be.
This simply adds an innocuous size request, since responding to last_child
sizing requests is not all that critical in the transition.
https://bugzilla.gnome.org/show_bug.cgi?id=763900
2016-03-21 11:50:27 -04:00
Debarshi Ray
2407f157c7
print-operation: Be more robust in the error path
...
This isn't an issue at the moment. Only exporting to a file can fail
by setting by setting an error and it happens to correctly return
GTK_PRINT_OPERATION_RESULT_ERROR regardless of this code.
Still, let's make this block of code more correct to prevent future
changes from introducing broken behaviour.
https://bugzilla.gnome.org/show_bug.cgi?id=763731
2016-03-21 16:09:30 +01:00
Руслан Ижбулатов
404a7185be
Improve window title context popup menu fallback
...
Add "Minimize", "Maximize", "Restore", "Move", "Resize" and "Always on Top"
items to the menu.
This pertially reverts commit 0ea1a526f9
.
https://bugzilla.gnome.org/show_bug.cgi?id=763806
2016-03-20 22:02:23 -04:00
Matthias Clasen
5c63ab26da
style context: Don't use g_warning for API misuse
...
We've changed our API here; what these applications are doing
used to be fine. Don't make users suffer for this by spamming their
logs in a stable release. We'll keep the warning in master.
https://bugzilla.gnome.org/show_bug.cgi?id=763796
2016-03-20 20:53:34 -04:00
Lapo Calamandrei
1dcd88961e
Adwaita: more evident colorswatch drag hilight
2016-03-21 01:19:12 +01:00
Lapo Calamandrei
4973b55ad9
Adwaita: titlebutton fix
...
use a better selector and fix the styling on selection-mode.
2016-03-21 01:02:30 +01:00
Lapo Calamandrei
44e225e50b
Adwaita: add a transition to the scale slider
2016-03-21 00:46:44 +01:00
Lapo Calamandrei
eacd632e5e
Adwaita: add a transition to the switch slider
2016-03-21 00:44:47 +01:00
Lapo Calamandrei
6598dca783
Adwaita: sligthly dim backdrop selected fg color
2016-03-21 00:25:44 +01:00
Lapo Calamandrei
2e2c423c78
Adwaita: clean up
2016-03-21 00:22:24 +01:00
Lapo Calamandrei
de466e7b28
Adwaita: rework places sidebar styling
...
set colors on rows istead of images.
2016-03-20 23:38:49 +01:00
Lapo Calamandrei
524ca3c2d5
Adwaita: fix treeview spinbutton style
2016-03-20 23:33:51 +01:00
Lapo Calamandrei
c867b17cc8
Adwaita: fix treeview entry style
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=763955
2016-03-20 23:18:49 +01:00
Jakub Steiner
7224dd76db
High Contrast: sidebar round buttons
...
https://bugzilla.gnome.org/show_bug.cgi?id=763774
2016-03-20 22:07:03 +01:00
Paolo Borelli
d457b4f4a5
css: use "disabled" instead of the "insensitivie"
...
Not only there is a typo, but it is also deprecated.
2016-03-20 17:49:15 +01:00
Benjamin Otte
710285104b
styleproperties: Really don't use 'i' in inner loop
...
I apparently was too tired when doing
8cebc125da
and forgot to replace one
instance of 'i' with 'j'.
Thanks Timm for finding that one.
2016-03-20 13:43:46 +01:00
Benjamin Otte
8cebc125da
styleproperties: Don't use the same loop variable in nested loops
...
http://www.viva64.com/en/b/0383/
2016-03-20 05:37:23 +01:00
Benjamin Otte
ca3607c219
menubar: Remove duplicate flags value
...
http://www.viva64.com/en/b/0383/
2016-03-20 05:30:43 +01:00
Benjamin Otte
c76424a842
calendar: Remove duplicate flags value
...
http://www.viva64.com/en/b/0383/
2016-03-20 05:27:19 +01:00
Benjamin Otte
58b7512b53
cssshadowvalue: Fix copy/paste issue
...
http://www.viva64.com/en/b/0383/
2016-03-20 05:26:39 +01:00
Benjamin Otte
3308122c32
placesview: Simplify
...
http://www.viva64.com/en/b/0383/
2016-03-20 05:18:38 +01:00
Benjamin Otte
c6834a002f
pathbar: Order button CSS nodes right
...
The previous code ordered them the wrong way, so the first button (from
a CSS pov) was the last visible one.
2016-03-20 05:18:04 +01:00
Lapo Calamandrei
397bacee6e
Adwaita: fix places sidebar icons style
...
the color wasn't changing in backdrop.
2016-03-19 20:13:06 +01:00
Lapo Calamandrei
0174803149
Adwaita: added a transition to the backdrop state to most widgets
2016-03-19 19:56:15 +01:00
Lapo Calamandrei
38211ff800
Adwaita: clean up checkbutton and radiobutton styling
...
some superfluous selectors there since generic label styling was
broken.
2016-03-19 18:59:29 +01:00
Lapo Calamandrei
ec50042228
Revert "Adwaita: checkbutton and radiobutton backdrop color fix"
...
This reverts commit 43937c6aa0
.
Which was needed since the label styling was broken.
2016-03-19 18:57:33 +01:00
Lapo Calamandrei
e079b92a55
Adwaita: fix label styling
...
backdrop wasn't in the mix, added and adjusted other widgets
styling not to be overridden by it when not needed.
Spotted a typo making the backdrop base color white in the process.
2016-03-19 18:56:41 +01:00
Lapo Calamandrei
20a8ac5542
Adwaita: reset entry props on horizontal spinbuttons
...
the spinbutton node is where the styling is applied, the leftover
properties on the entry node make a backdrop transition bad.
2016-03-19 18:09:22 +01:00
Lapo Calamandrei
8f2213836c
Adwaita: remove commented out code
2016-03-19 17:53:36 +01:00
Lapo Calamandrei
43937c6aa0
Adwaita: checkbutton and radiobutton backdrop color fix
...
this sets the right backdrop color to the label insider the
aformentined widgets.
2016-03-19 17:46:49 +01:00
Lapo Calamandrei
99e2f91dfe
Adwaita: simplify headerbar style
2016-03-19 17:23:39 +01:00
Lapo Calamandrei
5a0aeec3f4
Adwaita: correctly order backdrop decoration node shadows
...
... otherwise setting a transition to the backdrop state will make
the window resize, since the shadows size gets interpolated.
2016-03-19 17:08:17 +01:00
Lapo Calamandrei
50b5820669
High Contrast: switch style fix
2016-03-18 19:25:09 +01:00
Lapo Calamandrei
48fb37f341
High Contrast: don't hardcode a font-size on the switch
2016-03-18 19:10:36 +01:00
Lapo Calamandrei
a46058451e
High Contrast: stronger entry focus indication
2016-03-18 19:05:20 +01:00
Lapo Calamandrei
7d27fd087e
High Contrast: fix a typo
2016-03-18 19:03:19 +01:00
Lapo Calamandrei
3b1484f57c
Adwaita: fix colorscale shrinking when disabled
2016-03-18 18:38:48 +01:00
Jakub Steiner
ad9865126a
High Contrast: fix drop states
...
https://bugzilla.gnome.org/show_bug.cgi?id=763823
2016-03-18 15:48:52 +01:00
Jakub Steiner
3a529614e5
High Contrast: spinbutton active state
...
- more contrast for the active state
- osd active state
2016-03-18 15:44:27 +01:00
Jakub Steiner
4fc5832cfd
High Contrast: osd spinbutton fixes
...
- don't jump around for :backdrop
- only shade focused widgets
2016-03-18 15:30:46 +01:00
Jakub Steiner
c94afa01c4
High Contrast: osd spinbuttons
...
https://bugzilla.gnome.org/show_bug.cgi?id=763846
2016-03-18 15:22:16 +01:00