[Xfce4-commits] [xfce/xfce4-power-manager] 20/64: Move Preferences button to the left

noreply at xfce.org noreply at xfce.org
Mon May 26 06:00:15 CEST 2014


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfce4-power-manager.

commit 24ee0cfadd4918d5ff489e92184374e64462b6ce
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Fri May 2 17:00:29 2014 +0300

    Move Preferences button to the left
---
 panel-plugins/battery/battery-button.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/panel-plugins/battery/battery-button.c b/panel-plugins/battery/battery-button.c
index d6683ef..1d3888e 100644
--- a/panel-plugins/battery/battery-button.c
+++ b/panel-plugins/battery/battery-button.c
@@ -756,6 +756,7 @@ battery_button_create_popup (BatteryButton *button)
     option_button = gtk_button_new_with_mnemonic ("_Preferences...");
     gtk_button_set_relief (GTK_BUTTON(option_button), GTK_RELIEF_NONE);
     gtk_button_set_focus_on_click (GTK_BUTTON(option_button), FALSE);
+    gtk_button_set_alignment (GTK_BUTTON(option_button), 0.2f, 0.5f);
     g_signal_connect (option_button, "clicked",G_CALLBACK (preferences_cb), button);
 
     gtk_box_pack_start (GTK_BOX (box), option_button, TRUE, TRUE, 1);

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


More information about the Xfce4-commits mailing list