summaryrefslogtreecommitdiff
path: root/plugins/common/msd-osd-window.c
AgeCommit message (Collapse)AuthorFilesLines
2018-11-26osd-window: make the window smallerZhang Xianwei1-2/+2
Matches the gnome's mockups better. Signed-off-by: Zhang Xianwei <[email protected]>
2018-02-12Scale OSD size correctly on HiDPI displays (#212)Victor Kareh1-5/+10
Also fix build warnings on xsettings
2018-01-30require GTK+ 3.22 and GLib 2.50monsta1-2/+1
2017-12-18WidthOfScreen and HeightOfScreen implementationPablo Barciela1-6/+3
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
2017-08-14avoid deprecated gdk_screen_get_width/heightZenWalker1-2/+6
2016-12-23OSD: Add style class for noncomposited caselukefromdc1-0/+1
Add style class msd-osd-window-solid when and only when a noncomposited window manager is in use
2016-12-22OSD: fix rendering on noncomposited desktoplukefromdc1-2/+1
Use same function as in the composited case. gtk_widget_get_allocated_width/height seems to cause a lot of problems in GTK3
2016-11-20move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-289/+3
and require libmatekbd and libmate-desktop >= 1.17
2016-11-20fix indent a bitmonsta1-1/+1
2016-06-07gtk3: progressbar themed backgroundDenis Gorodnichev1-1/+2
2016-06-05GTK+3 media-keys: add style class OSD for MsdOsdWindowDenis Gorodnichev1-0/+6
2016-06-05GTK+3 media-keys: Port OSD to GtkStyleContextraveit651-46/+72
- 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
2016-06-01fix compile error 'Redefinition von widget_class'raveit651-1/+0
2016-06-01setup css class name for MsdOsdWindowDenis Gorodnichev1-0/+5
2016-06-01gtk3: css themes for MsdOsdWindowDenis Gorodnichev1-0/+19
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); }
2016-05-23Add back missing static void declarationlukefromdc1-0/+1
Worked without this but let's add it back. Build worked same either way but let's not let things like this creep in
2016-05-23Fix Gtk3.21 segfault using GtkStyleContextlukefromdc1-2/+13
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.
2016-01-09common: less #if'smonsta1-49/+54
2014-12-13msd-osd-window: Remove unused variableinfirit1-2/+0
2014-12-13Gtk3: Fixup draw-event handlinginfirit1-4/+12
Missing bits taken from GSD commit: 0d114cf6f19f3ae0d3e73e2b38c5bd1fd495e390 From: William Jon McCann <[email protected]>
2013-07-31Add GTK3 support in OSD windowStefano Karapetsas1-4/+128
2012-10-12fix incorrect FSF addressraveit651-2/+2
2012-02-21gsd to msd complete rename patch by NiceandGently; file rename commithaxar1-0/+573