summaryrefslogtreecommitdiff
path: root/src/daemon
AgeCommit message (Collapse)AuthorFilesLines
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-23Do not use g_assert_nonnullinfirit1-2/+2
This was added in Glib 2.40 and we still target 2.36.
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_icon_info_freeraveit651-0/+4
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 textraveit652-0/+29
Closes https://github.com/mate-desktop/mate-notification-daemon/pull/52
2015-03-02first connect to settings, then read them.Monsta2-3/+3
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-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-07-03Cleanup GTK_CHECK_VERSION and unify code where possibleinfirit1-8/+0
* 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-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.
2013-10-26daemon: Add GTK3 supportLaszlo Boros1-1/+1
2013-10-08Make automake happy: INCLUDES->AM_CPPFLAGSinfirit1-1/+1
2013-10-08back to libwnckinfirit1-14/+15
2013-02-28Show always a notification if it has 'expires never' as timeoutStefano Karapetsas1-1/+4
Without check if there is active screensaver or fullscreen window
2013-02-28Fix indentationStefano Karapetsas1-19/+19
2013-01-20Merged.Steve Zesch1-5/+2
2013-01-20Backend now supports selecting which monitor to display a notification on.Steve Zesch2-3/+17
2013-01-04Fix engine loading portabilityYaakov Selkowitz1-5/+2
Use GModule APIs for determining engine filenames. Also, link with the -no-undefined flag, required on PE platforms.
2012-08-03migrate to GSettingsStefano Karapetsas3-37/+21
2012-07-31Fixed incorrect fsf address. Closes issue #6.Steve Zesch8-16/+16
2012-06-08port to libmatewnckStefano Karapetsas1-15/+14
2012-05-12scale icon if size is greater than IMAGE_SIZEStefano Karapetsas1-1/+49
2012-01-01GDK_DISPLAY() is deprecatedPerberos1-36/+14
2012-01-02missing 'G', or we was using a DonkeyKong library??Stefano Karapetsas1-1/+1
2011-12-10removed autogenerated filesStefano Karapetsas1-617/+0
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos11-0/+3365