diff --git a/mintmenu.pot b/mintmenu.pot index 9414359..05a2920 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: 2009-10-09 12:23-0500\n" +"POT-Creation-Date: 2009-10-10 09:26-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -81,162 +81,212 @@ msgstr "" msgid "Packages to be removed" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:41 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:42 msgid "Menu preferences" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:44 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:45 msgid "Show sidepane" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:45 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:46 msgid "Show button icon" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:46 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:47 msgid "Use custom colors" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:47 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:48 msgid "Show recent documents" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:49 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:50 msgid "Show application comments" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:50 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:51 msgid "Show category icons" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:51 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:52 msgid "Hover" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:52 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:53 msgid "Swap name and generic name" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:54 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:55 msgid "Border width:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:55 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:56 msgid "pixels" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:56 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:57 msgid "Button text:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:57 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:58 msgid "Options" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:58 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:59 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:193 msgid "Applications" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:60 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:61 msgid "Colors" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:61 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:62 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:179 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:184 msgid "Favorites" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:62 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:63 msgid "Main button" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:64 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:65 msgid "Background:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:65 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:66 msgid "Headings:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:66 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:67 msgid "Borders:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:70 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:71 msgid "Number of columns:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:71 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:72 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:73 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:74 msgid "Icon size:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:74 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:75 msgid "Hover delay (ms):" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:75 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:76 msgid "Button icon:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:76 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:77 msgid "Search command:" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:78 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:79 #: usr/lib/linuxmint/mintMenu/plugins/places.py:40 msgid "Places" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:79 -msgid "Height:" -msgstr "" - #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:80 -msgid "Toggle Default Places:" +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:91 +msgid "Allow Scrollbar" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:81 -#: usr/lib/linuxmint/mintMenu/plugins/places.py:123 -msgid "Computer" +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:92 +msgid "Height:" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:82 -#: usr/lib/linuxmint/mintMenu/plugins/places.py:130 -msgid "Home Folder" +msgid "Toggle Default Places:" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:83 -#: usr/lib/linuxmint/mintMenu/plugins/places.py:137 -msgid "Network" +#: usr/lib/linuxmint/mintMenu/plugins/places.py:128 +msgid "Computer" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:84 -#: usr/lib/linuxmint/mintMenu/plugins/places.py:157 -msgid "Desktop" +#: usr/lib/linuxmint/mintMenu/plugins/places.py:135 +msgid "Home Folder" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:85 -#: usr/lib/linuxmint/mintMenu/plugins/places.py:164 -msgid "Trash" +#: usr/lib/linuxmint/mintMenu/plugins/places.py:142 +msgid "Network" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:86 -msgid "Custom Places:" +#: usr/lib/linuxmint/mintMenu/plugins/places.py:162 +msgid "Desktop" +msgstr "" + +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:87 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:169 +msgid "Trash" msgstr "" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:88 +msgid "Custom Places:" +msgstr "" + +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:90 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:38 +msgid "System" +msgstr "" + +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:93 +msgid "Toggle Default Items:" +msgstr "" + +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:94 +msgid "Software Manager" +msgstr "" + +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:95 +msgid "Package Manager" +msgstr "" + +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:96 +msgid "Control Center" +msgstr "" + +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:97 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:139 +msgid "Terminal" +msgstr "" + +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:98 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:146 +msgid "Lock Screen" +msgstr "" + +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:99 +msgid "Log Out" +msgstr "" + +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:100 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:160 +msgid "Quit" +msgstr "" + +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:102 msgid "Edit Place" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:89 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:103 msgid "New Place" msgstr "" -#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:91 +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:104 +msgid "Select a folder" +msgstr "" + +#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:106 msgid "Keyboard shortcut:" msgstr "" @@ -339,79 +389,71 @@ msgstr "" msgid "Show all applications" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:37 -msgid "System" -msgstr "" - -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:101 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:118 msgid "Software manager" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:105 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:122 msgid "Browse and install available software" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:107 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:125 msgid "Package manager" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:111 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:129 msgid "Install, remove and upgrade software packages" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:113 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:132 msgid "Control center" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:117 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:136 msgid "Configure your system" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:119 -msgid "Terminal" -msgstr "" - -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:123 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:143 msgid "Use the command line" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:125 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:150 +msgid "Requires password to unlock" +msgstr "" + +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:153 msgid "Logout" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:129 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:157 msgid "Log out or switch user" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:131 -msgid "Quit" -msgstr "" - -#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:135 +#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:164 msgid "Shutdown, restart, suspend or hibernate" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/places.py:127 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:132 msgid "" "Browse all local and remote disks and folders accessible from this computer" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/places.py:134 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:139 msgid "Open your personal folder" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/places.py:141 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:146 msgid "Browse bookmarked and local network locations" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/places.py:161 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:166 msgid "Browse items placed on the desktop" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/places.py:170 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:175 msgid "Browse deleted files" msgstr "" -#: usr/lib/linuxmint/mintMenu/plugins/places.py:183 +#: usr/lib/linuxmint/mintMenu/plugins/places.py:188 msgid "Empty trash" msgstr "" diff --git a/usr/lib/linuxmint/mintMenu/mintMenuConfig.glade b/usr/lib/linuxmint/mintMenu/mintMenuConfig.glade index 5a3bae3..cfda052 100644 --- a/usr/lib/linuxmint/mintMenu/mintMenuConfig.glade +++ b/usr/lib/linuxmint/mintMenu/mintMenuConfig.glade @@ -1218,7 +1218,7 @@ True 4 - + True Height: True @@ -1269,9 +1269,8 @@ True vertical - - Package Manager - True + + Software Manager True False True @@ -1282,6 +1281,20 @@ 0 + + + Package Manager + True + True + False + True + + + False + False + 1 + + Control Center @@ -1291,7 +1304,7 @@ True - 1 + 2 @@ -1304,7 +1317,7 @@ True - 2 + 3 @@ -1317,7 +1330,7 @@ True - 3 + 4 @@ -1329,7 +1342,7 @@ True - 4 + 5 @@ -1341,7 +1354,7 @@ True - 5 + 6 @@ -1349,8 +1362,9 @@ - + True + 0.56000000238418579 Toggle Default Items: True diff --git a/usr/lib/linuxmint/mintMenu/mintMenuConfig.py b/usr/lib/linuxmint/mintMenu/mintMenuConfig.py index aee925d..f0058c4 100755 --- a/usr/lib/linuxmint/mintMenu/mintMenuConfig.py +++ b/usr/lib/linuxmint/mintMenu/mintMenuConfig.py @@ -77,6 +77,7 @@ class mintMenuConfig( object ): wTree.get_widget("label5").set_text(_("Search command:")) wTree.get_widget("placesLabel").set_text(_("Places")) + wTree.get_widget("allowscrollbarcheckbutton").set_label(_("Allow Scrollbar")) wTree.get_widget("placesHeightEntryLabel").set_text(_("Height:")) wTree.get_widget("defaultPlacesFrameLabel").set_text(_("Toggle Default Places:")) wTree.get_widget("computercheckbutton").set_label(_("Computer")) @@ -86,6 +87,18 @@ class mintMenuConfig( object ): wTree.get_widget("trashcheckbutton").set_label(_("Trash")) wTree.get_widget("customPlacesFrameLabel").set_text(_("Custom Places:")) + wTree.get_widget("systemLabel").set_text(_("System")) + wTree.get_widget("allowscrollbarcheckbutton1").set_label(_("Allow Scrollbar")) + wTree.get_widget("systemHeightEntryLabel").set_text(_("Height:")) + wTree.get_widget("defaultItemsFrameLabel").set_text(_("Toggle Default Items:")) + wTree.get_widget("softwaremanagercheckbutton").set_label(_("Software Manager")) + wTree.get_widget("packagemanagercheckbutton").set_label(_("Package Manager")) + wTree.get_widget("controlcentercheckbutton").set_label(_("Control Center")) + wTree.get_widget("terminalcheckbutton").set_label(_("Terminal")) + wTree.get_widget("lockcheckbutton").set_label(_("Lock Screen")) + wTree.get_widget("logoutcheckbutton").set_label(_("Log Out")) + wTree.get_widget("quitcheckbutton").set_label(_("Quit")) + self.editPlaceDialogTitle = (_("Edit Place")) self.newPlaceDialogTitle = (_("New Place")) self.folderChooserDialogTitle = (_("Select a folder")) @@ -128,6 +141,7 @@ class mintMenuConfig( object ): if (self.allowPlacesScrollbarToggle.get_active() == False): self.placesHeightButton.set_sensitive(False) self.allowPlacesScrollbarToggle.connect("toggled", self.togglePlacesHeightEnabled ) + self.softwareManagerToggle = wTree.get_widget( "softwaremanagercheckbutton" ) self.packageManagerToggle = wTree.get_widget( "packagemanagercheckbutton" ) self.controlCenterToggle = wTree.get_widget( "controlcentercheckbutton" ) self.packageManagerToggle = wTree.get_widget( "packagemanagercheckbutton" ) @@ -137,9 +151,13 @@ class mintMenuConfig( object ): self.quitToggle = wTree.get_widget( "quitcheckbutton" ) self.allowSystemScrollbarToggle = wTree.get_widget( "allowscrollbarcheckbutton1" ) self.systemHeightButton = wTree.get_widget( "systemHeightSpinButton" ) - if (self.allowSystemScrollbarToggle.get_active() == False): - self.systemHeightButton.set_sensitive(False) + if (self.allowSystemScrollbarToggle.get_active() == False): self.systemHeightButton.set_sensitive(False) self.allowSystemScrollbarToggle.connect("toggled", self.toggleSystemHeightEnabled ) + if os.path.exists("/usr/lib/linuxmint/mintInstall/icon.svg"): + wTree.get_widget( "softwaremanagercheckbutton" ).visible = True + else: + wTree.get_widget( "softwaremanagercheckbutton" ).visible = False + wTree.get_widget( "closeButton" ).connect("clicked", gtk.main_quit ) @@ -184,6 +202,7 @@ class mintMenuConfig( object ): self.bindGconfValueToWidget( self.gconfPlaces, "int", "height", self.placesHeightButton, "value-changed", self.placesHeightButton.set_value, self.placesHeightButton.get_value_as_int ) self.bindGconfValueToWidget( self.gconfPlaces, "bool", "allowScrollbar", self.allowPlacesScrollbarToggle, "toggled", self.allowPlacesScrollbarToggle.set_active, self.allowPlacesScrollbarToggle.get_active ) + self.bindGconfValueToWidget( self.gconfSystem, "bool", "show_show_software_manager", self.softwareManagerToggle, "toggled", self.softwareManagerToggle.set_active, self.softwareManagerToggle.get_active ) self.bindGconfValueToWidget( self.gconfSystem, "bool", "show_package_manager", self.packageManagerToggle, "toggled", self.packageManagerToggle.set_active, self.packageManagerToggle.get_active ) self.bindGconfValueToWidget( self.gconfSystem, "bool", "show_control_center", self.controlCenterToggle, "toggled", self.controlCenterToggle.set_active, self.controlCenterToggle.get_active ) self.bindGconfValueToWidget( self.gconfSystem, "bool", "show_terminal", self.terminalToggle, "toggled", self.terminalToggle.set_active, self.terminalToggle.get_active ) diff --git a/usr/lib/linuxmint/mintMenu/plugins/filemonitor.pyc b/usr/lib/linuxmint/mintMenu/plugins/filemonitor.pyc index 755088a..4b5ea2a 100755 Binary files a/usr/lib/linuxmint/mintMenu/plugins/filemonitor.pyc and b/usr/lib/linuxmint/mintMenu/plugins/filemonitor.pyc differ