Age | Commit message (Collapse) | Author | Files | Lines |
|
inspired by:
https://git.gnome.org/browse/nautilus/commit/?id=dad5d12
|
|
The existing style class .caja-desktop does not match every widget
which you see at the screen. Ie. the widget scrolledwindow,
which is above the existing class in hierarchy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
the background might be not yet set at this point, and when it will
be set, the label colors will be properly set on a signal anyway.
so let's not do the same work twice.
|
|
that's what was causing random font color changes. the code in
eel-background.c is a complete asynchronous mess, with queued
callbacks sometimes being called in such order that it caused
blocking the background change signal in the situations where
it should never be blocked.
|
|
that is, before 057df2dc1d8ea67b477d696ac6feea8aaf392763
the logic itself is valid, but it was somewhat broken later in a few
attempts to fix the annoying font color bugs. so let's restore it.
|
|
Reset default size of desktop window to -1 in GTK 3.19/20 only. The combination of a non-resizable
window with a default size is what causes the desktop to open wrong size.
based on https://github.com/GNOME/nautilus/commit/cf79068dc70c87e963e217e2e8ae149ee5ed1872
"desktop-window: avoid wrong size"
"gtk+ recently changed and unresizable windows now take into account
the default size set. We set the default size for normal resizable
windows in nautilus."
"However the desktop window is a no resizable window. What happens now
when setting a default size is that that size is used instead of the
widget request size, since window sizing now takes precedence over
widget sizing."
"To fix it, set the default size to -1 to override what the nautilus
window does by default, so we can avoid this misbehaviour."
|
|
upstream did the same years ago:
https://git.gnome.org/browse/nautilus/commit/?id=6cb7a112683a7dd1d22b471391619d901bfec039
|
|
|
|
|
|
|
|
|
|
|
|
fixes https://github.com/mate-desktop/caja/issues/516
adapted from:
https://git.gnome.org/browse/nautilus/commit/?id=1a76e044a2c9b834d00c4ea30f1e3af3321d8cdd
https://git.gnome.org/browse/nautilus/commit/?id=878e2a4f7ada26bb7c106e5bbdbd8434acf86c77
https://git.gnome.org/browse/nautilus/commit/?id=f7b54cdba55a0856b201e62818059ac5007fac35
https://git.gnome.org/browse/nautilus/commit/?id=3d275a971132a41809a3b1e5b8ac683d264d6c35
|
|
GTK 3.19/3.20 builds only:
Applying the .view class to the icon container no longer works in gtk3.19, so apply it to the scrolled window instead. Apply it in both icon view and compact view, as both need it. Doing it from this file prevents it from being applied to the scrolled window under a treeview, thus preventing the exposed corner above the scrollbar in a treeview from showing the view background color.
Tested this build in gtk3.19.8 with good results. Tested in my own theme (UbuntuStudio_Legacy),Adwaita, BlackMATE, Green-Submarine, and BlueMenta, all still work right. Adwaita now shows the proper white view color, and my own theme gives a white icon view without also showing
white squares over the treeview scrollbars. That was an unwanted side effect of applying the view color in the gtk theme to all the scrolled windows containing list, icon, or compact views as there is no way to tell them apart from the theme only. This approach keeps the scrolled window under the treeview transparent but themes them under icon or compact views.
Using .view rather than a custom class enables themes not written for MATE to set the Caja background to match expected view colors, just as it did on the icon container in gtk3.18 and earlier. Leave it on the icon container too, as it may be needed in some themes to theme elements within the icon view.
Also, I found no ill effects from the added style class on gtk3.18. In that case, the .view style class on the icon container should cover over anything in the scrolled window. Since the style class is not applied to the scrolled window used by a list view, no ill effect there in gtk 3.19 or gtk3.18. Applying to gtk3.19 only builds for now just in case
|
|
adapted from:
https://git.gnome.org/browse/nautilus/commit/?id=97a2553ada8c8015fe22e6ec87e48123b29fa4d4
https://git.gnome.org/browse/nautilus/commit/?id=fd2685f838e613387179968d8e0b1326fe503a16
|
|
taken from
https://git.gnome.org/browse/nautilus/commit/?id=564264cc6cc6fa44390791248019547a7133d70d
and applied in some other places as well
|
|
taken from:
https://git.gnome.org/browse/nautilus/commit/?id=8f15b28dd7afdd1a5c5b9c0d54c05d978a10461a
https://git.gnome.org/browse/nautilus/commit/?id=60217c642cb4b12297b2d8ddd2a2eae45671a5a7
https://git.gnome.org/browse/nautilus/commit/?id=5f5bea72af6e23986b7367a2a2157fb15481f367
|
|
for example, a file named simply "%s"
taken from:
https://git.gnome.org/browse/nautilus/commit/?id=d69885bd67edc1fae76c790f6162807817d63b2f
|
|
This is needed to fix gtk3 build failure for gtk+-3.14, causes by different
GTK_CHECK versions for deprecated GtkLabel for 3.16.
|
|
I hate Schroedinger's bugs...
|
|
gtk+-3.20
|
|
Needed for gtk+-3.20
|
|
Needed fot gtk+-3.20
|
|
Neeed for gtk+-3.20
|
|
All widgets for the sidebar can be selected with this style class
on top. Needed for gtk+-3.20.
|
|
This style selector can be use by themes to select the caja navigation window.
Needed for gtk+-3.20
|
|
|
|
|
|
So that themes can tweak the color/background of desktop canvas items
separately.
taken from:
https://git.gnome.org/browse/nautilus/commit/?id=8b676a6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
partially taken from:
https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-2&id=bd151c8
|
|
|
|
don't use deprecated gtk_hbox_new for gtk3
|
|
and don't use deprecated function in GTK+3 build
|
|
|
|
also use GtkBox type in both GTK+ builds
|
|
and don't use deprecated function in GTK+3 build
|
|
Note: this icon is shiped by gtk+ itself
|