[empathy] empathy_status_icon_new: don't ignore hide_contact_list (#623937)
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] empathy_status_icon_new: don't ignore hide_contact_list (#623937)
- Date: Mon, 12 Jul 2010 07:43:18 +0000 (UTC)
commit 5f4f3e491530aac63d78c00c6b06bb8cb1e4d043
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Jul 9 14:38:57 2010 +0200
empathy_status_icon_new: don't ignore hide_contact_list (#623937)
That's a regression introduced when we switch to GSettings.
src/empathy-status-icon.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index acd7935..a11c703 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]