summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@src.gnome.org>2003-12-01 03:14:33 +0000
committerShaun McCance <shaunm@src.gnome.org>2003-12-01 03:14:33 +0000
commitdec92c7e162ca5e0db565f0138170c8483598265 (patch)
tree9158522919b4eefa0a4c9a8c3bf846d6011c4901
parentaaae59239520af386273f64201d1473d73fc29ba (diff)
downloadyelp-dec92c7e162ca5e0db565f0138170c8483598265.tar.gz
- Make no-sidebar the default, to avoid momentary flicker.
* src/yelp-window.c: - Make no-sidebar the default, to avoid momentary flicker.
-rw-r--r--ChangeLog5
-rw-r--r--src/yelp-window.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 7494b0ca..90e711b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2003-11-30 Shaun McCance <shaunm@gnome.org>
+ * src/yelp-window.c:
+ - Make no-sidebar the default, to avoid momentary flicker.
+
+2003-11-30 Shaun McCance <shaunm@gnome.org>
+
* data/toc.xml.in:
- Some work on the TOC.
diff --git a/src/yelp-window.c b/src/yelp-window.c
index 17cc1ff7..0e824fa2 100644
--- a/src/yelp-window.c
+++ b/src/yelp-window.c
@@ -462,10 +462,8 @@ window_populate (YelpWindow *window)
gtk_container_add (GTK_CONTAINER (priv->html_sw),
yelp_html_get_widget (priv->html_view));
- gtk_paned_add2 (GTK_PANED (priv->pane), priv->html_sw);
-
gtk_box_pack_start (GTK_BOX (priv->main_box),
- priv->pane,
+ priv->html_sw,
TRUE, TRUE, 0);
gtk_widget_grab_focus (yelp_html_get_widget (priv->html_view));
@@ -574,6 +572,7 @@ window_set_sections (YelpWindow *window,
gtk_box_pack_start (GTK_BOX (priv->main_box),
priv->pane,
TRUE, TRUE, 0);
+ gtk_widget_show_all (priv->main_box);
}
g_list_free (children);
} else {
@@ -593,6 +592,7 @@ window_set_sections (YelpWindow *window,
gtk_box_pack_start (GTK_BOX (priv->main_box),
priv->html_sw,
TRUE, TRUE, 0);
+ gtk_widget_show_all (priv->main_box);
}
g_list_free (children);
}