- more fixes auto/th/dhcpcd-ui-0_5_1-2
authorlisu <lisu@pld-linux.org>
Thu, 7 Apr 2011 09:44:20 +0000 (09:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dhcpcd-ui-libnotify.patch -> 1.2

dhcpcd-ui-libnotify.patch

index 10c7017f3f17f2e5c8fe692506de203cc5020199..0dc8b429d7cd9e849baffaffee27768f1a2af3cb 100644 (file)
@@ -1,15 +1,18 @@
 --- dhcpcd-ui-0.5.1/src/dhcpcd-gtk/main.c~     2010-06-09 15:55:38.000000000 +0200
-+++ dhcpcd-ui-0.5.1/src/dhcpcd-gtk/main.c      2011-04-07 11:30:09.459298809 +0200
-@@ -198,7 +198,11 @@
++++ dhcpcd-ui-0.5.1/src/dhcpcd-gtk/main.c      2011-04-07 11:43:05.405993616 +0200
+@@ -194,11 +194,15 @@
+       g_strfreev(msgs);
+       if (nn != NULL)
+               notify_notification_close(nn, NULL);
++#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
+       if (gtk_status_icon_get_visible(status_icon))
                nn = notify_notification_new_with_status_icon(title,
                    msg, icon, status_icon);
        else
--              nn = notify_notification_new(title, msg, icon, NULL);
-+              nn = notify_notification_new(title, msg, icon
-+#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
-+                              , NULL
+               nn = notify_notification_new(title, msg, icon, NULL);
++#else
++      nn = notify_notification_new(title, msg, icon);
 +#endif
-+                              );
        notify_notification_set_timeout(nn, 5000);
        g_signal_connect(nn, "closed", G_CALLBACK(notify_closed), NULL);
        notify_notification_show(nn, NULL);
This page took 0.035095 seconds and 4 git commands to generate.