APT search can now be disabled via prefs

This commit is contained in:
Clement Lefebvre 2010-09-24 14:52:36 +01:00
parent ba7b48553c
commit d8ae8c10b2
5 changed files with 162 additions and 115 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
mintmenu (5.1.3) julia; urgency=low
* APT search can be turned off
-- Clement Lefebvre <root@linuxmint.com> Fri, 24 Sep 2010 14:52:00 +0000
mintmenu (5.1.2) julia; urgency=low mintmenu (5.1.2) julia; urgency=low
* Many UI improvements * Many UI improvements

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-09-23 09:53+0100\n" "POT-Creation-Date: 2010-09-24 14:51+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -44,14 +44,10 @@ msgstr ""
msgid "About" msgid "About"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:747 #: usr/lib/linuxmint/mintMenu/mintMenu.py:737
msgid "Advanced Gnome Menu" msgid "Advanced Gnome Menu"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:750
msgid "Based on USP from S.Chanderbally"
msgstr ""
#: usr/lib/linuxmint/mintMenu/mintRemove.py:48 #: usr/lib/linuxmint/mintMenu/mintRemove.py:48
msgid "Please wait, this can take some time" msgid "Please wait, this can take some time"
msgstr "" msgstr ""
@ -126,216 +122,221 @@ msgid "Hover"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:56 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:56
msgid "Search for packages to install"
msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:57
msgid "Swap name and generic name" msgid "Swap name and generic name"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:58 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:59
msgid "Border width:" msgid "Border width:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:59 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:60
msgid "pixels" msgid "pixels"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:61 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:62
msgid "Opacity:" msgid "Opacity:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:64 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:65
msgid "Button text:" msgid "Button text:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:65 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:66
msgid "Options" msgid "Options"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:66 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:67
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:257 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:236
msgid "Applications" msgid "Applications"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:68 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:69
msgid "Theme" msgid "Theme"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:69 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:70
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:254 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:233
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:255 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:234
msgid "Favorites" msgid "Favorites"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:70 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:71
msgid "Main button" msgid "Main button"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:72 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:73
msgid "Background:" msgid "Background:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:73 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:74
msgid "Headings:" msgid "Headings:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:74 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:75
msgid "Borders:" msgid "Borders:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:75 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:76
msgid "Theme:" msgid "Theme:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:79 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:80
msgid "Number of columns:" msgid "Number of columns:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:80
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:81 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:81
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:82 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:82
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:83
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:84
msgid "Icon size:" msgid "Icon size:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:83 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:85
msgid "Hover delay (ms):" msgid "Hover delay (ms):"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:84 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:86
msgid "Button icon:" msgid "Button icon:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:85 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:87
msgid "Search command:" msgid "Search command:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:87 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:89
#: usr/lib/linuxmint/mintMenu/plugins/places.py:40 #: usr/lib/linuxmint/mintMenu/plugins/places.py:40
msgid "Places" msgid "Places"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:88 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:90
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:100 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:102
msgid "Allow Scrollbar" msgid "Allow Scrollbar"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:89 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:91
msgid "Show GTK Bookmarks" msgid "Show GTK Bookmarks"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:90 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:92
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:101 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:103
msgid "Height:" msgid "Height:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:91 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:93
msgid "Toggle Default Places:" msgid "Toggle Default Places:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:92 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:94
#: usr/lib/linuxmint/mintMenu/plugins/places.py:148 #: usr/lib/linuxmint/mintMenu/plugins/places.py:148
msgid "Computer" msgid "Computer"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:93 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:95
#: usr/lib/linuxmint/mintMenu/plugins/places.py:155 #: usr/lib/linuxmint/mintMenu/plugins/places.py:155
msgid "Home Folder" msgid "Home Folder"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:94 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:96
#: usr/lib/linuxmint/mintMenu/plugins/places.py:162 #: usr/lib/linuxmint/mintMenu/plugins/places.py:162
msgid "Network" msgid "Network"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:95 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:97
#: usr/lib/linuxmint/mintMenu/plugins/places.py:182 #: usr/lib/linuxmint/mintMenu/plugins/places.py:182
msgid "Desktop" msgid "Desktop"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:96 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:98
#: usr/lib/linuxmint/mintMenu/plugins/places.py:189 #: usr/lib/linuxmint/mintMenu/plugins/places.py:189
msgid "Trash" msgid "Trash"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:97 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:99
msgid "Custom Places:" msgid "Custom Places:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:99 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:101
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:38 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:38
msgid "System" msgid "System"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:102 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:104
msgid "Toggle Default Items:" msgid "Toggle Default Items:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:103 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:105
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:134 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:134
msgid "Software Manager" msgid "Software Manager"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:104 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:106
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:141 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:141
msgid "Package Manager" msgid "Package Manager"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:105 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:107
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:148 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:148
msgid "Control Center" msgid "Control Center"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:106 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:108
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:155 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:155
msgid "Terminal" msgid "Terminal"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:107 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:109
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:162 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:162
msgid "Lock Screen" msgid "Lock Screen"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:108 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:110
msgid "Log Out" msgid "Log Out"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:109 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:111
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:176 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:176
msgid "Quit" msgid "Quit"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:111 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:113
msgid "Edit Place" msgid "Edit Place"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:112 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:114
msgid "New Place" msgid "New Place"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:113 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:115
msgid "Select a folder" msgid "Select a folder"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:115 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:117
msgid "Keyboard shortcut:" msgid "Keyboard shortcut:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:248 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:255
msgid "Name" msgid "Name"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:249 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:256
msgid "Path" msgid "Path"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:264 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:271
msgid "Desktop theme" msgid "Desktop theme"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:399 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:406
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:433 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:440
msgid "Name:" msgid "Name:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:400 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:407
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:434 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:441
msgid "Path:" msgid "Path:"
msgstr "" msgstr ""
@ -343,142 +344,142 @@ msgstr ""
msgid "Recent documents" msgid "Recent documents"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:252 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:231
msgid "Search:" msgid "Search:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:256 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:235
msgid "All applications" msgid "All applications"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:619 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:610
#, python-format #, python-format
msgid "Search Google for %s" msgid "Search Google for %s"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:626 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:617
#, python-format #, python-format
msgid "Search Wikipedia for %s" msgid "Search Wikipedia for %s"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:642 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:633
#, python-format #, python-format
msgid "Lookup %s in Dictionary" msgid "Lookup %s in Dictionary"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:649 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:640
#, python-format #, python-format
msgid "Search Computer for %s" msgid "Search Computer for %s"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:711 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:702
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:765 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:756
#, python-format #, python-format
msgid "Install package '%s'" msgid "Install package '%s'"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:869 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:860
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:936 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:927
msgid "Add to desktop" msgid "Add to desktop"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:870 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:861
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:937 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:928
msgid "Add to panel" msgid "Add to panel"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:872 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:863
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:918 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:909
msgid "Insert space" msgid "Insert space"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:873 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:864
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:919 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:910
msgid "Insert separator" msgid "Insert separator"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:875 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:866
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:940 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:931
msgid "Launch when I log in" msgid "Launch when I log in"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:877 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:868
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:942 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:933
msgid "Launch" msgid "Launch"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:878 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:869
msgid "Remove from favorites" msgid "Remove from favorites"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:880 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:871
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:946 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:937
msgid "Edit properties" msgid "Edit properties"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:917 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:908
msgid "Remove" msgid "Remove"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:939 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:930
msgid "Show in my favorites" msgid "Show in my favorites"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:943 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:934
msgid "Uninstall" msgid "Uninstall"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:944 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:935
msgid "Delete from menu" msgid "Delete from menu"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:997 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:988
msgid "Search Google" msgid "Search Google"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1004 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:995
msgid "Search Wikipedia" msgid "Search Wikipedia"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1014 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:1005
msgid "Lookup Dictionnary" msgid "Lookup Dictionnary"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1021 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:1012
msgid "Search Computer" msgid "Search Computer"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1031 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:1022
msgid "Find Software" msgid "Find Software"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1038 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:1029
msgid "Find Tutorials" msgid "Find Tutorials"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1045 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:1036
msgid "Find Hardware" msgid "Find Hardware"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1052 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:1043
msgid "Find Ideas" msgid "Find Ideas"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1059 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:1050
msgid "Find Users" msgid "Find Users"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1533 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:1524
msgid "" msgid ""
"Couldn't save favorites. Check if you have write access to ~/.linuxmint/" "Couldn't save favorites. Check if you have write access to ~/.linuxmint/"
"mintMenu" "mintMenu"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1710 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:1701
msgid "All" msgid "All"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:1710 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:1701
msgid "Show all applications" msgid "Show all applications"
msgstr "" msgstr ""

