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).
svn path=/trunk/; revision=223
+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
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);