For lack of a better way, don't scroll extension descriptions
Obscuring the settings icon is very bad for usability.
This commit is contained in:
parent
56818ca944
commit
ac6e23680c
1 changed files with 2 additions and 0 deletions
|
@ -731,6 +731,8 @@ midori_browser_show_preferences_cb (MidoriBrowser* browser,
|
||||||
g_object_unref (array);
|
g_object_unref (array);
|
||||||
|
|
||||||
scrolled = g_object_new (KATZE_TYPE_SCROLLED, "visible", TRUE, NULL);
|
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);
|
addon = g_object_new (MIDORI_TYPE_EXTENSIONS, "app", app, NULL);
|
||||||
children = gtk_container_get_children (GTK_CONTAINER (addon));
|
children = gtk_container_get_children (GTK_CONTAINER (addon));
|
||||||
gtk_widget_reparent (g_list_nth_data (children, 0), scrolled);
|
gtk_widget_reparent (g_list_nth_data (children, 0), scrolled);
|
||||||
|
|
Loading…
Reference in a new issue