aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-09 20:38:57 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-12 15:43:06 +0800
commit5f4f3e491530aac63d78c00c6b06bb8cb1e4d043 (patch)
treec7de88b052761f4ba3cd4abc9093747dad5aac41
parent47fe98399a18bd0a69b86656c7821addb7916885 (diff)
downloadgsoc2013-empathy-5f4f3e491530aac63d78c00c6b06bb8cb1e4d043.tar
gsoc2013-empathy-5f4f3e491530aac63d78c00c6b06bb8cb1e4d043.tar.gz
gsoc2013-empathy-5f4f3e491530aac63d78c00c6b06bb8cb1e4d043.tar.bz2
gsoc2013-empathy-5f4f3e491530aac63d78c00c6b06bb8cb1e4d043.tar.lz
gsoc2013-empathy-5f4f3e491530aac63d78c00c6b06bb8cb1e4d043.tar.xz
gsoc2013-empathy-5f4f3e491530aac63d78c00c6b06bb8cb1e4d043.tar.zst
gsoc2013-empathy-5f4f3e491530aac63d78c00c6b06bb8cb1e4d043.zip
empathy_status_icon_new: don't ignore hide_contact_list (#623937)
That's a regression introduced when we switch to GSettings.
-rw-r--r--src/empathy-status-icon.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index acd7935d6..a11c7030b 100644
--- a/src/empathy-status-icon.c
+++ b/src/empathy-status-icon.c
@@ -725,8 +725,12 @@ empathy_status_icon_new (GtkWindow *window, gboolean hide_contact_list)
G_CALLBACK (status_icon_delete_event_cb),
icon);
- should_hide = g_settings_get_boolean (priv->gsettings_ui,
+ if (!hide_contact_list) {
+ should_hide = g_settings_get_boolean (priv->gsettings_ui,
EMPATHY_PREFS_UI_MAIN_WINDOW_HIDDEN);
+ } else {
+ should_hide = TRUE;
+ }
if (gtk_window_is_active (priv->window) == should_hide) {
status_icon_set_visibility (icon, !should_hide, FALSE);