diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | libempathy-gtk/empathy-status-icon.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2007-08-02 Xavier Claessens <xclaesse@gmail.com> + * libempathy-gtk/empathy-status-icon.c: Click on the tray icon shows the + window if it's not active and hide if it is. Fixes bug #462057 + (Olivier Valentin). + +2007-08-02 Xavier Claessens <xclaesse@gmail.com> + * libempathy-gtk/empathy-group-chat.c: don't display "Topic set to: (null)". Fixes bug #460205 (Michael Scherer). diff --git a/libempathy-gtk/empathy-status-icon.c b/libempathy-gtk/empathy-status-icon.c index 6cd0f5f90..654cbd50d 100644 --- a/libempathy-gtk/empathy-status-icon.c +++ b/libempathy-gtk/empathy-status-icon.c @@ -387,7 +387,7 @@ status_icon_toggle_visibility (EmpathyStatusIcon *icon) priv = GET_PRIV (icon); - visible = empathy_window_get_is_visible (GTK_WINDOW (priv->window)); + visible = gtk_window_has_toplevel_focus (GTK_WINDOW (priv->window)); if (visible) { empathy_window_iconify (priv->window, priv->icon); |