changeset 1458:b2debf8c9ec8

remove the item from the menu when the plugin is disabled
author Cristi Magherusan <majeru@atheme-project.org>
date Sat, 11 Aug 2007 02:43:18 +0300
parents 71138874c5fd
children 68fab774c206
files src/mtp_up/mtp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/mtp_up/mtp.c	Sat Aug 11 02:22:54 2007 +0300
+++ b/src/mtp_up/mtp.c	Sat Aug 11 02:43:18 2007 +0300
@@ -163,7 +163,7 @@
 #if DEBUG
     g_print("Cleaning up MTP_upload\n");
 #endif
-//  audacious_menu_plugin_item_remove(AUDACIOUS_MENU_PLAYLIST, menuitem );
+    audacious_menu_plugin_item_remove(AUDACIOUS_MENU_PLAYLIST, menuitem );
     g_mutex_free (mutex);
     mutex = NULL;
 }