| 165 icon_name = PIDGIN_STOCK_TRAY_CONNECT; |
165 icon_name = PIDGIN_STOCK_TRAY_CONNECT; |
| 166 |
166 |
| 167 if (icon_name) { |
167 if (icon_name) { |
| 168 gtk_status_icon_set_from_icon_name(docklet, icon_name); |
168 gtk_status_icon_set_from_icon_name(docklet, icon_name); |
| 169 } |
169 } |
| 170 |
|
| 171 if (purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/docklet/blink")) { |
|
| 172 gtk_status_icon_set_blinking(docklet, (pending && !connecting)); |
|
| 173 } else if (gtk_status_icon_get_blinking(docklet)) { |
|
| 174 gtk_status_icon_set_blinking(docklet, FALSE); |
|
| 175 } |
|
| 176 } |
170 } |
| 177 |
171 |
| 178 static void |
172 static void |
| 179 docklet_gtk_status_set_tooltip(gchar *tooltip) |
173 docklet_gtk_status_set_tooltip(gchar *tooltip) |
| 180 { |
174 { |
| 181 gtk_status_icon_set_tooltip(docklet, tooltip); |
175 gtk_status_icon_set_tooltip_text(docklet, tooltip); |
| 182 } |
176 } |
| 183 |
177 |
| 184 static void |
178 static void |
| 185 docklet_gtk_status_position_menu(GtkMenu *menu, |
179 docklet_gtk_status_position_menu(GtkMenu *menu, |
| 186 int *x, int *y, gboolean *push_in, |
180 int *x, int *y, gboolean *push_in, |