[Xfce4-commits] [panel-plugins/xfce4-systemload-plugin] 01/02: Set the spin buttons' halign to START

noreply at xfce.org noreply at xfce.org
Sat Dec 23 00:01:01 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 3f1ec06ae8a7fee02ca6ac6014b0b66c1d47b701
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Fri Dec 22 23:53:40 2017 +0100

    Set the spin buttons' halign to START
---
 panel-plugin/systemload.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index 8899586..1b6a0d1 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -895,6 +895,7 @@ static void new_spin_button(t_global_monitor *global, GtkGrid *grid, guint row,
                             GCallback callback, gboolean* boolvar) {
     GtkWidget *button;
     button = gtk_spin_button_new_with_range (min, max, step);
+    gtk_widget_set_halign (button, GTK_ALIGN_START);
     gtk_spin_button_set_value (GTK_SPIN_BUTTON (button), value);
     g_signal_connect (G_OBJECT (button), "value-changed", callback, global);
     new_label_or_check_button(global, grid, row, labeltext, boolvar, button);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list