6d01c2069a
tested in a bulk by landry, thanks! ok landry@ jasper@
33 lines
1.3 KiB
Plaintext
33 lines
1.3 KiB
Plaintext
$OpenBSD: patch-src_gui_main_cpp,v 1.3 2011/04/21 07:07:52 ajacoutot Exp $
|
|
|
|
Fix with libnotify>=0.7
|
|
(notify_notification_new has lost its widget argument)
|
|
(notify_notification_attach_to_status_icon is gone)
|
|
|
|
--- src/gui/main.cpp.orig Sun May 30 23:58:01 2010
|
|
+++ src/gui/main.cpp Tue Apr 19 16:09:59 2011
|
|
@@ -35,7 +35,7 @@
|
|
* build the main window.
|
|
*/
|
|
|
|
-#include "revision.h"
|
|
+// #include "revision.h"
|
|
|
|
#include "config.h"
|
|
|
|
@@ -2820,12 +2820,12 @@ ekiga_main_window_incoming_call_notify (EkigaMainWindo
|
|
|
|
body = g_strdup_printf ("%s\n%s\n%s", uri, app, account);
|
|
|
|
- notify = notify_notification_new (title, body, GM_ICON_LOGO, NULL);
|
|
+ notify = notify_notification_new (title, body, GM_ICON_LOGO);
|
|
notify_notification_add_action (notify, "accept", _("Accept"), notify_action_cb, mw, NULL);
|
|
notify_notification_add_action (notify, "reject", _("Reject"), notify_action_cb, mw, NULL);
|
|
notify_notification_set_timeout (notify, NOTIFY_EXPIRES_NEVER);
|
|
notify_notification_set_urgency (notify, NOTIFY_URGENCY_CRITICAL);
|
|
- notify_notification_attach_to_status_icon (notify, statusicon);
|
|
+// notify_notification_attach_to_status_icon (notify, statusicon);
|
|
if (!notify_notification_show (notify, NULL)) {
|
|
ekiga_main_window_incoming_call_dialog_show (mw, call);
|
|
}
|