diff options
author | Koop Mast <kwm@FreeBSD.org> | 2011-08-23 18:39:19 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2011-08-23 18:39:19 +0000 |
commit | fe61bf1eb4f2758636a3c065686a833eb412df25 (patch) | |
tree | 1474457ea487adcafec2ab29e99ab61897a3e479 /deskutils/osmo | |
parent | 5732783897145621b6af3ab08fba8d9af40f338b (diff) | |
download | ports-fe61bf1eb4f2758636a3c065686a833eb412df25.tar.gz ports-fe61bf1eb4f2758636a3c065686a833eb412df25.zip |
Notes
Diffstat (limited to 'deskutils/osmo')
-rw-r--r-- | deskutils/osmo/Makefile | 2 | ||||
-rw-r--r-- | deskutils/osmo/files/patch-src__check_events.c | 48 |
2 files changed, 49 insertions, 1 deletions
diff --git a/deskutils/osmo/Makefile b/deskutils/osmo/Makefile index 7108fbef4019..06acdbc4b4c5 100644 --- a/deskutils/osmo/Makefile +++ b/deskutils/osmo/Makefile @@ -7,7 +7,7 @@ PORTNAME= osmo PORTVERSION= 0.2.10 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= deskutils MASTER_SITES= SF/${PORTNAME}-pim/${PORTNAME}-pim/${PORTNAME}-${PORTVERSION}/ diff --git a/deskutils/osmo/files/patch-src__check_events.c b/deskutils/osmo/files/patch-src__check_events.c new file mode 100644 index 000000000000..24f53e87349d --- /dev/null +++ b/deskutils/osmo/files/patch-src__check_events.c @@ -0,0 +1,48 @@ +--- src/check_events.c.orig 2011-08-12 15:17:59.000000000 +0200 ++++ src/check_events.c 2011-08-12 15:20:36.000000000 +0200 +@@ -454,9 +454,9 @@ + a->date = 0; + + if (textdesc != NULL) +- a->notify = notify_notification_new (item->summary, textdesc, GTK_STOCK_DIALOG_WARNING, NULL); ++ a->notify = notify_notification_new (item->summary, textdesc, GTK_STOCK_DIALOG_WARNING); + else +- a->notify = notify_notification_new (item->summary, text, GTK_STOCK_DIALOG_WARNING, NULL); ++ a->notify = notify_notification_new (item->summary, text, GTK_STOCK_DIALOG_WARNING); + + g_free (textdesc); + g_free (text); +@@ -483,9 +483,7 @@ + #endif /* HAVE_LIBNOTIFY */ + + if (gtk_status_icon_get_visible (appGUI->osmo_trayicon)) { +-#ifdef HAVE_LIBNOTIFY +- notify_notification_attach_to_status_icon (a->notify, appGUI->osmo_trayicon); +-#endif /* HAVE_LIBNOTIFY */ ++ + gtk_status_icon_set_from_stock (appGUI->osmo_trayicon, OSMO_STOCK_SYSTRAY_TASK); + + if (config.blink_on_events) { +@@ -532,9 +530,9 @@ + a->time = -1; + a->date = 0; + if (textdesc != NULL) +- a->notify = notify_notification_new (_("Alarm warning!"), textdesc, GTK_STOCK_DIALOG_INFO, NULL); ++ a->notify = notify_notification_new (_("Alarm warning!"), textdesc, GTK_STOCK_DIALOG_INFO); + else +- a->notify = notify_notification_new (_("Alarm warning!"), text, GTK_STOCK_DIALOG_INFO, NULL); ++ a->notify = notify_notification_new (_("Alarm warning!"), text, GTK_STOCK_DIALOG_INFO); + + notify_notification_set_timeout (a->notify, NOTIFY_EXPIRES_NEVER); + notify_notification_set_urgency (a->notify, NOTIFY_URGENCY_NORMAL); +@@ -545,9 +543,7 @@ + #endif /* HAVE_LIBNOTIFY */ + + if (gtk_status_icon_get_visible (appGUI->osmo_trayicon)) { +-#ifdef HAVE_LIBNOTIFY +- notify_notification_attach_to_status_icon (a->notify, appGUI->osmo_trayicon); +-#endif /* HAVE_LIBNOTIFY */ ++ + gtk_status_icon_set_from_stock (appGUI->osmo_trayicon, OSMO_STOCK_SYSTRAY_TASK); + + if (config.blink_on_events) { |