summaryrefslogtreecommitdiff
path: root/src/themes/coco
AgeCommit message (Collapse)AuthorFilesLines
2018-01-30require GTK+ 3.22 and GLib 2.50monsta1-12/+0
and drop additional checks for min/max GLib versions, it's not needed
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-2/+3
taken from: https://git.gnome.org/browse/notification-daemon/commit/?id=b156f34
2016-06-24coco: do not use dprecated GtkAlignmentraveit651-31/+19
2016-05-19require GTK+ >= 3.14, drop GTK+2 code and --with-gtk build optionmonsta1-126/+6
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-4/+5
2015-11-03coco: fix gtk3 window height the right waylukefromdc1-0/+1
Coco:fix the height of the entire notification window in gtk3 builds, not just the visible area This gives consistant position no matter what the height of the notification window, and never overlaps the panel regardless of panel position. Top, bottom, left, right panels tested along with top left, top right, bottom left, and bottom right notification locations. None overlapped, consistant spacing from notification window to panel in all cases-just like slider. The previous "fix" has been reverted and is not present in this commit.
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-6/+5
2015-10-15coco: fix missing prototypes warningGiedrius Statkevičius1-0/+17
2015-10-05themes: check for GTK+3 release, not dev versionMonsta1-4/+4
2015-07-28Remove unnecessary eventbox from themesinfirit1-13/+1
2015-07-28coco: Move the draw and expose-event handling from paint_windowinfirit1-19/+30
No functional change but this makes the code a bit cleaner and easier to read.
2015-07-28coco: Shape windows without compositinginfirit1-0/+109
2015-07-28coco: Add handle configure eventinfirit1-0/+12
2015-07-28coco: Rework cairo drawinginfirit1-62/+49
Fixes background in Gtk3
2015-07-28themes: Rename enable_transparency to compositedinfirit1-5/+5
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-22coco: Drop GdkPixmap usage for cairo in Gtk2infirit1-23/+1
2015-07-22coco: Also set wrap mode for Gtk2infirit1-4/+1
Rids us of more GTK_CHECK_VERSION
2015-07-22coco: Always use GtkAllocationinfirit1-18/+4
Rids us of some GTK_CHECK_VERSION
2015-07-22coco: Fix whitespace in paint_windowinfirit1-42/+46
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-10-02don't draw pie if timeout is zeroDenis Gorodnichev1-0/+3
Closes https://github.com/mate-desktop/mate-notification-daemon/pull/38
2014-10-01coco: Show actions boxStefano Karapetsas1-2/+0
Closes https://github.com/mate-desktop/mate-notification-daemon/issues/37
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-21/+1
* 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-5/+1
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-18coco: Add GTK3 supportStefano Karapetsas1-8/+120
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/+638