]> spindle.queued.net Git - midori/commitdiff
Set appropximate minimum size on inspector
authorChristian Dywan <christian@twotoasts.de>
Sat, 17 Dec 2011 10:18:01 +0000 (11:18 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sat, 17 Dec 2011 10:18:01 +0000 (11:18 +0100)
Fixes: https://bugs.launchpad.net/midori/+bug/867582
midori/midori-view.c

index c78c379cd23edb553f3f3e31785cd8474346c6b4..2ff30bed1b72bd9a23e35cb1e43b614a60c6e44d 100644 (file)
@@ -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 */