[Xfce4-commits] <midori:master> Remove statusbar/ progressbar hacks and let it size freely
Christian Dywan
noreply at xfce.org
Sun Nov 8 15:04:08 CET 2009
Updating branch refs/heads/master
to 1954b8a00c19a167a63be4255750186351849dae (commit)
from cc810f374d2ca5b5b81527562f1c89b5945ceaf4 (commit)
commit 1954b8a00c19a167a63be4255750186351849dae
Author: Christian Dywan <christian at twotoasts.de>
Date: Sun Nov 8 14:34:18 2009 +0100
Remove statusbar/ progressbar hacks and let it size freely
midori/midori-browser.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index e1ed1b7..19750f0 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -5776,16 +5776,9 @@ midori_browser_init (MidoriBrowser* browser)
#else
browser->statusbar_contents = browser->statusbar;
#endif
- /* Adjust the statusbar's padding to avoid child overlapping */
- rcstyle = gtk_rc_style_new ();
- rcstyle->xthickness = rcstyle->ythickness = -4;
- gtk_widget_modify_style (browser->statusbar_contents, rcstyle);
- g_object_unref (rcstyle);
gtk_box_pack_start (GTK_BOX (vbox), browser->statusbar, FALSE, FALSE, 0);
browser->progressbar = gtk_progress_bar_new ();
- /* Set the progressbar's height to 1 to fit it in the statusbar */
- gtk_widget_set_size_request (browser->progressbar, -1, 1);
gtk_box_pack_start (GTK_BOX (browser->statusbar_contents),
browser->progressbar, FALSE, FALSE, 3);
More information about the Xfce4-commits
mailing list