Updating branch refs/heads/master
         to 568461c6c53eafc7130825dd544fc80a9d8f5605 (commit)
       from e2816612c540513d8cd5ea1ad082cdc070e06fc4 (commit)

commit 568461c6c53eafc7130825dd544fc80a9d8f5605
Author: Christian Dywan <christ...@twotoasts.de>
Date:   Sat Dec 17 11:18:01 2011 +0100

    Set appropximate minimum size on inspector
    
    Fixes: https://bugs.launchpad.net/midori/+bug/867582

 midori/midori-view.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/midori/midori-view.c b/midori/midori-view.c
index c78c379..2ff30be 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -3433,6 +3433,8 @@ midori_view_web_inspector_construct_window (gpointer      
 inspector,
         width = gdk_screen_get_width (screen) / 1.7;
         height = gdk_screen_get_height (screen) / 1.7;
         gtk_window_set_default_size (GTK_WINDOW (window), width, height);
+        /* 700x100 is the approximate useful minimum dimensions */
+        gtk_widget_set_size_request (inspector_view, 700, 100);
     }
 
     /* Attempt to make a gray version of the icon on the fly */
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to