summaryrefslogtreecommitdiff
path: root/src/themes/nodoka
AgeCommit message (Collapse)AuthorFilesLines
2017-02-14themes: Implement support for action-icons buttonsIkey Doherty1-2/+11
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 Doherty1-9/+12
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 Doherty1-2/+10
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-8/+5
2016-09-09Fix: properly escape textkajzer1-4/+10
2016-08-27Fix: escape text #106kajzer1-2/+7
2016-06-24themes: make text translatableraveit651-4/+5
taken from: https://git.gnome.org/browse/notification-daemon/commit/?id=b156f34
2016-06-24nodoka: do not use deprecated GtkAlignmentraveit651-15/+7
2016-05-19require GTK+ >= 3.14, drop GTK+2 code and --with-gtk build optionmonsta1-142/+9
2016-05-14Coco, Nodoka: set notification window typeSorokin Alexei1-0/+1
fixes animation effects with compiz
2016-01-24use max. 50 charactersfor body labelWolfgang Ulbrich1-0/+3
2016-01-21some corrections in checks and fixes of deprecationsmonsta1-8/+9
2016-01-21use gtk_image_new_from_icon_name in both GTK+ buildsmonsta1-4/+0
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-11-05GTK3 Nodoka: remove wrong border from notificationWolfgang Ulbrich1-0/+2
2015-11-03Gtk3: fix height of notification in nodoka and standard themeWolfgang Ulbrich1-0/+1
- this fixes also the position of the notifications credits to..... Author: lukefromdc
2015-11-02Nodoka: use a fixed font colorWolfgang Ulbrich1-2/+6
fixes https://github.com/mate-desktop/mate-notification-daemon/issues/86 Currenty the theme use the font color from gtk theme, which give us unreadable notifications text in case of using a dark gtk theme with mostly light font colors.
2015-10-31coco, nodoka, slider: removed a unused variable and fixes warningsWolfgang Ulbrich1-2/+0
2015-10-16themes: use pi value provided by glibGiedrius Statkevičius1-11/+10
2015-10-15nodoka: fix missing prototype warningsGiedrius Statkevičius1-0/+17
2015-10-05themes: check for GTK+3 release, not dev versionMonsta1-5/+5
2015-08-05nodoka: remove unused variable screen_heightGiedrius Statkevičius1-3/+0
2015-07-28Remove unnecessary eventbox from themesinfirit1-13/+1
2015-07-28Gtk3: nodoka: Use GdkRGBAinfirit1-18/+26
2015-07-28nodoka: Move the draw and expose-event handling from paint_windowinfirit1-18/+25
No functional change but this makes the code a bit cleaner and easier to read.
2015-07-28nodoka: Shape windows without compositinginfirit1-0/+109
2015-07-28nodoka: rework cairo drawinginfirit1-57/+44
Fixes background in Gtk3
2015-07-28nodoka: Use a cairo rectangle instead of a gdk rectangleinfirit1-31/+29
They are virtually the same and in Gtk3 GdkRectangle is a cairo_rectangle_int_t anyway.
2015-07-28themes: Rename enable_transparency to compositedinfirit1-7/+7
We really are checking if we have a compositer running so composited fits better.
2015-07-24Fix several incompatible pointer type warningsinfirit1-1/+1
2015-07-22nodoka: Drop GdkPixmap usage for cairo in Gtk2infirit1-36/+11
2015-07-22nodoka: Fix whitespace in paint_windowinfirit1-38/+42
2015-07-22nodoka: Also set wrap mode for Gtk2infirit1-4/+1
Rids us of some GTK_CHECK_VERSION
2015-07-22GTK3: replace deprecated gtk_[v/h]_box_newraveit651-0/+5
2015-07-22Gtk3: replace deprecated gtk_misc_set_alignmentraveit651-1/+25
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-10-02don't draw pie if timeout is zeroDenis Gorodnichev1-0/+3
Closes https://github.com/mate-desktop/mate-notification-daemon/pull/38
2014-07-03Use g_object_unref in callback for both Gtk+ versionsinfirit1-4/+0
2014-07-03Cleanup GTK_CHECK_VERSION and unify code where possibleinfirit1-82/+5
* 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-8/+4
Also fix a bug in add_notification_action in coco-theme
2014-01-18Merge branch 'master' of github.com:mate-desktop/mate-notification-daemonStefano Karapetsas1-1/+1
2014-01-18nodoka: Add GTK3 supportStefano Karapetsas1-8/+176
2013-12-27Check value type of notification hint 'urgency' before dereferencing in ↵Philipp Kerling1-1/+1
nodoka and coco theme
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-05-09add coco (notify-osd like) and nodoka (from fedora) themes, start 1.3 releasemate-notification-daemon-1.3.0Stefano Karapetsas2-0/+1041