[easytag] Do not force-enable the log visiibility on startup
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Do not force-enable the log visiibility on startup
- Date: Thu, 6 Nov 2014 16:08:52 +0000 (UTC)
commit 728b3f71276dd259f1e730ab1b48ed06fe176892
Author: David King <amigadave amigadave com>
Date: Thu Nov 6 07:38:01 2014 +0000
Do not force-enable the log visiibility on startup
https://bugzilla.gnome.org/show_bug.cgi?id=739696
src/application_window.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/application_window.c b/src/application_window.c
index 0db3294..483edf6 100644
--- a/src/application_window.c
+++ b/src/application_window.c
@@ -1719,8 +1719,6 @@ et_application_window_init (EtApplicationWindow *self)
/* Log */
priv->log_area = et_log_area_new ();
gtk_paned_pack2 (GTK_PANED (priv->vpaned), priv->log_area, FALSE, TRUE);
- g_settings_bind (MainSettings, "log-show", priv->log_area, "visible",
- G_SETTINGS_BIND_DEFAULT);
/* Horizontal box for Status bar + Progress bar */
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
@@ -1736,6 +1734,11 @@ et_application_window_init (EtApplicationWindow *self)
gtk_box_pack_end (GTK_BOX (hbox), priv->progress_bar, FALSE, FALSE, 0);
gtk_widget_show_all (GTK_WIDGET (main_vbox));
+
+ /* Bind the setting after the log area has been shown, to avoid
+ * force-enabling the visibility on startup. */
+ g_settings_bind (MainSettings, "log-show", priv->log_area, "visible",
+ G_SETTINGS_BIND_DEFAULT);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]