/[gentoo-x86]/media-sound/padevchooser/files/padevchooser-0.9.3-libnotify-0.7.patch
Gentoo

Contents of /media-sound/padevchooser/files/padevchooser-0.9.3-libnotify-0.7.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sat Jul 21 14:04:04 2012 UTC (2 years, 1 month ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove package

1 ssuominen 1.1 --- src/padevchooser.c
2     +++ src/padevchooser.c
3     @@ -162,7 +162,15 @@
4    
5     if (!notification) {
6     s = g_strdup_printf("<i>%s</i>\n%s", title, text);
7     - notification = notify_notification_new(title, s, "audio-card", GTK_WIDGET(tray_icon));
8     +#ifdef NOTIFY_CHECK_VERSION
9     +#if NOTIFY_CHECK_VERSION (0, 7, 0)
10     + notification = notify_notification_new(title, s, "audio-card");
11     +#else
12     + notification = notify_notification_new(title, s, "audio-card", GTK_WIDGET(tray_icon));
13     +#endif
14     +#else
15     + notification = notify_notification_new(title, s, "audio-card", GTK_WIDGET(tray_icon));
16     +#endif
17     notify_notification_set_category(notification, "device.added");
18     notify_notification_set_urgency(notification, NOTIFY_URGENCY_LOW);
19     g_signal_connect_swapped(G_OBJECT(notification), "closed", G_CALLBACK(notification_closed), NULL);

  ViewVC Help
Powered by ViewVC 1.1.20