Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
|
|
|
|
|
|
- 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.
|
|
|
|
|
|
Missing bits taken from GSD commit:
0d114cf6f19f3ae0d3e73e2b38c5bd1fd495e390
From: William Jon McCann <[email protected]>
|
|
|
|
|
|
|