Age | Commit message (Collapse) | Author | Files | Lines |
|
Matches the gnome's mockups better.
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
|
|
|
|
Also fix build warnings on xsettings
|
|
|
|
The work began with:
https://github.com/mate-desktop/mate-settings-daemon/commit/788babedafaf59d8b7a36cb0ef3b0b1f0e5f732c
This commit reverts:
https://github.com/mate-desktop/mate-settings-daemon/commit/7f887e614812ccb86f5d784e2db58bede8daa712
And it applies an alternative to fix the deprecated functions:
gdk_screen_get_width
gdk_screen_get_height
|
|
|
|
libinput touchpads are recognized by checking if they have
tapping property - same as done here:
https://github.com/linuxmint/cinnamon-settings-daemon/commit/7e48221e5e5c6095c73c30c4eeeb08f74fac4b16
|
|
Add style class msd-osd-window-solid when and only when a noncomposited window manager is in use
|
|
Use same function as in the composited case. gtk_widget_get_allocated_width/height seems to cause a lot of problems in GTK3
|
|
and require libmatekbd and libmate-desktop >= 1.17
|
|
|
|
adapted from:
https://github.com/linuxmint/cinnamon-settings-daemon/commit/6bf9af437b5b3d69be037042af1bcadf4051cc0c
|
|
|
|
|
|
|
|
|
|
- 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);
}
|
|
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.
|
|
|
|
taken from:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=544526d
|
|
So it can be reused. This also fixes a memory leak in the function.
We were leaking the device list
Taken from GSD commit: f6dcba4e954f3e910854f3c92fb69b157683267d
From: Bastien Nocera <[email protected]>
|
|
|
|
Missing bits taken from GSD commit:
0d114cf6f19f3ae0d3e73e2b38c5bd1fd495e390
From: William Jon McCann <[email protected]>
|
|
|
|
|
|
a11y-keyboard: gtk_dialog_set_has_separator(), deprecated in GTK+ 2.22
common|mouse: prefix GDK key constants with _KEY (GTK3)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|