From b90b8354979ca1786bd283c522d7fddfbd8c5ab0 Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Tue, 6 May 2014 10:17:21 +0100 Subject: [PATCH] Switch uninstaller from mintRemove to mint-common --- mintmenu.pot | 272 +++++++++--------- usr/lib/linuxmint/mintMenu/mintRemove.glade | 153 ---------- usr/lib/linuxmint/mintMenu/mintRemove.py | 148 ---------- .../linuxmint/mintMenu/plugins/easybuttons.py | 2 +- 4 files changed, 137 insertions(+), 438 deletions(-) delete mode 100644 usr/lib/linuxmint/mintMenu/mintRemove.glade delete mode 100755 usr/lib/linuxmint/mintMenu/mintRemove.py diff --git a/mintmenu.pot b/mintmenu.pot index 9595e4a..67d9e95 100644 --- a/mintmenu.pot +++ b/mintmenu.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-04-20 19:53-0400\n" +"POT-Creation-Date: 2014-05-01 16:15+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,35 +17,35 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: usr/lib/linuxmint/mintMenu/mintMenu.py:51 +#: usr/lib/linuxmint/mintMenu/mintMenu.py:48 msgid "Menu" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenu.py:268 +#: usr/lib/linuxmint/mintMenu/mintMenu.py:256 msgid "Couldn't load plugin:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenu.py:340 +#: usr/lib/linuxmint/mintMenu/mintMenu.py:328 msgid "Couldn't initialize plugin" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenu.py:758 +#: usr/lib/linuxmint/mintMenu/mintMenu.py:731 msgid "Advanced MATE Menu" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenu.py:845 +#: usr/lib/linuxmint/mintMenu/mintMenu.py:818 msgid "Preferences" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenu.py:848 +#: usr/lib/linuxmint/mintMenu/mintMenu.py:821 msgid "Edit menu" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenu.py:851 +#: usr/lib/linuxmint/mintMenu/mintMenu.py:824 msgid "Reload plugins" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenu.py:854 +#: usr/lib/linuxmint/mintMenu/mintMenu.py:827 msgid "About" msgstr "" @@ -78,438 +78,438 @@ msgstr "" msgid "Packages to be removed" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:43 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:42 msgid "Menu preferences" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:46 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:45 msgid "Always start with favorites pane" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:47 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:46 msgid "Show button icon" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:48 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:47 msgid "Use custom colors" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:49 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:48 msgid "Show recent documents plugin" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:50 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:49 msgid "Show applications plugin" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:51 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:50 msgid "Show system plugin" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:52 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:51 msgid "Show places plugin" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:54 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:53 msgid "Show application comments" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:55 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:54 msgid "Show category icons" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:56 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:55 msgid "Hover" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:57 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:56 msgid "Remember the last category or search" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:58 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:57 msgid "Search for packages to install" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:59 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:58 msgid "Swap name and generic name" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:61 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:60 msgid "Border width:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:62 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:61 msgid "pixels" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:64 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:63 msgid "Opacity:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:67 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:66 msgid "Button text:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:68 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:67 msgid "Options" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:69 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:254 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:68 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:251 msgid "Applications" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:71 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:70 msgid "Theme" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:72 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:251 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:252 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:71 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:248 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:249 msgid "Favorites" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:73 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:72 msgid "Main button" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:75 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:74 msgid "Background:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:76 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:75 msgid "Headings:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:77 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:76 msgid "Borders:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:78 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:77 msgid "Theme:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:82 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:81 msgid "Number of columns:" msgstr "" +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:82 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:83 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:84 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:85 -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:86 msgid "Icon size:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:87 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:86 msgid "Hover delay (ms):" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:88 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:87 msgid "Button icon:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:89 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:88 msgid "Search command:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:91 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:90 #: usr/lib/linuxmint/mintMenu/plugins/places.py:44 msgid "Places" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:92 -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:104 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:91 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:103 msgid "Allow Scrollbar" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:93 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:92 msgid "Show GTK Bookmarks" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:94 -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:105 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:93 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:104 msgid "Height:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:95 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:94 msgid "Toggle Default Places:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:96 -#: usr/lib/linuxmint/mintMenu/plugins/places.py:142 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:95 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:141 msgid "Computer" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:97 -#: usr/lib/linuxmint/mintMenu/plugins/places.py:152 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:96 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:151 msgid "Home Folder" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:98 -#: usr/lib/linuxmint/mintMenu/plugins/places.py:165 -#: usr/lib/linuxmint/mintMenu/plugins/places.py:167 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:97 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:164 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:166 msgid "Network" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:99 -#: usr/lib/linuxmint/mintMenu/plugins/places.py:190 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:98 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:189 msgid "Desktop" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:100 -#: usr/lib/linuxmint/mintMenu/plugins/places.py:200 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:99 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:199 msgid "Trash" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:101 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:100 msgid "Custom Places:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:103 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:102 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:40 msgid "System" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:106 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:105 msgid "Toggle Default Items:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:107 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:106 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:136 msgid "Software Manager" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:108 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:107 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:143 msgid "Package Manager" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:109 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:108 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:150 msgid "Control Center" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:110 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:109 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:160 msgid "Terminal" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:111 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:110 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:177 msgid "Lock Screen" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:112 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:111 msgid "Log Out" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:113 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:112 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:194 msgid "Quit" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:115 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:114 msgid "Edit Place" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:116 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:115 msgid "New Place" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:117 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:116 msgid "Select a folder" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:147 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:146 msgid "Keyboard shortcut:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:153 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:152 msgid "Images" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:271 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:270 msgid "Name" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:272 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:271 msgid "Path" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:287 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:286 msgid "Desktop theme" msgstr "" +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:425 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:456 +msgid "Name:" +msgstr "" + #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:426 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:457 -msgid "Name:" -msgstr "" - -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:427 -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:458 msgid "Path:" msgstr "" -#: usr/lib/linuxmint/mintMenu/keybinding.py:173 +#: usr/lib/linuxmint/mintMenu/keybinding.py:197 msgid "Click to set a new accelerator key for opening and closing the menu. " msgstr "" -#: usr/lib/linuxmint/mintMenu/keybinding.py:174 +#: usr/lib/linuxmint/mintMenu/keybinding.py:198 msgid "Press Escape or click again to cancel the operation. " msgstr "" -#: usr/lib/linuxmint/mintMenu/keybinding.py:175 +#: usr/lib/linuxmint/mintMenu/keybinding.py:199 msgid "Press Backspace to clear the existing keybinding." msgstr "" -#: usr/lib/linuxmint/mintMenu/keybinding.py:188 +#: usr/lib/linuxmint/mintMenu/keybinding.py:212 msgid "Pick an accelerator" msgstr "" -#: usr/lib/linuxmint/mintMenu/keybinding.py:241 +#: usr/lib/linuxmint/mintMenu/keybinding.py:265 msgid "" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/recent.py:33 +#: usr/lib/linuxmint/mintMenu/plugins/recent.py:31 msgid "Recent documents" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:249 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:246 msgid "Search:" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:253 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:250 msgid "All applications" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:628 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:634 #, python-format msgid "Search Google for %s" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:635 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:641 #, python-format msgid "Search Wikipedia for %s" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:652 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:657 #, python-format msgid "Lookup %s in Dictionary" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:659 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:664 #, python-format msgid "Search Computer for %s" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:736 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:790 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:742 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:795 #, python-format msgid "Install package '%s'" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:901 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:970 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:919 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:987 msgid "Add to desktop" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:902 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:971 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:920 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:988 msgid "Add to panel" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:904 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:953 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:922 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:970 msgid "Insert space" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:905 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:954 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:923 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:971 msgid "Insert separator" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:907 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:974 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:925 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:991 msgid "Launch when I log in" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:909 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:976 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:927 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:993 msgid "Launch" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:910 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:928 msgid "Remove from favorites" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:912 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:980 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:930 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:997 msgid "Edit properties" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:952 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:969 msgid "Remove" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:973 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:990 msgid "Show in my favorites" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:977 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:994 msgid "Uninstall" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:978 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:995 msgid "Delete from menu" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1034 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1049 msgid "Search Google" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1041 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1056 msgid "Search Wikipedia" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1051 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1066 msgid "Lookup Dictionary" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1058 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1073 msgid "Search Computer" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1068 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1083 msgid "Find Software" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1075 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1090 msgid "Find Tutorials" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1082 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1097 msgid "Find Hardware" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1089 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1104 msgid "Find Ideas" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1096 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1111 msgid "Find Users" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1564 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1578 msgid "" "Couldn't save favorites. Check if you have write access to ~/.linuxmint/" "mintMenu" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1746 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1772 msgid "All" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1746 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1772 msgid "Show all applications" msgstr "" @@ -547,27 +547,27 @@ msgstr "" msgid "Shutdown, restart, suspend or hibernate" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/places.py:149 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:148 msgid "" "Browse all local and remote disks and folders accessible from this computer" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/places.py:159 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:158 msgid "Open your personal folder" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/places.py:174 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:173 msgid "Browse bookmarked and local network locations" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/places.py:197 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:196 msgid "Browse items placed on the desktop" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/places.py:211 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:210 msgid "Browse deleted files" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/places.py:258 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:262 msgid "Empty trash" msgstr "" diff --git a/usr/lib/linuxmint/mintMenu/mintRemove.glade b/usr/lib/linuxmint/mintMenu/mintRemove.glade deleted file mode 100644 index ad3b5a2..0000000 --- a/usr/lib/linuxmint/mintMenu/mintRemove.glade +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - 6 - mintMenu - False - True - center - True - True - - - True - 6 - - - True - - - 48 - 48 - True - 0 - 0 - gtk-dialog-warning - 6 - - - False - False - 9 - 0 - - - - - True - 2 - 19 - 11 - - - True - 0 - Name - center - - - GTK_FILL - - - - - - True - 0 - Guidance - - - 1 - 2 - GTK_FILL - - - - - - False - False - 1 - - - - - False - False - 2 - 0 - - - - - True - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - automatic - automatic - etched-in - - - 120 - True - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - False - False - - - - - 1 - - - - - True - 10 - spread - - - gtk-cancel - True - True - False - True - - - - False - False - 0 - - - - - gtk-remove - True - True - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - True - - - - False - False - 1 - - - - - False - False - 5 - 2 - - - - - - diff --git a/usr/lib/linuxmint/mintMenu/mintRemove.py b/usr/lib/linuxmint/mintMenu/mintRemove.py deleted file mode 100755 index 18e87f2..0000000 --- a/usr/lib/linuxmint/mintMenu/mintRemove.py +++ /dev/null @@ -1,148 +0,0 @@ -#!/usr/bin/env python - -import gi -gi.require_version("Gtk", "2.0") - -from gi.repository import Gtk, Gdk, GObject - -try: - import sys - import string - import os - import commands - import threading - import tempfile - import gettext - -except Exception, detail: - print detail - sys.exit(1) - -from subprocess import Popen, PIPE - -GObject.threads_init() - -# i18n -gettext.install("mintmenu", "/usr/share/linuxmint/locale") - -class RemoveExecuter(threading.Thread): - - def __init__(self, window_id, package): - threading.Thread.__init__(self) - self.window_id = window_id - self.package = package - - def run(self): - removePackages = string.split(self.package) - cmd = ["sudo", "/usr/sbin/synaptic", "--hide-main-window", \ - "--non-interactive", "--parent-window-id", self.window_id] - cmd.append("--progress-str") - cmd.append("\"" + _("Please wait, this can take some time") + "\"") - cmd.append("--finish-str") - cmd.append("\"" + _("Application removed successfully") + "\"") - f = tempfile.NamedTemporaryFile() - for pkg in removePackages: - f.write("%s\tdeinstall\n" % pkg) - cmd.append("--set-selections-file") - cmd.append("%s" % f.name) - f.flush() - comnd = Popen(' '.join(cmd), shell=True) - returnCode = comnd.wait() - f.close() - Gtk.main_quit() - sys.exit(0) - -class mintRemoveWindow: - - def __init__(self, desktopFile): - self.desktopFile = desktopFile - - #Set the Glade file - - - self.builder = Gtk.Builder() - self.builder.add_from_file ("/usr/lib/linuxmint/mintMenu/mintRemove.glade") - self.builder.get_object("main_window").set_icon_from_file("/usr/lib/linuxmint/mintMenu/icon.svg") - self.builder.get_object("main_window").set_title("") - self.builder.get_object("main_window").connect("destroy", self.giveUp) - - # Get the window socket (needed for synaptic later on) - vbox = self.builder.get_object("vbox1") - socket = Gtk.Socket() - vbox.pack_start(socket, False, False, 0) - socket.show() - window_id = repr(socket.get_id()) - - package = commands.getoutput("dpkg -S " + self.desktopFile) - package = package[:package.find(":")] - if package == "dpkg": - warnDlg = Gtk.Dialog("MintMenu", None, 0, - Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, - Gtk.STOCK_REMOVE, Gtk.ResponseType.OK) - warnDlg.vbox.set_spacing(10) - warnDlg.set_icon_from_file("/usr/share/linuxmint/logo.png") - labelSpc = Gtk.Label(" ") - warnDlg.vbox.pack_start(labelSpc, False, False, 0) - labelSpc.show() - warnText = "" + _("No matching package found") + "" - infoText = _("Do you want to remove this menu entry?") + " (" + self.desktopFile + ")" - label = Gtk.Label(warnText) - lblInfo = Gtk.Label(infoText) - label.set_use_markup(True) - lblInfo.set_use_markup(True) - warnDlg.vbox.pack_start(label) - warnDlg.vbox.pack_start(lblInfo) - label.show() - lblInfo.show() - response = warnDlg.run() - if response == Gtk.ResponseType.OK : - print "removing " + self.desktopFile + "*.desktop" - os.system("rm -f " + self.desktopFile) - os.system("rm -f " + self.desktopFile + "*.desktop") - warnDlg.destroy() - Gtk.main_quit() - sys.exit(0) - - self.builder.get_object("txt_name").set_text("" + _("Remove %s?") % package + "") - self.builder.get_object("txt_name").set_use_markup(True) - - self.builder.get_object("txt_guidance").set_text(_("The following packages will be removed:")) - - treeview = self.builder.get_object("tree") - column1 = Gtk.TreeViewColumn(_("Packages to be removed")) - renderer = Gtk.CellRendererText() - column1.pack_start(renderer, False) - column1.add_attribute(renderer, "text", 0) - treeview.append_column(column1) - - model = Gtk.ListStore(str) - dependenciesString = commands.getoutput("apt-get -s -q remove " + package + " | grep Remv") - dependencies = string.split(dependenciesString, "\n") - for dependency in dependencies: - dependency = dependency.replace("Remv ", "") - model.append([dependency]) - treeview.set_model(model) - treeview.show() - - - self.builder.get_object("remove_button").connect ("clicked", self.MainButtonClicked, window_id, package) - self.builder.get_object("cancel_button").connect ("clicked", self.giveUp) - - self.builder.get_object("main_window").show() - - - def MainButtonClicked(self, widget, window_id, package): - self.builder.get_object("main_window").window.set_cursor(Gdk.Cursor(Gdk.CursorType.WATCH)) - self.builder.get_object("main_window").set_sensitive(False) - executer = RemoveExecuter(window_id, package) - executer.start() - return True - - def giveUp(self, widget): - Gtk.main_quit() - sys.exit(0) - -if __name__ == "__main__": - mainwin = mintRemoveWindow(sys.argv[1]) - Gtk.main() - diff --git a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py index 38404ec..d57b8b3 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py +++ b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py @@ -387,7 +387,7 @@ class ApplicationLauncher( easyButton ): Execute(self.appExec, self.appPath) def uninstall (self, *args ): - Execute("gksu /usr/lib/linuxmint/mintMenu/mintRemove.py " + self.desktopFile) + Execute("gksu /usr/lib/linuxmint/common/mint-remove-application.py " + self.desktopFile) # IconTheme changed, setup new icons for button and drag 'n drop def iconChanged( self ):