From b6de48d342bb4edb4d504e66f6d844cb48778d22 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 15 May 2011 11:28:03 +0200 Subject: [PATCH] Divide preferences into visual groups --- midori/main.c | 1 + midori/midori-preferences.c | 2 ++ 2 files changed, 3 insertions(+) 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");