diff --git a/mintmenu.pot b/mintmenu.pot index 1fb7366..aee71cf 100644 --- a/mintmenu.pot +++ b/mintmenu.pot @@ -8,43 +8,44 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-09-24 14:51+0100\n" +"POT-Creation-Date: 2011-05-14 17:25+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: usr/lib/linuxmint/mintMenu/mintMenu.py:43 +#: usr/lib/linuxmint/mintMenu/mintMenu.py:50 msgid "Menu" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenu.py:250 +#: usr/lib/linuxmint/mintMenu/mintMenu.py:266 msgid "Couldn't load plugin:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenu.py:323 +#: usr/lib/linuxmint/mintMenu/mintMenu.py:339 msgid "Couldn't initialize plugin" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenu.py:539 +#: usr/lib/linuxmint/mintMenu/mintMenu.py:556 msgid "Preferences" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenu.py:539 +#: usr/lib/linuxmint/mintMenu/mintMenu.py:556 msgid "Edit menu" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenu.py:539 +#: usr/lib/linuxmint/mintMenu/mintMenu.py:556 msgid "Reload plugins" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenu.py:539 +#: usr/lib/linuxmint/mintMenu/mintMenu.py:556 msgid "About" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenu.py:737 +#: usr/lib/linuxmint/mintMenu/mintMenu.py:754 msgid "Advanced Gnome Menu" msgstr "" @@ -150,7 +151,7 @@ msgid "Options" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:67 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:236 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:241 msgid "Applications" msgstr "" @@ -159,8 +160,8 @@ msgid "Theme" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:70 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:233 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:234 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:238 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:239 msgid "Favorites" msgstr "" @@ -208,7 +209,7 @@ msgid "Search command:" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:89 -#: usr/lib/linuxmint/mintMenu/plugins/places.py:40 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:42 msgid "Places" msgstr "" @@ -231,27 +232,28 @@ msgid "Toggle Default Places:" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:94 -#: usr/lib/linuxmint/mintMenu/plugins/places.py:148 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:150 msgid "Computer" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:95 -#: usr/lib/linuxmint/mintMenu/plugins/places.py:155 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:160 msgid "Home Folder" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:96 -#: usr/lib/linuxmint/mintMenu/plugins/places.py:162 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:170 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:172 msgid "Network" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:97 -#: usr/lib/linuxmint/mintMenu/plugins/places.py:182 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:192 msgid "Desktop" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:98 -#: usr/lib/linuxmint/mintMenu/plugins/places.py:189 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:199 msgid "Trash" msgstr "" @@ -260,7 +262,7 @@ msgid "Custom Places:" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:101 -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:38 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:39 msgid "System" msgstr "" @@ -269,27 +271,27 @@ msgid "Toggle Default Items:" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:105 -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:134 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:135 msgid "Software Manager" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:106 -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:141 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:142 msgid "Package Manager" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:107 -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:148 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:149 msgid "Control Center" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:108 -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:155 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:159 msgid "Terminal" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:109 -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:162 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:173 msgid "Lock Screen" msgstr "" @@ -298,7 +300,7 @@ msgid "Log Out" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:111 -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:176 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:187 msgid "Quit" msgstr "" @@ -318,224 +320,230 @@ msgstr "" msgid "Keyboard shortcut:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:255 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:150 +msgid "Images" +msgstr "" + +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:267 msgid "Name" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:256 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:268 msgid "Path" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:271 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:283 msgid "Desktop theme" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:406 -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:440 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:418 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:452 msgid "Name:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:407 -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:441 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:419 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:453 msgid "Path:" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/recent.py:36 +#: usr/lib/linuxmint/mintMenu/plugins/recent.py:37 msgid "Recent documents" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:231 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:236 msgid "Search:" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:235 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:240 msgid "All applications" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:610 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:595 #, python-format msgid "Search Google for %s" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:617 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:602 #, python-format msgid "Search Wikipedia for %s" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:633 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:618 #, python-format msgid "Lookup %s in Dictionary" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:640 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:625 #, python-format msgid "Search Computer for %s" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:702 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:756 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:704 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:759 #, python-format msgid "Install package '%s'" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:860 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:927 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:863 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:931 msgid "Add to desktop" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:861 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:928 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:864 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:932 msgid "Add to panel" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:863 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:909 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:866 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:913 msgid "Insert space" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:864 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:910 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:867 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:914 msgid "Insert separator" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:866 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:931 -msgid "Launch when I log in" -msgstr "" - -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:868 -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:933 -msgid "Launch" -msgstr "" - #: usr/lib/linuxmint/mintMenu/plugins/applications.py:869 -msgid "Remove from favorites" +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:935 +msgid "Launch when I log in" msgstr "" #: usr/lib/linuxmint/mintMenu/plugins/applications.py:871 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:937 +msgid "Launch" +msgstr "" + +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:872 +msgid "Remove from favorites" +msgstr "" + +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:874 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:941 msgid "Edit properties" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:908 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:912 msgid "Remove" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:930 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:934 msgid "Show in my favorites" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:934 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:938 msgid "Uninstall" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:935 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:939 msgid "Delete from menu" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:988 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:992 msgid "Search Google" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:995 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:999 msgid "Search Wikipedia" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1005 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1009 msgid "Lookup Dictionnary" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1012 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1016 msgid "Search Computer" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1022 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1026 msgid "Find Software" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1029 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1033 msgid "Find Tutorials" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1036 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1040 msgid "Find Hardware" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1043 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1047 msgid "Find Ideas" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1050 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1054 msgid "Find Users" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1524 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1528 msgid "" "Couldn't save favorites. Check if you have write access to ~/.linuxmint/" "mintMenu" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1701 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1705 msgid "All" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1701 +#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1705 msgid "Show all applications" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:138 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:139 msgid "Browse and install available software" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:145 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:146 msgid "Install, remove and upgrade software packages" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:152 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:156 msgid "Configure your system" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:159 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:163 msgid "Use the command line" msgstr "" #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:166 -msgid "Requires password to unlock" -msgstr "" - -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:169 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:180 msgid "Logout" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:173 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:170 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:184 msgid "Log out or switch user" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:180 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:177 +msgid "Requires password to unlock" +msgstr "" + +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:191 msgid "Shutdown, restart, suspend or hibernate" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/places.py:152 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:157 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:164 msgid "Open your personal folder" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/places.py:166 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:176 msgid "Browse bookmarked and local network locations" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/places.py:186 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:196 msgid "Browse items placed on the desktop" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/places.py:195 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:208 msgid "Browse deleted files" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/places.py:232 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:249 msgid "Empty trash" msgstr "" diff --git a/usr/lib/linuxmint/mintMenu/mintMenuConfig.glade b/usr/lib/linuxmint/mintMenu/mintMenuConfig.glade index 9eb85c2..0a7dbdc 100644 --- a/usr/lib/linuxmint/mintMenu/mintMenuConfig.glade +++ b/usr/lib/linuxmint/mintMenu/mintMenuConfig.glade @@ -1,8 +1,241 @@ - + + + False + 5 + Edit Place + True + center-on-parent + True + dialog + + + True + False + 2 + + + True + False + end + + + gtk-ok + -5 + True + True + True + True + False + True + + + False + False + 0 + + + + + gtk-cancel + -6 + True + True + True + True + False + True + + + False + False + 1 + + + + + False + True + end + 0 + + + + + True + False + 2 + 2 + 2 + 5 + + + True + True + + True + False + False + True + True + + + 1 + 2 + GTK_EXPAND + + + + + True + False + Path: + + + 1 + 2 + GTK_EXPAND + + + + + True + False + Name: + + + GTK_EXPAND + + + + + True + False + + + True + True + + True + False + False + True + True + + + True + True + 0 + + + + + True + True + True + False + + + True + False + gtk-directory + + + + + False + False + 1 + + + + + 1 + 2 + 1 + 2 + + + + + + True + True + 1 + + + + + + + False + 5 + True + center-on-parent + True + dialog + select-folder + + + True + False + 2 + + + True + False + end + + + gtk-ok + -5 + True + True + True + True + False + True + + + False + False + 0 + + + + + gtk-cancel + True + True + True + True + False + True + + + False + False + 1 + + + + + False + True + end + 0 + + + + + + + + + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 6 center @@ -10,6 +243,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -20,16 +254,19 @@ True + False 0 none True + False 10 10 True + False 4 2 5 @@ -41,6 +278,7 @@ True False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + False 0 0 True @@ -54,6 +292,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 Button text: @@ -68,6 +307,7 @@ True + False 0 Keyboard shortcut: @@ -81,6 +321,7 @@ True + False 0 Button icon: @@ -96,7 +337,11 @@ True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - + + False + False + True + True 1 @@ -111,7 +356,11 @@ True True - + + False + False + True + True 1 @@ -125,23 +374,28 @@ True + False 7 - + True - True - + False + True + True 0 True + False gtk-missing-image + True + True 1 @@ -164,6 +418,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Main button @@ -175,20 +430,24 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 6 3 True + False 5 True + False 10 True + False 5 @@ -196,6 +455,7 @@ True True False + False True @@ -210,6 +470,7 @@ True True False + False True True @@ -226,6 +487,7 @@ True False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + False True @@ -241,6 +503,7 @@ True False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + False True @@ -256,6 +519,7 @@ True False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + False True @@ -267,12 +531,14 @@ True + False 2 3 8 True + False 0 Border width: @@ -280,6 +546,7 @@ True + False 0 Opacity: @@ -293,7 +560,11 @@ True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - + + False + False + True + True 0 0 10 1 0 0 1 @@ -307,7 +578,11 @@ True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - + + False + False + True + True 0 0 100 1 0 0 1 @@ -321,6 +596,7 @@ True + False % @@ -333,6 +609,7 @@ True + False px @@ -343,6 +620,7 @@ False + True 5 @@ -350,12 +628,15 @@ + True + True 0 False + True 6 0 @@ -368,6 +649,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Plugins @@ -380,12 +662,14 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 4 True True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 6 0 @@ -394,6 +678,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 6 6 @@ -401,6 +686,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -409,11 +695,13 @@ True False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + False 0 True False + True 5 0 @@ -421,6 +709,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 4 2 @@ -428,6 +717,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 Headings: @@ -441,6 +731,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 Borders: @@ -456,6 +747,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 Background: @@ -474,6 +766,7 @@ True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + False #000000000000 @@ -491,6 +784,7 @@ True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + False #000000000000 @@ -508,6 +802,7 @@ True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + False #000000000000 @@ -520,6 +815,7 @@ True + False 0 Theme: @@ -531,6 +827,7 @@ True + False Default @@ -543,6 +840,7 @@ False + True 1 @@ -553,6 +851,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True @@ -562,6 +861,8 @@ + True + True 0 @@ -573,6 +874,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Colors @@ -585,6 +887,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 3 0 @@ -592,6 +895,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 7 2 @@ -600,6 +904,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 Icon size: @@ -616,7 +921,11 @@ True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - + + False + False + True + True 1 1 128 1 0 0 @@ -636,6 +945,7 @@ True False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + False True @@ -654,6 +964,7 @@ True False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + False True @@ -670,6 +981,7 @@ True False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + False True @@ -684,6 +996,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 Hover delay (seconds): @@ -700,8 +1013,12 @@ True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - - 100 0 1000 1 2 2 + + False + False + True + True + 100 0 1000 1 2 0 1 @@ -716,6 +1033,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 Search command: @@ -732,7 +1050,11 @@ True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_STRUCTURE_MASK - + + False + False + True + True 1 @@ -751,6 +1073,7 @@ True False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + False True @@ -767,6 +1090,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True @@ -782,6 +1106,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Applications @@ -794,6 +1119,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 3 0 @@ -801,6 +1127,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 3 2 @@ -809,6 +1136,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 Number of columns: @@ -824,6 +1152,10 @@ True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + False + False + True + True 1 1 4 1 0 0 @@ -837,6 +1169,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 Icon size: @@ -854,6 +1187,10 @@ True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + False + False + True + True 1 1 128 1 0 0 @@ -873,6 +1210,7 @@ True False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + False True @@ -889,6 +1227,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True @@ -904,6 +1243,7 @@ True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Favorites @@ -916,21 +1256,25 @@ True + False 0 none True + False 12 True + False Allow Scrollbar True True False + False True @@ -942,15 +1286,18 @@ True + False 3 5 True + False 4 True + False Height: True @@ -965,9 +1312,13 @@ True True 5 - + False - 0 0 10000 1 10 10 + False + False + True + True + 0 0 10000 1 10 0 True @@ -989,17 +1340,20 @@ True + False 3 4 True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 Icon size: False + True 0 @@ -1008,7 +1362,11 @@ True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - + + False + False + True + True 1 1 128 1 0 0 @@ -1019,29 +1377,35 @@ + True + True 2 True + False 0 none True + False 2 10 14 True + False Computer True True False + False True @@ -1056,9 +1420,12 @@ True True False + False True + True + True 1 @@ -1068,9 +1435,12 @@ True True False + False True + True + True 2 @@ -1080,9 +1450,12 @@ True True False + False True + True + True 3 @@ -1092,9 +1465,12 @@ True True False + False True + True + True 4 @@ -1105,6 +1481,7 @@ True + False Toggle Default Places: True @@ -1125,24 +1502,30 @@ True True False + False True + True + True 4 True + False 0 none True + False 9 True + False True @@ -1159,15 +1542,19 @@ + True + True 0 True + False True + False 5 @@ -1175,6 +1562,7 @@ True True True + False True @@ -1189,6 +1577,7 @@ True True True + False True @@ -1208,12 +1597,14 @@ True + False gtk-go-up True True True + False True @@ -1228,6 +1619,7 @@ True True True + False True @@ -1247,12 +1639,14 @@ True + False gtk-remove True True True + False True @@ -1284,6 +1678,7 @@ True + False Custom Places: True @@ -1293,6 +1688,8 @@ + True + True 5 @@ -1303,6 +1700,7 @@ True + False 1 True @@ -1318,6 +1716,7 @@ True + False Places @@ -1329,21 +1728,25 @@ True + False 0 none True + False 12 True + False Allow Scrollbar True True False + False True @@ -1355,20 +1758,24 @@ True + False 3 5 True + False 4 True + False Height: True False + True 0 @@ -1377,9 +1784,13 @@ True True 5 - + False - 0 0 10000 1 10 10 + False + False + True + True + 0 0 10000 1 10 0 True @@ -1393,6 +1804,7 @@ False + True 4 1 @@ -1400,11 +1812,13 @@ True + False 4 4 True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 Icon size: @@ -1420,7 +1834,11 @@ True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - + + False + False + True + True 1 1 128 1 0 0 @@ -1439,23 +1857,27 @@ True + False 0 none True + False 2 10 14 True + False Software Manager True True False + False True @@ -1470,6 +1892,7 @@ True True False + False True @@ -1484,9 +1907,12 @@ True True False + False True + True + True 2 @@ -1496,10 +1922,13 @@ True True False + False none True + True + True 3 @@ -1509,10 +1938,13 @@ True True False + False 0.54000002145767212 True + True + True 4 @@ -1522,9 +1954,12 @@ True True False + False True + True + True 5 @@ -1534,9 +1969,12 @@ True True False + False True + True + True 6 @@ -1547,6 +1985,7 @@ True + False 0.56000000238418579 Toggle Default Items: True @@ -1558,6 +1997,7 @@ False + True 3 @@ -1568,6 +2008,7 @@ True + False label_item @@ -1581,6 +2022,7 @@ True + False System @@ -1591,12 +2033,15 @@ + True + True 0 True + False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 3 spread @@ -1607,6 +2052,7 @@ True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + False True @@ -1625,208 +2071,4 @@ - - 5 - Edit Place - True - center-on-parent - True - dialog - False - - - True - 2 - - - True - 2 - 2 - 2 - 5 - - - True - True - - True - - - 1 - 2 - GTK_EXPAND - - - - - True - Path: - - - 1 - 2 - GTK_EXPAND - - - - - True - Name: - - - GTK_EXPAND - - - - - True - - - True - True - - True - - - 0 - - - - - True - True - True - - - True - gtk-directory - - - - - False - False - 1 - - - - - 1 - 2 - 1 - 2 - - - - - - 1 - - - - - True - end - - - gtk-ok - -5 - True - True - True - True - True - - - False - False - 0 - - - - - gtk-cancel - -6 - True - True - True - True - True - - - False - False - 1 - - - - - False - end - 0 - - - - - - - 5 - True - center-on-parent - True - dialog - False - select-folder - - - True - 2 - - - - - - True - end - - - gtk-ok - -5 - True - True - True - True - True - - - False - False - 0 - - - - - gtk-cancel - True - True - True - True - True - - - False - False - 1 - - - - - False - end - 0 - - - - - diff --git a/usr/lib/linuxmint/mintMenu/mintMenuConfig.py b/usr/lib/linuxmint/mintMenu/mintMenuConfig.py index 7389cb7..4a52147 100755 --- a/usr/lib/linuxmint/mintMenu/mintMenuConfig.py +++ b/usr/lib/linuxmint/mintMenu/mintMenuConfig.py @@ -79,7 +79,7 @@ class mintMenuConfig( object ): #wTree.get_widget("favoritesLabel").set_text(_("Favorites")) wTree.get_widget("numberColumnsLabel").set_text(_("Number of columns:")) wTree.get_widget("iconSizeLabel").set_text(_("Icon size:")) - wTree.get_widget("iconSizeLabel2").set_text(_("Icon size:")) + wTree.get_widget("iconSizeLabel2").set_text(_("Icon size:")) wTree.get_widget("placesIconSizeLabel").set_text(_("Icon size:")) wTree.get_widget("systemIconSizeLabel").set_text(_("Icon size:")) wTree.get_widget("hoverLabel").set_text(_("Hover delay (ms):")) @@ -126,7 +126,7 @@ class mintMenuConfig( object ): self.showPlacesPlugin = wTree.get_widget( "showPlacesPlugin" ) self.swapGeneric = wTree.get_widget("swapGeneric") self.hover = wTree.get_widget( "hover" ) - self.hoverDelay = wTree.get_widget( "hoverDelay" ) + self.hoverDelay = wTree.get_widget( "hoverDelay" ) self.iconSize = wTree.get_widget( "iconSize" ) self.favIconSize = wTree.get_widget( "favIconSize" ) self.placesIconSize = wTree.get_widget( "placesIconSize" ) @@ -145,7 +145,19 @@ class mintMenuConfig( object ): self.buttonText = wTree.get_widget( "buttonText" ) self.hotkeyText = wTree.get_widget( "hotkeyText" ) self.buttonIcon = wTree.get_widget( "buttonIcon" ) - self.buttonIconImage = wTree.get_widget( "image_button_icon" ) + self.buttonIconChooser = wTree.get_widget( "button_icon_chooser" ) + self.image_filter = gtk.FileFilter() + self.image_filter.set_name(_("Images")) + self.image_filter.add_pattern("*.png") + self.image_filter.add_pattern("*.jpg") + self.image_filter.add_pattern("*.jpeg") + self.image_filter.add_pattern("*.bmp") + self.image_filter.add_pattern("*.ico") + self.image_filter.add_pattern("*.xpm") + self.image_filter.add_pattern("*.svg") + self.buttonIconChooser.add_filter(self.image_filter) + self.buttonIconChooser.set_filter(self.image_filter) + self.buttonIconImage = wTree.get_widget("image_button_icon") self.searchCommand = wTree.get_widget( "search_command" ) self.computertoggle = wTree.get_widget( "computercheckbutton" ) self.homefoldertoggle = wTree.get_widget( "homecheckbutton" ) @@ -158,7 +170,7 @@ class mintMenuConfig( object ): self.placesHeightButton = wTree.get_widget( "placesHeightSpinButton" ) if (self.allowPlacesScrollbarToggle.get_active() == False): self.placesHeightButton.set_sensitive(False) - self.allowPlacesScrollbarToggle.connect("toggled", self.togglePlacesHeightEnabled ) + self.allowPlacesScrollbarToggle.connect("toggled", self.togglePlacesHeightEnabled ) self.softwareManagerToggle = wTree.get_widget( "softwaremanagercheckbutton" ) self.packageManagerToggle = wTree.get_widget( "packagemanagercheckbutton" ) self.controlCenterToggle = wTree.get_widget( "controlcentercheckbutton" ) @@ -194,12 +206,12 @@ class mintMenuConfig( object ): self.bindGconfValueToWidget( self.gconfApplications, "bool", "swap_generic_name", self.swapGeneric, "toggled", self.swapGeneric.set_active, self.swapGeneric.get_active ) self.bindGconfValueToWidget( self.gconfApplications, "int", "category_hover_delay", self.hoverDelay, "value-changed", self.hoverDelay.set_value, self.hoverDelay.get_value ) - self.bindGconfValueToWidget( self.gconfApplications, "int", "icon_size", self.iconSize, "value-changed", self.iconSize.set_value, self.iconSize.get_value ) + self.bindGconfValueToWidget( self.gconfApplications, "int", "icon_size", self.iconSize, "value-changed", self.iconSize.set_value, self.iconSize.get_value ) self.bindGconfValueToWidget( self.gconfApplications, "int", "favicon_size", self.favIconSize, "value-changed", self.favIconSize.set_value, self.favIconSize.get_value ) self.bindGconfValueToWidget( self.gconfApplications, "int", "fav_cols", self.favCols, "value-changed", self.favCols.set_value, self.favCols.get_value ) - - self.bindGconfValueToWidget( self.gconfPlaces, "int", "icon_size", self.placesIconSize, "value-changed", self.placesIconSize.set_value, self.placesIconSize.get_value ) - self.bindGconfValueToWidget( self.gconfSystem, "int", "icon_size", self.systemIconSize, "value-changed", self.systemIconSize.set_value, self.systemIconSize.get_value ) + + self.bindGconfValueToWidget( self.gconfPlaces, "int", "icon_size", self.placesIconSize, "value-changed", self.placesIconSize.set_value, self.placesIconSize.get_value ) + self.bindGconfValueToWidget( self.gconfSystem, "int", "icon_size", self.systemIconSize, "value-changed", self.systemIconSize.set_value, self.systemIconSize.get_value ) self.bindGconfValueToWidget( self.gconf, "int", "border_width", self.borderWidth, "value-changed", self.borderWidth.set_value, self.borderWidth.get_value_as_int ) self.bindGconfValueToWidget( self.gconf, "int", "opacity", self.opacity, "value-changed", self.opacity.set_value, self.opacity.get_value_as_int ) @@ -210,7 +222,7 @@ class mintMenuConfig( object ): self.bindGconfValueToWidget( self.gconf, "bool", "hide_applet_icon", self.showButtonIcon, "toggled", self.setShowButtonIcon, self.getShowButtonIcon ) self.bindGconfValueToWidget( self.gconf, "string", "applet_text", self.buttonText, "changed", self.buttonText.set_text, self.buttonText.get_text ) self.bindGconfValueToWidget( self.gconf, "string", "hot_key", self.hotkeyText, "changed", self.hotkeyText.set_text, self.hotkeyText.get_text ) - self.bindGconfValueToWidget( self.gconf, "string", "applet_icon", self.buttonIcon, "changed", self.setButtonIcon, self.buttonIcon.get_text ) + self.bindGconfValueToWidget( self.gconf, "string", "applet_icon", self.buttonIconChooser, "file-set", self.setButtonIcon, self.buttonIconChooser.get_filename ) self.bindGconfValueToWidget( self.gconfApplications, "string", "search_command", self.searchCommand, "changed", self.searchCommand.set_text, self.searchCommand.get_text ) self.getPluginsToggle() @@ -261,12 +273,12 @@ class mintMenuConfig( object ): wTree.get_widget("upButton").connect("clicked", self.moveUp) wTree.get_widget("downButton").connect("clicked", self.moveDown) wTree.get_widget("removeButton").connect("clicked", self.removePlace) - + #Detect themes and show theme here theme_name = commands.getoutput("gconftool-2 --get /apps/mintMenu/theme_name").strip() themes = commands.getoutput("find /usr/share/themes -name gtkrc") themes = themes.split("\n") - model = gtk.ListStore(str, str) + model = gtk.ListStore(str, str) wTree.get_widget("themesCombo").set_model(model) selected_theme = model.append([_("Desktop theme"), "default"]) for theme in themes: @@ -283,7 +295,7 @@ class mintMenuConfig( object ): wTree.get_widget("themesCombo").connect("changed", self.set_theme) self.mainWindow.present() self.getBackgroundColor() - + def set_theme(self, widget): model = widget.get_model() iter = widget.get_active_iter() @@ -324,7 +336,7 @@ class mintMenuConfig( object ): visiblePlugins.append("recent") layout = "" for plugin in visiblePlugins: - layout = layout + plugin + "," + layout = layout + plugin + "," if len(layout) > 0 and layout[-1] == ",": layout = layout[0:-1] os.system("gconftool-2 --type list --list-type string --set /apps/mintMenu/plugins_list [%s]" % layout) @@ -333,7 +345,7 @@ class mintMenuConfig( object ): self.showButtonIcon.set_active(not value ) def setButtonIcon( self, value ): - self.buttonIcon.set_text(value) + self.buttonIconChooser.set_filename(value) self.buttonIconImage.set_from_file(value) def getShowButtonIcon( self ):