View File

@ -593,7 +593,7 @@
<widget class="GtkTable" id="table17"> <widget class="GtkTable" id="table17">
<property name="visible">True</property> <property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="n_rows">6</property> <property name="n_rows">7</property>
<property name="n_columns">2</property> <property name="n_columns">2</property>
<property name="row_spacing">5</property> <property name="row_spacing">5</property>
<property name="homogeneous">True</property> <property name="homogeneous">True</property>
@ -744,6 +744,24 @@
<property name="x_padding">5</property> <property name="x_padding">5</property>
</packing> </packing>
</child> </child>
<child>
<widget class="GtkCheckButton" id="use_apt">
<property name="label" translatable="yes">Search for packages to install</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
<property name="right_attach">2</property>
<property name="top_attach">6</property>
<property name="bottom_attach">7</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
<property name="x_padding">5</property>
</packing>
</child>
</widget> </widget>
</child> </child>
<child> <child>

View File

@ -53,6 +53,7 @@ class mintMenuConfig( object ):
wTree.get_widget("showAppComments").set_label(_("Show application comments")) wTree.get_widget("showAppComments").set_label(_("Show application comments"))
wTree.get_widget("showCategoryIcons").set_label(_("Show category icons")) wTree.get_widget("showCategoryIcons").set_label(_("Show category icons"))
wTree.get_widget("hover").set_label(_("Hover")) wTree.get_widget("hover").set_label(_("Hover"))
wTree.get_widget("use_apt").set_label(_("Search for packages to install"))
wTree.get_widget("swapGeneric").set_label(_("Swap name and generic name")) wTree.get_widget("swapGeneric").set_label(_("Swap name and generic name"))
wTree.get_widget("label11").set_text(_("Border width:")) wTree.get_widget("label11").set_text(_("Border width:"))
@ -117,6 +118,7 @@ class mintMenuConfig( object ):
self.startWithFavorites = wTree.get_widget( "startWithFavorites" ) self.startWithFavorites = wTree.get_widget( "startWithFavorites" )
self.showAppComments = wTree.get_widget( "showAppComments" ) self.showAppComments = wTree.get_widget( "showAppComments" )
self.useAPT = wTree.get_widget( "use_apt" )
self.showCategoryIcons = wTree.get_widget( "showCategoryIcons" ) self.showCategoryIcons = wTree.get_widget( "showCategoryIcons" )
self.showRecentPlugin = wTree.get_widget( "showRecentPlugin" ) self.showRecentPlugin = wTree.get_widget( "showRecentPlugin" )
self.showApplicationsPlugin = wTree.get_widget( "showApplicationsPlugin" ) self.showApplicationsPlugin = wTree.get_widget( "showApplicationsPlugin" )
@ -186,6 +188,7 @@ class mintMenuConfig( object ):
self.bindGconfValueToWidget( self.gconf, "bool", "start_with_favorites", self.startWithFavorites, "toggled", self.startWithFavorites.set_active, self.startWithFavorites.get_active ) self.bindGconfValueToWidget( self.gconf, "bool", "start_with_favorites", self.startWithFavorites, "toggled", self.startWithFavorites.set_active, self.startWithFavorites.get_active )
self.bindGconfValueToWidget( self.gconfApplications, "bool", "show_application_comments", self.showAppComments, "toggled", self.showAppComments.set_active, self.showAppComments.get_active ) self.bindGconfValueToWidget( self.gconfApplications, "bool", "show_application_comments", self.showAppComments, "toggled", self.showAppComments.set_active, self.showAppComments.get_active )
self.bindGconfValueToWidget( self.gconfApplications, "bool", "use_apt", self.useAPT, "toggled", self.useAPT.set_active, self.useAPT.get_active )
self.bindGconfValueToWidget( self.gconfApplications, "bool", "show_category_icons", self.showCategoryIcons, "toggled", self.showCategoryIcons.set_active, self.showCategoryIcons.get_active ) self.bindGconfValueToWidget( self.gconfApplications, "bool", "show_category_icons", self.showCategoryIcons, "toggled", self.showCategoryIcons.set_active, self.showCategoryIcons.get_active )
self.bindGconfValueToWidget( self.gconfApplications, "bool", "categories_mouse_over", self.hover, "toggled", self.hover.set_active, self.hover.get_active ) self.bindGconfValueToWidget( self.gconfApplications, "bool", "categories_mouse_over", self.hover, "toggled", self.hover.set_active, self.hover.get_active )
self.bindGconfValueToWidget( self.gconfApplications, "bool", "swap_generic_name", self.swapGeneric, "toggled", self.swapGeneric.set_active, self.swapGeneric.get_active ) self.bindGconfValueToWidget( self.gconfApplications, "bool", "swap_generic_name", self.swapGeneric, "toggled", self.swapGeneric.set_active, self.swapGeneric.get_active )

View File

@ -208,13 +208,6 @@ class pluginclass( object ):
@print_timing @print_timing
def __init__( self, mintMenuWin, toggleButton ): def __init__( self, mintMenuWin, toggleButton ):
self.apt_cache = None
try:
self.apt_cache = apt.Cache()
except Exception, detail:
print "Could not initialize APT cache"
pass
self.mintMenuWin = mintMenuWin self.mintMenuWin = mintMenuWin
self.mainMenus = [ ] self.mainMenus = [ ]
@ -284,6 +277,7 @@ class pluginclass( object ):
self.gconf.notifyAdd( "swap_generic_name", self.changeSwapGenericName ) self.gconf.notifyAdd( "swap_generic_name", self.changeSwapGenericName )
self.gconf.notifyAdd( "show_category_icons", self.changeShowCategoryIcons ) self.gconf.notifyAdd( "show_category_icons", self.changeShowCategoryIcons )
self.gconf.notifyAdd( "show_application_comments", self.changeShowApplicationComments ) self.gconf.notifyAdd( "show_application_comments", self.changeShowApplicationComments )
self.gconf.notifyAdd( "use_apt", self.switchAPTUsage)
self.gconf.notifyAdd( "fav_cols", self.changeFavCols ) self.gconf.notifyAdd( "fav_cols", self.changeFavCols )
self.gconf.bindGconfEntryToVar( "int", "category_hover_delay", self, "categoryhoverdelay" ) self.gconf.bindGconfEntryToVar( "int", "category_hover_delay", self, "categoryhoverdelay" )
@ -318,6 +312,14 @@ class pluginclass( object ):
#for f in mymenu.directory.AppDirs: #for f in mymenu.directory.AppDirs:
# self.menuFileMonitors.append( filemonitor.addMonitor(f, self.onMenuChanged, mymenu.directory.Filename ) ) # self.menuFileMonitors.append( filemonitor.addMonitor(f, self.onMenuChanged, mymenu.directory.Filename ) )
self.apt_cache = None
if self.useAPT:
try:
self.apt_cache = apt.Cache()
except Exception, detail:
print "Could not initialize APT cache"
pass
self.suggestions = [] self.suggestions = []
self.current_suggestion = None self.current_suggestion = None
self.get_panel() self.get_panel()
@ -411,6 +413,19 @@ class pluginclass( object ):
if isinstance( child, FavApplicationLauncher): if isinstance( child, FavApplicationLauncher):
child.setIconSize( self.faviconsize ) child.setIconSize( self.faviconsize )
def switchAPTUsage( self, client, connection_id, entry, args ):
self.useAPT = entry.get_value().get_bool()
if self.useAPT:
try:
apt_cache = apt.Cache()
if apt_cache != None:
self.apt_cache = apt_cache
except Exception, detail:
print "Could not refresh APT cache"
pass
else:
self.apt_cache = None
def changeShowApplicationComments( self, client, connection_id, entry, args ): def changeShowApplicationComments( self, client, connection_id, entry, args ):
self.showapplicationcomments = entry.get_value().get_bool() self.showapplicationcomments = entry.get_value().get_bool()
for child in self.applicationsBox: for child in self.applicationsBox:
@ -435,6 +450,7 @@ class pluginclass( object ):
self.favoritesPositionOnGrid( fav ) self.favoritesPositionOnGrid( fav )
def RegenPlugin( self, *args, **kargs ): def RegenPlugin( self, *args, **kargs ):
if self.useAPT:
try: try:
apt_cache = apt.Cache() apt_cache = apt.Cache()
if apt_cache != None: if apt_cache != None:
@ -442,6 +458,8 @@ class pluginclass( object ):
except Exception, detail: except Exception, detail:
print "Could not refresh APT cache" print "Could not refresh APT cache"
pass pass
else:
self.apt_cache = None
# save old config - this is necessary because the app will notified when it sets the default values and you don't want the to reload itself several times # save old config - this is necessary because the app will notified when it sets the default values and you don't want the to reload itself several times
oldcategories_mouse_over = self.categories_mouse_over oldcategories_mouse_over = self.categories_mouse_over
@ -475,6 +493,7 @@ class pluginclass( object ):
self.showcategoryicons = self.gconf.get( "bool", "show_category_icons", True ) self.showcategoryicons = self.gconf.get( "bool", "show_category_icons", True )
self.categoryhoverdelay = self.gconf.get( "int", "category_hover_delay", 150 ) self.categoryhoverdelay = self.gconf.get( "int", "category_hover_delay", 150 )
self.showapplicationcomments = self.gconf.get( "bool", "show_application_comments", True ) self.showapplicationcomments = self.gconf.get( "bool", "show_application_comments", True )
self.useAPT = self.gconf.get( "bool", "use_apt", True )
self.lastActiveTab = self.gconf.get( "int", "last_active_tab", 0 ) self.lastActiveTab = self.gconf.get( "int", "last_active_tab", 0 )
self.defaultTab = self.gconf.get( "int", "default_tab", -1 ) self.defaultTab = self.gconf.get( "int", "default_tab", -1 )