Age | Commit message (Collapse) | Author | Files | Lines |
|
as described in docs:
https://developer.gnome.org/glib/stable/glib-Hash-Tables.html#g-str-equal
> Note that this function is primarily meant as a hash table comparison function.
> For a general-purpose, NULL-safe string comparison function, see g_strcmp0().
|
|
schema: org.mate.peripherals-touchpad
key: left-handed (same name as in peripherals-mouse schema)
values: 'right', 'left', 'mouse'
default value: 'mouse' - follow the corresponding mouse setting
(to keep the default behaviour same as before)
adapted from:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=59ec6da345fa6d20c13d44f9cfe4f607cb1eeea3
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=ccaf750510e8797f22045490eb37d39693023ec6
|
|
and don't create property if it's not present (set last argument to True)
adapted from:
https://github.com/linuxmint/cinnamon-settings-daemon/commit/35d4b97c1a1bed4aa8c679acdd86995d45d1babe
|
|
adapted from:
https://github.com/linuxmint/cinnamon-settings-daemon/commit/6bf9af437b5b3d69be037042af1bcadf4051cc0c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and drop some fallback code as well
adapted from:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=4d6ecb300358fcef4310a7f696a032d8a0afb80e
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=3a244a490df4453c41469d8eeb789d96412f80b1
|
|
|
|
as done in g-s-d six years ago:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=5b2a28376a3aa81d865679e8c91d2f6beb8af799
|
|
|
|
or it will break the plugin once libmate-desktop becomes GTK+3 only
|
|
Fix background changing with or without caja running. Remove all references to Caja from GTK 3.21 or later builds, remove resulting unused variable.
|
|
Make sure m-s-d knows to draw the background unconditionally when used with transparent version of Caja for GTK 3.21.3 or later
|
|
|
|
- gcalctool is known as gnome-calculator these days
- mate-calc is obsolete since 1.10
|
|
also remove defines for default max age and size - we already have
the defaults set in schema, makes no sense to duplicate them here.
early check for -1 value (means "do not clean thumbs") is ported from:
https://git.gnome.org/browse/gnome-settings-daemon/commit?id=12f2121929f048c5cc07cd9c90570310a169b29e
|
|
|
|
|
|
msd-xsettings-manager.c: In function 'xsettings_callback':
msd-xsettings-manager.c:600:37: warning: passing argument 2 of 'xft_callback' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
xft_callback (NULL, key, manager);
^~~
msd-xsettings-manager.c:498:1: note: expected 'gchar * {aka char *}' but argument is of type 'const char *'
xft_callback (GSettings *gsettings,
|
|
taken from mate-notification-daemon
|
|
taken from:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=81cfd0e
|
|
|
|
- Port OSD to GtkStyleContext
- Port style_set to style_updated
- fixes also a -Wincompatible-pointer-types warning
- Use correct argument to GtkStyle functions
taken from:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?h=gnome-3-0&id=f6e55cb
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=45a88f2
GTK+3 media-keys: fix deprecated gtk_style_context_get_background_color
taken from mate-notification-daemon
GTK+3 media-keys: do not use hardcoded colors for osd progressbar
- If we use the OSD style class let the themes handle that.
- drop useless color functions
inspired from:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=a0cefe6
|
|
|
|
|
|
MsdOsdWindow theme example:
MsdOsdWindow.background {
background-color: rgba(10, 10, 8, 0.75);
}
MsdOsdWindow.window-frame {
border-radius: 3px;
box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4);
}
|
|
Change this in order to match new default fontconfig settings
(introduced in fontconfig 2.11.95).
|
|
Worked without this but let's add it back. Build worked same either way but let's not let things like this creep in
|
|
In GTK 3.21, the msd_osd_window_style_set segfaults on GtkStyle. This really should be updated for all GTK3 versions, so port it to GtkStyleContext. Just this one function for now as it stops the OSD crashes. Test built over GTK 3.21, no apparent problems and ran fine on GTK 3.18 as well, no apparent differences in theming using any theme from 3.18 with master.
|
|
|
|
|
|
|
|
ported from gnome-settings-daemon
|
|
|
|
|
|
|
|
|
|
|
|
no-op functions are left as is because this code can be used
as a skeleton for building new plugins
taken from
https://git.gnome.org/browse/gnome-settings-daemon/commit?id=fe93b3be700f609b95bef7acca7aceb799c0baf6
|