[Xfce4-commits] <xfce4-panel:devel> Use canonical widget names.

Nick Schermer noreply at xfce.org
Thu Feb 25 18:16:02 CET 2010


Updating branch refs/heads/devel
         to 4b78c280dfaa75c178208fa2c73a1b6436019b07 (commit)
       from 8dfb506bd8545367cf33eb5355c1736fce368006 (commit)

commit 4b78c280dfaa75c178208fa2c73a1b6436019b07
Author: Nick Schermer <nick at xfce.org>
Date:   Wed Feb 24 15:55:02 2010 +0100

    Use canonical widget names.

 libxfce4panel/xfce-panel-convenience.c |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/libxfce4panel/xfce-panel-convenience.c b/libxfce4panel/xfce-panel-convenience.c
index 55dcf4e..638e6bd 100644
--- a/libxfce4panel/xfce-panel-convenience.c
+++ b/libxfce4panel/xfce-panel-convenience.c
@@ -40,8 +40,6 @@
  * to help developers of Xfce Panel plugins.
  **/
 
-
-
 /**
  * xfce_panel_create_button:
  *
@@ -58,8 +56,7 @@ xfce_panel_create_button (void)
   GTK_WIDGET_UNSET_FLAGS (button, GTK_CAN_DEFAULT | GTK_CAN_FOCUS);
   gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
   gtk_button_set_focus_on_click (GTK_BUTTON (button), FALSE);
-
-  gtk_widget_set_name (button, "xfce_panel_button");
+  gtk_widget_set_name (button, "xfce-panel-button");
 
   return button;
 }
@@ -82,8 +79,7 @@ xfce_panel_create_toggle_button (void)
   GTK_WIDGET_UNSET_FLAGS (button, GTK_CAN_DEFAULT | GTK_CAN_FOCUS);
   gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
   gtk_button_set_focus_on_click (GTK_BUTTON (button), FALSE);
-
-  gtk_widget_set_name (button, "xfce_panel_toggle_button");
+  gtk_widget_set_name (button, "xfce-panel-toggle-button");
 
   return button;
 }



More information about the Xfce4-commits mailing list