[Xfce4-commits] <midori:master> For lack of a better way, don't scroll extension descriptions

Christian Dywan noreply at xfce.org
Wed Nov 9 23:06:03 CET 2011


Updating branch refs/heads/master
         to ac6e23680c0c7d33c4867b4d192883fcaddf22f2 (commit)
       from 56818ca944803f1b2532f0d5128c603c832fd7d7 (commit)

commit ac6e23680c0c7d33c4867b4d192883fcaddf22f2
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Nov 9 23:04:23 2011 +0100

    For lack of a better way, don't scroll extension descriptions
    
    Obscuring the settings icon is very bad for usability.

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

diff --git a/midori/main.c b/midori/main.c
index 129a81f..ccfe353 100644
--- a/midori/main.c
+++ b/midori/main.c
@@ -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);


More information about the Xfce4-commits mailing list