summaryrefslogtreecommitdiff
path: root/src/themes/slider
AgeCommit message (Collapse)AuthorFilesLines
2017-02-14themes: Add functionality to test for presence of action-iconsIkey Doherty1-8/+14
Each of the themes will have to detect the 'action-icons' hint passed to them in 'set_notification_hints' to make a determination on whether or not to use image based buttons, instead of textual buttons, in their actions boxes. This factory behaviour simply extends the existing checks for urgency-hint, as well as unifying the code style between the various in-tree theme implementations. Signed-off-by: Ikey Doherty <[email protected]>
2016-10-07Fix: bold formatting #111kajzer1-7/+4
2016-09-09Fix: properly escape textkajzer1-3/+10
2016-08-27Fix: escape text #106kajzer1-1/+3
2016-06-29Slider: improve GtkStyleContex functionsraveit651-69/+62
theme looks really better now
2016-06-24themes: make text translatableraveit651-4/+6
taken from: https://git.gnome.org/browse/notification-daemon/commit/?id=b156f34
2016-06-24slider: do not use dprecated GtkAlignmentraveit651-29/+20
2016-05-19slider: remove color overriding that does nothing these daysmonsta1-65/+0
we dropped color reversing in d80ac825a8815317e06d206c2199bedfe0474f85 anyway as it never worked properly in GTK+3, so now override_style function does nothing
2016-05-19slider: drop unused #definemonsta1-3/+0
2016-05-19require GTK+ >= 3.14, drop GTK+2 code and --with-gtk build optionmonsta1-310/+7
2016-01-24use max. 50 charactersfor body labelWolfgang Ulbrich1-0/+1
2016-01-21some corrections in checks and fixes of deprecationsmonsta1-4/+5
2016-01-21use gtk_image_new_from_icon_name in both GTK+ buildsmonsta1-4/+0
2015-12-16GTK3 slider: remove reverse_color functionWolfgang Ulbrich1-19/+4
2015-12-16GTK3 slider: don't call override_style multiple timesGyörgy Balló1-24/+8
It's enough to call gtk_widget_override_* functions on the toplevel element, child elements will inherit the style properly. Fixes issue #90.
2015-12-15GTK3 slider: don't use deprecated gtk_style_context_get_background_colorWolfgang Ulbrich1-3/+23
inspired from: https://git.gnome.org/browse/metacity/commit/?id=f201335
2015-12-14slider: fix uninitialized variableGyörgy Balló1-0/+1
2015-11-05GTK3 themes: fix deprecated usage of GTK_STOCK_CLOSEWolfgang Ulbrich1-0/+4
taken from: https://git.gnome.org/browse/notification-daemon/commit/?id=9d38817
2015-10-31coco, nodoka, slider: removed a unused variable and fixes warningsWolfgang Ulbrich1-2/+0
2015-10-31GTK3 slider: fix some warningsWolfgang Ulbrich1-2/+2
- theme.c:1010:31: warning: passing argument 1 of 'gtk_style_context_get_color' from incompatible pointer type [-Wincompatible-pointer-types] gtk_style_context_get_color (context, GTK_STATE_FLAG_NORMAL, &color); - theme.c:1011:25: warning: passing argument 1 of 'gtk_style_context_get' from incompatible pointer type [-Wincompatible-pointer-types] gtk_style_context_get (context, GTK_STATE_FLAG_NORMAL, "background-color", &fg_color, NULL); - theme.c:979:19: warning: variable 'style' set but not used [-Wunused-but-set-variable] GtkStyleContext* style;
2015-10-31Revert "Gtk3: slider: Do not use deprecated ↵Wolfgang Ulbrich1-3/+3
gtk_style_context_get_background_color" This commit breaks the bg of notifications, in result notifications are unreadable, black fg color on black bg. This reverts commit 0fb782d2dcc129ab0858ea0d4399f6c183cb20c1.
2015-10-15slider: fix missing prototypes warningsGiedrius Statkevičius1-0/+18
2015-10-05themes: check for GTK+3 release, not dev versionMonsta1-4/+4
2015-07-28Use accessor functions instead of direct accessinfirit1-6/+9
2015-07-28slider: rework paint_window, on_draw and on_expose_eventinfirit1-28/+47
This is now the same as coco and nodoka.
2015-07-28slider: Bring the window shape code in line with coco/nodokainfirit1-44/+64
Also we already shape windows in paint_window and it is probably wise to redraw anyway on compositing change.
2015-07-28Gtk3: slider: Do not use deprecated gtk_style_context_get_background_colorinfirit1-3/+3
2015-07-24Fix several incompatible pointer type warningsinfirit1-1/+1
2015-07-22GTK3: don't use deprecated GtkRcStyleraveit651-0/+4
taken from https://git.gnome.org/browse/notification-daemon/commit/?id=2f0409b
2015-07-22GTK3: replace deprecated gtk_widget_size_requestraveit651-0/+4
2015-07-22GTK3: replace deprecated gtk_[v/h]_box_newraveit651-0/+5
2015-07-22Gtk3: replace deprecated gtk_misc_set_alignmentraveit651-0/+19
2015-07-22all themes: don't crash on notifications from RhythmboxMonsta1-1/+1
fixes https://github.com/mate-desktop/mate-notification-daemon/issues/55
2015-06-17GTK3: Fix positioning notifications with long textraveit651-0/+6
Closes https://github.com/mate-desktop/mate-notification-daemon/pull/52
2014-07-03Cleanup GTK_CHECK_VERSION and unify code where possibleinfirit1-41/+6
* Use GtkAllocation for both Gtk+ versions, added in 2.18 * Bump gdk-pixbuf required to 2.22 (release 2010) * GDK_DISPLAY_XDISPLAY | Since always * gdk_display_get_default | Since 2.22 * gdk_window_get_screen | Since 2.24 * gtk_widget_get_window | Since 2.14
2014-07-03Use gtk_widget_get_visible for both Gtk+ versionsinfirit1-6/+2
Also fix a bug in add_notification_action in coco-theme
2014-01-18slider: Add GTK3 supportStefano Karapetsas1-88/+307
2013-01-04Fix engine loading portabilityYaakov Selkowitz1-1/+1
Use GModule APIs for determining engine filenames. Also, link with the -no-undefined flag, required on PE platforms.
2012-07-31Fixed incorrect fsf address. Closes issue #6.Steve Zesch1-2/+2
2012-05-09add coco (notify-osd like) and nodoka (from fedora) themes, start 1.3 releasemate-notification-daemon-1.3.0Stefano Karapetsas1-1/+1
2011-12-10removed autogenerated filesStefano Karapetsas1-604/+0
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos3-0/+1533