updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / network-manager-applet-notify-osd / lp289466_always_show_tray_icon.patch
blobb9f13a4e20ef425b61bb37625539ca064acb944b
1 === modified file 'src/applet.c'
2 ---
3 src/applet.c | 5 ++++-
4 1 file changed, 4 insertions(+), 1 deletion(-)
6 Index: network-manager-applet-0.8.1+git.20100809t190028.290dc70/src/applet.c
7 ===================================================================
8 --- network-manager-applet-0.8.1+git.20100809t190028.290dc70.orig/src/applet.c 2010-08-10 14:47:03.000000000 -0400
9 +++ network-manager-applet-0.8.1+git.20100809t190028.290dc70/src/applet.c 2010-08-10 15:13:45.967155252 -0400
10 @@ -2232,6 +2232,8 @@
12 if (nm_client_get_manager_running (applet->nm_client))
13 g_idle_add (foo_set_initial_state, applet);
15 + applet_schedule_update_icon (applet);
18 static GdkPixbuf *
19 @@ -2350,6 +2352,8 @@
20 out:
21 if (!pixbuf)
22 pixbuf = applet_common_get_device_icon (state, applet);
23 + if (!pixbuf)
24 + pixbuf = applet->no_connection_icon;
25 return pixbuf;
28 @@ -2417,7 +2421,6 @@
29 applet->update_icon_id = 0;
31 nm_running = nm_client_get_manager_running (applet->nm_client);
32 - gtk_status_icon_set_visible (applet->status_icon, nm_running);
34 /* Handle device state first */