From: Christian Dywan Date: Sun, 15 May 2011 09:28:03 +0000 (+0200) Subject: Divide preferences into visual groups X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6de48d342bb4edb4d504e66f6d844cb48778d22;p=midori Divide preferences into visual groups --- diff --git a/midori/main.c b/midori/main.c index 2b817190..feadcfb2 100644 --- a/midori/main.c +++ b/midori/main.c @@ -797,6 +797,7 @@ midori_browser_privacy_preferences_cb (MidoriBrowser* browser, button = katze_property_proxy (settings, "strip-referer", NULL); katze_preferences_add_widget (preferences, button, "indented"); #endif + katze_preferences_add_group (preferences, NULL); button = katze_property_label (settings, "maximum-history-age"); katze_preferences_add_widget (preferences, button, "indented"); button = katze_property_proxy (settings, "maximum-history-age", NULL); diff --git a/midori/midori-preferences.c b/midori/midori-preferences.c index b7e18f3c..1b255b75 100644 --- a/midori/midori-preferences.c +++ b/midori/midori-preferences.c @@ -383,6 +383,7 @@ midori_preferences_set_settings (MidoriPreferences* preferences, #endif if (button != NULL) INDENTED_ADD (button); + FRAME_NEW (NULL); button = katze_property_label (settings, "preferred-languages"); INDENTED_ADD (button); entry = katze_property_proxy (settings, "preferred-languages", "languages"); @@ -421,6 +422,7 @@ midori_preferences_set_settings (MidoriPreferences* preferences, button = katze_property_proxy (settings, "open-tabs-in-the-background", NULL); SPANNED_ADD (button); #if !HAVE_HILDON + FRAME_NEW (NULL); label = katze_property_label (settings, "text-editor"); INDENTED_ADD (label); entry = katze_property_proxy (settings, "text-editor", "application-text/plain");