summaryrefslogtreecommitdiff
path: root/src/themes
AgeCommit message (Collapse)AuthorFilesLines
2025-04-06Fix background of nodoka theme in RTLFabrice Creuzot1-1/+5
2025-04-06Crate a second notification with a buttonFabrice Creuzot4-95/+120
Allow to set coutdown color from .countdown:selected for all themes Fix the countdown for slider theme and draw transparent background for countdown
2025-04-06Use transparent background for the coutdownluigifab1-11/+5
2025-04-06Allow to set countdown color from CSSluigifab1-1/+11
2025-03-11Add countdown CSS classFabrice Creuzot4-16/+32
2025-03-11Add actions-box CSS classFabrice Creuzot4-1/+28
2025-03-11Add also theme nameFabrice Creuzot4-0/+8
2025-03-11Add notification-box CSS classFabrice Creuzot4-0/+24
2023-11-25fix building with libxml 2.12.0raveit654-0/+8
2022-08-06themes: fix typorbuj4-8/+8
2021-12-11Use a blank line at mostrbuj3-14/+0
2021-12-11theme: remove whitespaces before #define, #ifdef, and #endifrbuj1-39/+37
2021-06-22Update copyright to 2021raveit654-0/+4
2020-10-24FormattingWilliam Wold1-2/+2
2020-10-24Remove NOTIFICATION_DAEMON_* from src/themes/standard/Makefile.amWilliam Wold1-2/+2
2020-10-24Remove X11 calls from nodoka-theme.cWilliam Wold1-10/+20
2020-06-26add git.mk to generate .gitignoretamplan2-0/+4
2020-06-12Remove conversion warningsrbuj4-13/+21
2020-04-16Filter-out img elements from notification bodyrbuj5-25/+222
2020-04-16The body of a notification may also contain hyperlinksrbuj4-37/+21
2019-10-11Use WARN_CFLAGS which are only set with --enable-compiler-warningsrbuj4-5/+6
It removes --enable-more-warnings, since it is recommended to use --enable-compile-warnings=maximum It updates configure summary. It removes c++ checks as there is no c++ code.
2019-09-17Fix decoding the hints dictionary.Kyle Brenneman4-32/+24
g_variant_lookup works like g_variant_get, so using a format string of "v" only works if the type is actually a GVariant. Since none of the hints have GVariant values, that means every g_variant_get with a "v" format will fail. Fix all of the g_variant_lookup calls so that they either unpack a value directly, or use a "@" prefix when it's more convenient to fetch the value as a GVariant pointer. In addition, in cases where we do fetch a GVariant, make sure that we unreference it afterward.
2019-07-04Remove trailing whitespacesLaurent Napias2-70/+70
2018-06-06Use GVariantyetist4-38/+36
2018-01-30require GTK+ 3.22 and GLib 2.50monsta4-66/+0
and drop additional checks for min/max GLib versions, it's not needed
2017-12-12WidthOfScreen and HeightOfScreen implementationPablo Barciela1-4/+5
This commit reverts: https://github.com/mate-desktop/mate-notification-daemon/commit/52b7c3807e71278f2d902a79cf6c08c839a1b0ad And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_get_height
2017-08-29gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker1-0/+22
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_point
2017-08-13avoid deprecated gdk_screen_get_width/heightZenWalker1-4/+4
2017-02-14themes/slider: Vertically center the pie_countdownIkey Doherty1-0/+1
Prior to this change we could end up with a warped pie countdown if the buttons were of a larger size, breaking the constraints of the pie to be vertically stretched. Signed-off-by: Ikey Doherty <[email protected]>
2017-02-14themes: Implement support for action-icons buttonsIkey Doherty4-10/+45
Now that all of the elements are in place to support (dynamically) the action icons, we can use the 'key' in place of the 'label' when the client sends an hint requesting it. Some other minor issues were corrected in this change, such as ensuring that we always show *all* widgets inside of the notification window so that when a live notification window is updated, the action box state is not then hidden from view. Signed-off-by: Ikey Doherty <[email protected]>
2017-02-14themes: Ensure that we never add more than one pie_countdownIkey Doherty4-32/+48
Prior to this commit we would always end up adding multiple pie_countdown widgets in a number of situations when updating the notification. In modern media player apps, many updates are sent for the lifetime of a single notification window, leading to new drawing areas being added and counting down with each track/information change. Note this hasn't been noticable for quite some time, because in many of the themes the pie countdown hasn't actually been visible due to the actions box having become hidden completely, meaning that the actions and pie show very briefly, and are immediately nuked on a change to the notification. Signed-off-by: Ikey Doherty <[email protected]>
2017-02-14themes: Add functionality to test for presence of action-iconsIkey Doherty4-20/+48
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 #111kajzer4-30/+18
2016-09-09Fix: properly escape textkajzer4-14/+40
2016-08-27Fix: escape text #106kajzer4-6/+20
2016-06-29Slider: improve GtkStyleContex functionsraveit651-69/+62
theme looks really better now
2016-06-29Standard: port to GtkStyleContextraveit651-68/+112
2016-06-24themes: make text translatableraveit654-14/+20
taken from: https://git.gnome.org/browse/notification-daemon/commit/?id=b156f34
2016-06-24standard: do not use dprecated GtkAlignmentraveit651-20/+10
2016-06-24slider: do not use dprecated GtkAlignmentraveit651-29/+20
2016-06-24nodoka: do not use deprecated GtkAlignmentraveit651-15/+7
2016-06-24coco: do not use dprecated GtkAlignmentraveit651-31/+19
2016-05-19standard: update FIXME'smonsta1-10/+4
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 optionmonsta4-678/+31
2016-05-14Coco, Nodoka: set notification window typeSorokin Alexei2-0/+2
fixes animation effects with compiz
2016-01-24use max. 50 charactersfor body labelWolfgang Ulbrich4-0/+8
2016-01-21some corrections in checks and fixes of deprecationsmonsta4-21/+26
2016-01-21use gtk_image_new_from_icon_name in both GTK+ buildsmonsta3-12/+0