From: Christian Dywan Date: Sat, 25 Oct 2008 23:48:21 +0000 (+0200) Subject: Use our own labels for WebKit Settings properties X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a623745cdcac3b63ead4fbd8a92efccd35cd781;p=midori Use our own labels for WebKit Settings properties --- diff --git a/midori/midori-preferences.c b/midori/midori-preferences.c index 99123801..cf34039e 100644 --- a/midori/midori-preferences.c +++ b/midori/midori-preferences.c @@ -383,7 +383,7 @@ midori_preferences_set_settings (MidoriPreferences* preferences, PAGE_NEW (GTK_STOCK_SELECT_FONT, _("Appearance")); FRAME_NEW (_("Font settings")); TABLE_NEW (5, 2); - label = katze_property_label (settings, "default-font-family"); + label = gtk_label_new (_("Default Font Family")); INDENTED_ADD (label, 0, 1, 0, 1); hbox = gtk_hbox_new (FALSE, 4); button = katze_property_proxy (settings, "default-font-family", "font"); @@ -391,7 +391,7 @@ midori_preferences_set_settings (MidoriPreferences* preferences, entry = katze_property_proxy (settings, "default-font-size", NULL); gtk_box_pack_end (GTK_BOX (hbox), entry, FALSE, FALSE, 4); FILLED_ADD (hbox, 1, 2, 0, 1); - label = katze_property_label (settings, "minimum-font-size"); + label = gtk_label_new (_("Minimum Font Size")); INDENTED_ADD (label, 0, 1, 1, 2); entry = katze_property_proxy (settings, "minimum-font-size", NULL); INDENTED_ADD (entry, 1, 2, 1, 2); @@ -405,16 +405,22 @@ midori_preferences_set_settings (MidoriPreferences* preferences, FRAME_NEW (_("Features")); TABLE_NEW (6, 2); button = katze_property_proxy (settings, "auto-load-images", NULL); + gtk_button_set_label (GTK_BUTTON (button), _("Load images automatically")); INDENTED_ADD (button, 0, 1, 0, 1); button = katze_property_proxy (settings, "auto-shrink-images", NULL); + gtk_button_set_label (GTK_BUTTON (button), _("Shrink images automatically")); SPANNED_ADD (button, 1, 2, 0, 1); button = katze_property_proxy (settings, "print-backgrounds", NULL); + gtk_button_set_label (GTK_BUTTON (button), _("Print backgrounds")); INDENTED_ADD (button, 0, 1, 1, 2); button = katze_property_proxy (settings, "resizable-text-areas", NULL); + gtk_button_set_label (GTK_BUTTON (button), _("Resizable text areas")); SPANNED_ADD (button, 1, 2, 1, 2); button = katze_property_proxy (settings, "enable-scripts", NULL); + gtk_button_set_label (GTK_BUTTON (button), _("Enable scripts")); INDENTED_ADD (button, 0, 1, 2, 3); button = katze_property_proxy (settings, "enable-plugins", NULL); + gtk_button_set_label (GTK_BUTTON (button), _("Enable scripts")); SPANNED_ADD (button, 1, 2, 2, 3); label = katze_property_label (settings, "location-entry-search"); INDENTED_ADD (label, 0, 1, 3, 4);