Use our own labels for WebKit Settings properties
This commit is contained in:
parent
c82624f16a
commit
7a623745cd
1 changed files with 8 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue