# HG changeset patch # User Cristi Magherusan # Date 1186789398 -10800 # Node ID b2debf8c9ec859ae2e83ccfbeff51b7b551f9d88 # Parent 71138874c5fdf31b7bf0da05182eef44f46ed63b remove the item from the menu when the plugin is disabled diff -r 71138874c5fd -r b2debf8c9ec8 src/mtp_up/mtp.c --- 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; }