]> spindle.queued.net Git - midori/commitdiff
For lack of a better way, don't scroll extension descriptions
authorChristian Dywan <christian@twotoasts.de>
Wed, 9 Nov 2011 22:04:23 +0000 (23:04 +0100)
committerChristian Dywan <christian@twotoasts.de>
Wed, 9 Nov 2011 22:04:23 +0000 (23:04 +0100)
Obscuring the settings icon is very bad for usability.

midori/main.c

index 129a81f1f624ed73c539d0d0a6f86c1a6873281f..ccfe353237b59258314b9489148389bbd68332fc 100644 (file)
@@ -731,6 +731,8 @@ midori_browser_show_preferences_cb (MidoriBrowser*    browser,
     g_object_unref (array);
 
     scrolled = g_object_new (KATZE_TYPE_SCROLLED, "visible", TRUE, NULL);
+    /* For lack of a better way of keeping descriptions visible */
+    g_object_set (scrolled, "hscrollbar-policy", GTK_POLICY_NEVER, NULL);
     addon = g_object_new (MIDORI_TYPE_EXTENSIONS, "app", app, NULL);
     children = gtk_container_get_children (GTK_CONTAINER (addon));
     gtk_widget_reparent (g_list_nth_data (children, 0), scrolled);