[Xfce4-commits] <midori:master> Prevent overlay frame from being caught by show_all
Christian Dywan
noreply at xfce.org
Thu Apr 4 18:32:02 CEST 2013
Updating branch refs/heads/master
to 102716cb3db86f3e6b5f469293039696ff3e24a4 (commit)
from 863c8dff9042ca5d964a9c608ac5994198eeba65 (commit)
commit 102716cb3db86f3e6b5f469293039696ff3e24a4
Author: Christian Dywan <christian at twotoasts.de>
Date: Thu Apr 4 18:25:31 2013 +0200
Prevent overlay frame from being caught by show_all
Otherwise an empty frame may show even when the statusbar is shown.
midori/midori-view.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/midori/midori-view.c b/midori/midori-view.c
index a292e4c..13ef417 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -3834,6 +3834,7 @@ midori_view_constructor (GType type,
/* Overlays must be created before showing GtkOverlay as of GTK+ 3.2 */
{
GtkWidget* frame = gtk_frame_new (NULL);
+ gtk_widget_set_no_show_all (frame, TRUE);
view->overlay_label = gtk_label_new (NULL);
gtk_widget_show (view->overlay_label);
gtk_container_add (GTK_CONTAINER (frame), view->overlay_label);
More information about the Xfce4-commits
mailing list