summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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-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 compositedinfirit3-17/+17
We really are checking if we have a compositer running so composited fits better.
2015-07-28Help: remove useless help button from guiraveit652-39/+2
+ little GUI adjustments, looks better with two buttons
2015-07-25daemon: remove redundant initialization of scale_factorGiedrius Statkevičius1-1/+1
2015-07-25daemon: refactor scale_factor calculationGiedrius Statkevičius1-13/+1
Avoid problematic comparison between two floats, remove two unneeded variables and in general reduce the amount of work in that function
2015-07-24Gtk3: daemon: Drop unneeded get_preferred_width and GtkWidgetClassinfirit1-20/+0
2015-07-24Fix comparison between unsigned and signed intinfirit1-1/+1
2015-07-24Fix several incompatible pointer type warningsinfirit4-4/+4
2015-07-23Do not use g_assert_nonnullinfirit1-2/+2
This was added in Glib 2.40 and we still target 2.36.
2015-07-22GTK3: don't use deprecated GtkRcStyleraveit652-0/+8
taken from https://git.gnome.org/browse/notification-daemon/commit/?id=2f0409b
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-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: remove multi-screen coderaveit651-0/+115
Since GTK+ 3.10.0 there is only one screen per display. taken from https://git.gnome.org/browse/notification-daemon/commit/?id=66fd9bd
2015-07-22GTK3: replace deprecated gtk_widget_size_requestraveit652-1/+13
2015-07-22GTK3: replace deprecated gtk_[v/h]_box_newraveit654-0/+20
2015-07-22Gtk3: replace deprecated gtk_misc_set_alignmentraveit654-2/+83
2015-07-22GTK3: replace deprecated gtk_icon_info_freeraveit651-0/+4
2015-07-22all themes: don't crash on notifications from RhythmboxMonsta4-4/+4
fixes https://github.com/mate-desktop/mate-notification-daemon/issues/55
2015-07-19daemon: exit with 0 on idleGiedrius Statkevičius1-3/+1
Exit with 0 (EXIT_SUCCESS) on idle due to the fact that some D-Bus implementations like kdbus are tracking daemons' exit codes and will mark mate-notification-daemon as if it failed if it exits with 1.
2015-07-09daemon: clean up {add,remove}_exit_timeout()Giedrius Statkevičius1-4/+4
Add a nonnull assertion, remove unnecessary {} around one return statement
2015-07-09daemon: use gbooleans instead of guint bit fieldsGiedrius Statkevičius1-2/+2
Almost everything about bit fields are implementation defined and there is a special type for storing booleans (which these bit fields were used for) so use that instead because of portability
2015-06-17GTK3: Fix positioning notifications with long textraveit656-0/+53
Closes https://github.com/mate-desktop/mate-notification-daemon/pull/52
2015-03-02first connect to settings, then read them.Monsta3-8/+10
fixes the issue with GLib >= 2.43, https://git.gnome.org/browse/glib/commit/?id=8ff5668a458344da22d30491e3ce726d861b3619 Closes https://github.com/mate-desktop/mate-notification-daemon/pull/45
2014-12-31capplet: use "popup" instead of "pop-up" everywhere for consistencyMonsta1-2/+2
fixes https://github.com/mate-desktop/mate-notification-daemon/issues/35
2014-12-31daemon: fixed logic in a couple of placesMonsta1-2/+2
2014-12-23don't leak memoryMonsta1-5/+7
2014-10-22Fix crash when switching monitorsEugene Kilachkoff1-0/+7
When switching monitors AND displaying notifications at the same time, a rare situation might occur when notification window will be added to two or more stacks. One of the stacks will be removed soon enough, but the "destroy" handler will persist and will be triggered when the window disappears. This results in a reference to a freed memory and (usually) a daemon crash, a typical one is https://retrace.fedoraproject.org/faf/reports/359836/ for example. So, the removal handlers referring to a deleted stack must be cancelled prior to removal. Closes https://github.com/mate-desktop/mate-notification-daemon/pull/34
2014-10-02don't draw pie if timeout is zeroDenis Gorodnichev2-0/+6
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+ versionsinfirit3-16/+0
2014-07-03Cleanup GTK_CHECK_VERSION and unify code where possibleinfirit5-223/+23
* 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+ versionsinfirit4-25/+9
Also fix a bug in add_notification_action in coco-theme
2014-07-02Remove support for GTK2 < 2.20Stefano Karapetsas1-7/+2
2014-06-27Fix assertion WNCK_IS_WORKSPACEJun Wu1-0/+5
Some window manager such as i3-wm may cause wnck_screen_get_active_workspace to return NULL. Add a sanity check before using the return value.
2014-01-18Merge branch 'master' of github.com:mate-desktop/mate-notification-daemonStefano Karapetsas4-5/+5
2014-01-18nodoka: Add GTK3 supportStefano Karapetsas1-8/+176
2014-01-18coco: Add GTK3 supportStefano Karapetsas1-8/+120
2014-01-18slider: Add GTK3 supportStefano Karapetsas1-88/+307
2014-01-18standard: Add GTK3 supportStefano Karapetsas1-27/+132