aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-09 20:39:54 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-12 15:43:06 +0800
commitb17b7bcb810f293a2de4515bbc7239b786189293 (patch)
tree6c926b4b635f75bfa75006c79f7b7d0afc5cfc23 /src
parent5f4f3e491530aac63d78c00c6b06bb8cb1e4d043 (diff)
downloadgsoc2013-empathy-b17b7bcb810f293a2de4515bbc7239b786189293.tar
gsoc2013-empathy-b17b7bcb810f293a2de4515bbc7239b786189293.tar.gz
gsoc2013-empathy-b17b7bcb810f293a2de4515bbc7239b786189293.tar.bz2
gsoc2013-empathy-b17b7bcb810f293a2de4515bbc7239b786189293.tar.lz
gsoc2013-empathy-b17b7bcb810f293a2de4515bbc7239b786189293.tar.xz
gsoc2013-empathy-b17b7bcb810f293a2de4515bbc7239b786189293.tar.zst
gsoc2013-empathy-b17b7bcb810f293a2de4515bbc7239b786189293.zip
empathy_status_icon_new: always call status_icon_set_visibility
Seems calling gtk_widget_show() doesn't mark the window as active right away. This code used to work fine before but doesn't since we replace empathy_main_window_show() by empathy_main_window_dup().
Diffstat (limited to 'src')
-rw-r--r--src/empathy-status-icon.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index a11c7030b..97ab255e6 100644
--- a/src/empathy-status-icon.c
+++ b/src/empathy-status-icon.c
@@ -732,9 +732,7 @@ empathy_status_icon_new (GtkWindow *window, gboolean hide_contact_list)
should_hide = TRUE;
}
- if (gtk_window_is_active (priv->window) == should_hide) {
- status_icon_set_visibility (icon, !should_hide, FALSE);
- }
+ status_icon_set_visibility (icon, !should_hide, FALSE);
return icon;
}