[Xfce4-commits] <midori:master> Left-align labels in preferences dialogue
Christian Dywan
noreply at xfce.org
Sun May 15 21:42:01 CEST 2011
Updating branch refs/heads/master
to a1855abf675a270113a468e17072c9ea72d20545 (commit)
from f97395dab1f6a0461cd1c56ba8db6fbb29396903 (commit)
commit a1855abf675a270113a468e17072c9ea72d20545
Author: Christian Dywan <christian at twotoasts.de>
Date: Sun May 15 21:25:53 2011 +0200
Left-align labels in preferences dialogue
Fixes: https://bugs.launchpad.net/midori/+bug/782323
midori/midori-preferences.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/midori/midori-preferences.c b/midori/midori-preferences.c
index 429fe50..01f9d98 100644
--- a/midori/midori-preferences.c
+++ b/midori/midori-preferences.c
@@ -320,6 +320,7 @@ midori_preferences_set_settings (MidoriPreferences* preferences,
FRAME_NEW (NULL);
#if !HAVE_HILDON
label = gtk_label_new (_("Default Font Family"));
+ gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
INDENTED_ADD (label);
button = katze_property_proxy (settings, "default-font-family", "font");
gtk_widget_set_tooltip_text (button, _("The default font family used to display text"));
@@ -328,6 +329,7 @@ midori_preferences_set_settings (MidoriPreferences* preferences,
gtk_widget_set_tooltip_text (entry, _("The default font size used to display text"));
SPANNED_ADD (entry);
label = gtk_label_new (_("Fixed-width Font Family"));
+ gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
INDENTED_ADD (label);
button = katze_property_proxy (settings, "monospace-font-family", "font-monospace");
gtk_widget_set_tooltip_text (button, _("The font family used to display fixed-width text"));
@@ -336,6 +338,7 @@ midori_preferences_set_settings (MidoriPreferences* preferences,
gtk_widget_set_tooltip_text (entry, _("The font size used to display fixed-width text"));
SPANNED_ADD (entry);
label = gtk_label_new (_("Minimum Font Size"));
+ gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
INDENTED_ADD (label);
entry = katze_property_proxy (settings, "minimum-font-size", NULL);
gtk_widget_set_tooltip_text (entry, _("The minimum font size used to display text"));
@@ -442,6 +445,7 @@ midori_preferences_set_settings (MidoriPreferences* preferences,
button = katze_property_proxy (settings, "proxy-type", NULL);
SPANNED_ADD (button);
label = gtk_label_new (_("Hostname"));
+ gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
INDENTED_ADD (label);
entry = katze_property_proxy (settings, "http-proxy", NULL);
SPANNED_ADD (entry);
@@ -455,6 +459,7 @@ midori_preferences_set_settings (MidoriPreferences* preferences,
button = katze_property_proxy (settings, "maximum-cache-size", NULL);
SPANNED_ADD (button);
label = gtk_label_new (_("MB"));
+ gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
SPANNED_ADD (label);
#endif
label = katze_property_label (settings, "identify-as");
More information about the Xfce4-commits
mailing list