[Xfce4-commits] <xfce4-mount-plugin:master> Don't read config/set image twice, it's already done in create_mounter_control()
Landry Breuil
noreply at xfce.org
Tue Apr 10 19:26:08 CEST 2012
Updating branch refs/heads/master
to fe290ae034b590623a7e2cd87f02bb9dc439ebea (commit)
from 50a12d589b475ea9b9242977563417baa5fccf16 (commit)
commit fe290ae034b590623a7e2cd87f02bb9dc439ebea
Author: Landry Breuil <landry at xfce.org>
Date: Tue Apr 10 19:06:11 2012 +0200
Don't read config/set image twice, it's already done in create_mounter_control()
panel-plugin/mount-plugin.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/panel-plugin/mount-plugin.c b/panel-plugin/mount-plugin.c
index ef2f221..7f58d92 100644
--- a/panel-plugin/mount-plugin.c
+++ b/panel-plugin/mount-plugin.c
@@ -1055,10 +1055,6 @@ mount_construct (XfcePanelPlugin *plugin)
mounter = create_mounter_control (plugin);
- mounter_read_config (plugin, mounter);
-
- gtk_button_set_image (GTK_BUTTON(mounter->button), xfce_panel_image_new_from_source (mounter->icon));
-
#ifdef HAS_PANEL_49
xfce_panel_plugin_set_small (plugin, TRUE);
#endif
More information about the Xfce4-commits
mailing list