Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37399157
en ru br
Репозитории ALT
S:0.4.4-alt1
5.1: 0.2.10-alt1.M51.1
www.altlinux.org/Changes

Группа :: Офис
Пакет: osmo

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: osmo-0.2.10-libnotify-0.7.0.patch
Скачать


--- osmo-0.2.10.orig/src/check_events.c	2010-03-31 23:47:34.000000000 +0200
+++ osmo-0.2.10/src/check_events.c	2010-11-06 14:03:30.775795323 +0100
@@ -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,6 @@
 #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 +529,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 +542,6 @@
 #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) {
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin