[Xfce4-commits] <xfce4-panel:devel> Unset some (since the previous commit) default arrow button flags.

Nick Schermer nick at xfce.org
Tue Aug 11 20:28:27 CEST 2009


Updating branch refs/heads/devel
         to d320f8e5e147a2db0ef72b51e3cac2f553df1002 (commit)
       from e05a73505f76186c6801401cc67473b2b08b5641 (commit)

commit d320f8e5e147a2db0ef72b51e3cac2f553df1002
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Feb 27 18:39:33 2009 +0100

    Unset some (since the previous commit) default arrow button flags.

 plugins/launcher/launcher.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/plugins/launcher/launcher.c b/plugins/launcher/launcher.c
index 56177bd..b836bba 100644
--- a/plugins/launcher/launcher.c
+++ b/plugins/launcher/launcher.c
@@ -198,9 +198,7 @@ launcher_plugin_construct (XfcePanelPlugin *panel_plugin)
   plugin->arrow = xfce_arrow_button_new (GTK_ARROW_UP);
   gtk_box_pack_start (GTK_BOX (plugin->box), plugin->arrow, FALSE, FALSE, 0);
   xfce_panel_plugin_add_action_widget (XFCE_PANEL_PLUGIN (plugin), plugin->arrow);
-  GTK_WIDGET_UNSET_FLAGS (plugin->arrow, GTK_CAN_DEFAULT | GTK_CAN_FOCUS);
   gtk_button_set_relief (GTK_BUTTON (plugin->arrow), GTK_RELIEF_NONE);
-  gtk_button_set_focus_on_click (GTK_BUTTON (plugin->arrow), FALSE);
 
   /* sync button states */
   g_signal_connect (G_OBJECT (plugin->button), "state-changed",



More information about the Xfce4-commits mailing list