[rhythmbox] status-icon: require window-visible to be set to FALSE to hide it (bug #528513)
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] status-icon: require window-visible to be set to FALSE to hide it (bug #528513)
- Date: Tue, 9 Mar 2010 12:07:12 +0000 (UTC)
commit e9f5b2c346584a75d26e54d3f7a866626d4d22ff
Author: Jonathan Matthew <jonathan d14n org>
Date: Tue Mar 9 22:00:39 2010 +1000
status-icon: require window-visible to be set to FALSE to hide it (bug #528513)
If the gconf schemas are somehow not installed and the window-visible
key is not set, we should show the main window rather than hiding it.
Most gconf keys don't warrant this treatment, but this one seems worth
it.
plugins/status-icon/rb-status-icon-plugin.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/status-icon/rb-status-icon-plugin.c b/plugins/status-icon/rb-status-icon-plugin.c
index 41c59be..4c931b5 100644
--- a/plugins/status-icon/rb-status-icon-plugin.c
+++ b/plugins/status-icon/rb-status-icon-plugin.c
@@ -1014,7 +1014,7 @@ visibility_changing_cb (RBShell *shell,
if (initial) {
/* restore visibility from gconf setting */
- visible = eel_gconf_get_boolean (CONF_WINDOW_VISIBILITY);
+ visible = eel_gconf_get_boolean (CONF_WINDOW_VISIBILITY) || eel_gconf_is_default (CONF_WINDOW_VISIBILITY);
rb_debug ("setting initial visibility %d from gconf", visible);
return visible;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]