[Xfce4-commits] <xfce4-panel:devel> Move the show configure function to the contruct function to avoid error.
Nick Schermer
noreply at xfce.org
Mon Sep 28 15:28:01 CEST 2009
Updating branch refs/heads/devel
to bd95ce0f8ec9413274c9b20c7ba037810f0f1e9a (commit)
from b2574d81573f3019be708ae927f880f19ebdb07d (commit)
commit bd95ce0f8ec9413274c9b20c7ba037810f0f1e9a
Author: Nick Schermer <nick at xfce.org>
Date: Sat Sep 26 15:40:46 2009 +0200
Move the show configure function to the contruct function to avoid error.
plugins/clock/clock.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/clock/clock.c b/plugins/clock/clock.c
index 58b410c..e96bd59 100644
--- a/plugins/clock/clock.c
+++ b/plugins/clock/clock.c
@@ -162,9 +162,6 @@ clock_plugin_init (ClockPlugin *plugin)
plugin->tooltip_interval = 0;
plugin->clock_timeout_id = 0;
- /* show configure */
- xfce_panel_plugin_menu_show_configure (XFCE_PANEL_PLUGIN (plugin));
-
/* create frame widget */
plugin->frame = gtk_frame_new (NULL);
gtk_container_add (GTK_CONTAINER (plugin), plugin->frame);
@@ -216,6 +213,9 @@ clock_plugin_construct (XfcePanelPlugin *panel_plugin)
gboolean show_frame;
guint mode;
+ /* show configure */
+ xfce_panel_plugin_menu_show_configure (XFCE_PANEL_PLUGIN (plugin));
+
/* set the xfconf channel */
plugin->channel = xfce_panel_plugin_xfconf_channel_new (panel_plugin);
g_signal_connect (G_OBJECT (plugin->channel), "property-changed",
More information about the Xfce4-commits
mailing list