| 72 if (connecting) |
72 if (connecting) |
| 73 icon_name = PIDGIN_STOCK_TRAY_CONNECT; |
73 icon_name = PIDGIN_STOCK_TRAY_CONNECT; |
| 74 |
74 |
| 75 if (icon_name) { |
75 if (icon_name) { |
| 76 gtk_status_icon_set_from_icon_name(docklet, icon_name); |
76 gtk_status_icon_set_from_icon_name(docklet, icon_name); |
| |
77 } |
| |
78 |
| |
79 if (purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/docklet/blink")) { |
| |
80 gtk_status_icon_set_blinking(docklet, (pending && !connecting)); |
| |
81 } else if (gtk_status_icon_get_blinking(docklet)) { |
| |
82 gtk_status_icon_set_blinking(docklet, FALSE); |
| 77 } |
83 } |
| 78 } |
84 } |
| 79 |
85 |
| 80 static void |
86 static void |
| 81 docklet_gtk_status_set_tooltip(gchar *tooltip) |
87 docklet_gtk_status_set_tooltip(gchar *tooltip) |