** Fix for bug #514299
2008-09-15 Milan Crha <mcrha@redhat.com> ** Fix for bug #514299 * mail-notification.c: (new_notify_status): Connect to signals only once, when creating new status icon. svn path=/trunk/; revision=36338
This commit is contained in:
@ -1,3 +1,10 @@
|
||||
2008-09-15 Milan Crha <mcrha@redhat.com>
|
||||
|
||||
** Fix for bug #514299
|
||||
|
||||
* mail-notification.c: (new_notify_status):
|
||||
Connect to signals only once, when creating new status icon.
|
||||
|
||||
2008-08-12 Bharath Acharya <abharath@novell.com>
|
||||
|
||||
* Makefile.am: Have a check for OS_WIN32 and handle the schema data
|
||||
|
||||
@ -493,13 +493,15 @@ new_notify_status (EMEventTargetFolder *t)
|
||||
|
||||
g_free (msg);
|
||||
|
||||
#ifdef HAVE_LIBNOTIFY
|
||||
g_signal_connect (G_OBJECT (status_icon), "activate", G_CALLBACK (icon_activated), notify);
|
||||
#else
|
||||
g_signal_connect (G_OBJECT (status_icon), "activate", G_CALLBACK (icon_activated), NULL);
|
||||
#endif
|
||||
if (new_icon) {
|
||||
#ifdef HAVE_LIBNOTIFY
|
||||
g_signal_connect (G_OBJECT (status_icon), "activate", G_CALLBACK (icon_activated), notify);
|
||||
#else
|
||||
g_signal_connect (G_OBJECT (status_icon), "activate", G_CALLBACK (icon_activated), NULL);
|
||||
#endif
|
||||
|
||||
g_signal_connect (G_OBJECT (status_icon), "popup-menu", G_CALLBACK (popup_menu_status), NULL);
|
||||
g_signal_connect (G_OBJECT (status_icon), "popup-menu", G_CALLBACK (popup_menu_status), NULL);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user