[Xfce4-commits] [panel-plugins/xfce4-systemload-plugin] 01/01: Make all labels left-aligned
noreply at xfce.org
noreply at xfce.org
Fri Dec 22 09:47:13 CET 2017
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository panel-plugins/xfce4-systemload-plugin.
commit b8a3da5805ec9485188f592ab9511a8955a1f029
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Fri Dec 22 09:46:50 2017 +0100
Make all labels left-aligned
This is the standard in all Xfce settings dialogs.
---
panel-plugin/systemload.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index 61c10b0..8d12c53 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -791,7 +791,7 @@ static GtkWidget *new_label_or_check_button(t_global_monitor *global,
gtk_grid_attach(grid, sw, 2, row, 1, 1);
}
label = gtk_label_new_with_mnemonic (labeltext);
- gtk_widget_set_halign(label, GTK_ALIGN_END);
+ gtk_widget_set_halign(label, GTK_ALIGN_START);
gtk_widget_set_valign(label, GTK_ALIGN_CENTER);
gtk_label_set_mnemonic_widget(GTK_LABEL(label), target);
gtk_grid_attach(grid, label, 0, row, 1, 1);
@@ -836,7 +836,7 @@ static void new_monitor_setting(t_global_monitor *global, GtkGrid *grid, int pos
G_CALLBACK (color_set_cb), global);
label = gtk_label_new_with_mnemonic (_("Bar color:"));
- gtk_widget_set_halign(label, GTK_ALIGN_END);
+ gtk_widget_set_halign(label, GTK_ALIGN_START);
gtk_widget_set_valign(label, GTK_ALIGN_CENTER);
gtk_label_set_mnemonic_widget(GTK_LABEL(label), button);
@@ -850,7 +850,7 @@ static void new_monitor_setting(t_global_monitor *global, GtkGrid *grid, int pos
G_CALLBACK(entry_changed_cb), global);
label = gtk_label_new_with_mnemonic (_("Text to display:"));
- gtk_widget_set_halign(label, GTK_ALIGN_END);
+ gtk_widget_set_halign(label, GTK_ALIGN_START);
gtk_widget_set_valign(label, GTK_ALIGN_CENTER);
gtk_label_set_mnemonic_widget(GTK_LABEL(label), entry);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list