i18n for System tab of Preferences

This commit is contained in:
clhodapp 2009-10-10 09:26:54 -05:00
parent d896f93794
commit 1cf8e0ca78
4 changed files with 160 additions and 85 deletions

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: 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" "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"
@ -81,162 +81,212 @@ msgstr ""
msgid "Packages to be removed" msgid "Packages to be removed"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:41 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:42
msgid "Menu preferences" msgid "Menu preferences"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:44 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:45
msgid "Show sidepane" msgid "Show sidepane"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:45 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:46
msgid "Show button icon" msgid "Show button icon"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:46 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:47
msgid "Use custom colors" msgid "Use custom colors"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:47 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:48
msgid "Show recent documents" msgid "Show recent documents"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:49 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:50
msgid "Show application comments" msgid "Show application comments"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:50 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:51
msgid "Show category icons" msgid "Show category icons"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:51 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:52
msgid "Hover" msgid "Hover"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:52 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:53
msgid "Swap name and generic name" msgid "Swap name and generic name"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:54 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:55
msgid "Border width:" msgid "Border width:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:55 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:56
msgid "pixels" msgid "pixels"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:56 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:57
msgid "Button text:" msgid "Button text:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:57 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:58
msgid "Options" msgid "Options"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:58 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:59
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:193 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:193
msgid "Applications" msgid "Applications"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:60 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:61
msgid "Colors" msgid "Colors"
msgstr "" 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:179
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:184 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:184
msgid "Favorites" msgid "Favorites"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:62 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:63
msgid "Main button" msgid "Main button"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:64 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:65
msgid "Background:" msgid "Background:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:65 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:66
msgid "Headings:" msgid "Headings:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:66 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:67
msgid "Borders:" msgid "Borders:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:70 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:71
msgid "Number of columns:" msgid "Number of columns:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:71
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:72 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:72
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:73 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:73
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:74
msgid "Icon size:" msgid "Icon size:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:74 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:75
msgid "Hover delay (ms):" msgid "Hover delay (ms):"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:75 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:76
msgid "Button icon:" msgid "Button icon:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:76 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:77
msgid "Search command:" msgid "Search command:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:78 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:79
#: 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:79
msgid "Height:"
msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:80 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:80
msgid "Toggle Default Places:" #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:91
msgid "Allow Scrollbar"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:81 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:81
#: usr/lib/linuxmint/mintMenu/plugins/places.py:123 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:92
msgid "Computer" msgid "Height:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:82 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:82
#: usr/lib/linuxmint/mintMenu/plugins/places.py:130 msgid "Toggle Default Places:"
msgid "Home Folder"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:83 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:83
#: usr/lib/linuxmint/mintMenu/plugins/places.py:137 #: usr/lib/linuxmint/mintMenu/plugins/places.py:128
msgid "Network" msgid "Computer"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:84 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:84
#: usr/lib/linuxmint/mintMenu/plugins/places.py:157 #: usr/lib/linuxmint/mintMenu/plugins/places.py:135
msgid "Desktop" msgid "Home Folder"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:85 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:85
#: usr/lib/linuxmint/mintMenu/plugins/places.py:164 #: usr/lib/linuxmint/mintMenu/plugins/places.py:142
msgid "Trash" msgid "Network"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:86 #: 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 "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:88 #: 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" msgid "Edit Place"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:89 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:103
msgid "New Place" msgid "New Place"
msgstr "" 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:" msgid "Keyboard shortcut:"
msgstr "" msgstr ""
@ -339,79 +389,71 @@ msgstr ""
msgid "Show all applications" msgid "Show all applications"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:37 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:118
msgid "System"
msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:101
msgid "Software manager" msgid "Software manager"
msgstr "" 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" msgid "Browse and install available software"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:107 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:125
msgid "Package manager" msgid "Package manager"
msgstr "" 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" msgid "Install, remove and upgrade software packages"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:113 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:132
msgid "Control center" msgid "Control center"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:117 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:136
msgid "Configure your system" msgid "Configure your system"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:119 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:143
msgid "Terminal"
msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:123
msgid "Use the command line" msgid "Use the command line"
msgstr "" 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" msgid "Logout"
msgstr "" 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" msgid "Log out or switch user"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:131 #: usr/lib/linuxmint/mintMenu/plugins/system_management.py:164
msgid "Quit"
msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/system_management.py:135
msgid "Shutdown, restart, suspend or hibernate" msgid "Shutdown, restart, suspend or hibernate"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/places.py:127 #: usr/lib/linuxmint/mintMenu/plugins/places.py:132
msgid "" msgid ""
"Browse all local and remote disks and folders accessible from this computer" "Browse all local and remote disks and folders accessible from this computer"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/places.py:134 #: usr/lib/linuxmint/mintMenu/plugins/places.py:139
msgid "Open your personal folder" msgid "Open your personal folder"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/places.py:141 #: usr/lib/linuxmint/mintMenu/plugins/places.py:146
msgid "Browse bookmarked and local network locations" msgid "Browse bookmarked and local network locations"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/places.py:161 #: usr/lib/linuxmint/mintMenu/plugins/places.py:166
msgid "Browse items placed on the desktop" msgid "Browse items placed on the desktop"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/places.py:170 #: usr/lib/linuxmint/mintMenu/plugins/places.py:175
msgid "Browse deleted files" msgid "Browse deleted files"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/plugins/places.py:183 #: usr/lib/linuxmint/mintMenu/plugins/places.py:188
msgid "Empty trash" msgid "Empty trash"
msgstr "" msgstr ""

View File

@ -1218,7 +1218,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="spacing">4</property> <property name="spacing">4</property>
<child> <child>
<widget class="GtkLabel" id="placesHeightEntryLabel1"> <widget class="GtkLabel" id="systemHeightEntryLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Height:</property> <property name="label" translatable="yes">Height:</property>
<property name="use_markup">True</property> <property name="use_markup">True</property>
@ -1269,9 +1269,8 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<child> <child>
<widget class="GtkCheckButton" id="packagemanagercheckbutton"> <widget class="GtkCheckButton" id="softwaremanagercheckbutton">
<property name="label" translatable="yes">Package Manager</property> <property name="label" translatable="yes">Software Manager</property>
<property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">False</property> <property name="receives_default">False</property>
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
@ -1282,6 +1281,20 @@
<property name="position">0</property> <property name="position">0</property>
</packing> </packing>
</child> </child>
<child>
<widget class="GtkCheckButton" id="packagemanagercheckbutton">
<property name="label" translatable="yes">Package Manager</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
<child> <child>
<widget class="GtkCheckButton" id="controlcentercheckbutton"> <widget class="GtkCheckButton" id="controlcentercheckbutton">
<property name="label" translatable="yes">Control Center</property> <property name="label" translatable="yes">Control Center</property>
@ -1291,7 +1304,7 @@
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
</widget> </widget>
<packing> <packing>
<property name="position">1</property> <property name="position">2</property>
</packing> </packing>
</child> </child>
<child> <child>
@ -1304,7 +1317,7 @@
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
</widget> </widget>
<packing> <packing>
<property name="position">2</property> <property name="position">3</property>
</packing> </packing>
</child> </child>
<child> <child>
@ -1317,7 +1330,7 @@
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
</widget> </widget>
<packing> <packing>
<property name="position">3</property> <property name="position">4</property>
</packing> </packing>
</child> </child>
<child> <child>
@ -1329,7 +1342,7 @@
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
</widget> </widget>
<packing> <packing>
<property name="position">4</property> <property name="position">5</property>
</packing> </packing>
</child> </child>
<child> <child>
@ -1341,7 +1354,7 @@
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
</widget> </widget>
<packing> <packing>
<property name="position">5</property> <property name="position">6</property>
</packing> </packing>
</child> </child>
</widget> </widget>
@ -1349,8 +1362,9 @@
</widget> </widget>
</child> </child>
<child> <child>
<widget class="GtkLabel" id="defaultPlacesFrameLabel1"> <widget class="GtkLabel" id="defaultItemsFrameLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="xalign">0.56000000238418579</property>
<property name="label" translatable="yes">Toggle Default Items:</property> <property name="label" translatable="yes">Toggle Default Items:</property>
<property name="use_markup">True</property> <property name="use_markup">True</property>
</widget> </widget>

View File

@ -77,6 +77,7 @@ class mintMenuConfig( object ):
wTree.get_widget("label5").set_text(_("Search command:")) wTree.get_widget("label5").set_text(_("Search command:"))
wTree.get_widget("placesLabel").set_text(_("Places")) 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("placesHeightEntryLabel").set_text(_("Height:"))
wTree.get_widget("defaultPlacesFrameLabel").set_text(_("Toggle Default Places:")) wTree.get_widget("defaultPlacesFrameLabel").set_text(_("Toggle Default Places:"))
wTree.get_widget("computercheckbutton").set_label(_("Computer")) wTree.get_widget("computercheckbutton").set_label(_("Computer"))
@ -86,6 +87,18 @@ class mintMenuConfig( object ):
wTree.get_widget("trashcheckbutton").set_label(_("Trash")) wTree.get_widget("trashcheckbutton").set_label(_("Trash"))
wTree.get_widget("customPlacesFrameLabel").set_text(_("Custom Places:")) 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.editPlaceDialogTitle = (_("Edit Place"))
self.newPlaceDialogTitle = (_("New Place")) self.newPlaceDialogTitle = (_("New Place"))
self.folderChooserDialogTitle = (_("Select a folder")) self.folderChooserDialogTitle = (_("Select a folder"))
@ -128,6 +141,7 @@ class mintMenuConfig( object ):
if (self.allowPlacesScrollbarToggle.get_active() == False): if (self.allowPlacesScrollbarToggle.get_active() == False):
self.placesHeightButton.set_sensitive(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.packageManagerToggle = wTree.get_widget( "packagemanagercheckbutton" )
self.controlCenterToggle = wTree.get_widget( "controlcentercheckbutton" ) self.controlCenterToggle = wTree.get_widget( "controlcentercheckbutton" )
self.packageManagerToggle = wTree.get_widget( "packagemanagercheckbutton" ) self.packageManagerToggle = wTree.get_widget( "packagemanagercheckbutton" )
@ -137,9 +151,13 @@ class mintMenuConfig( object ):
self.quitToggle = wTree.get_widget( "quitcheckbutton" ) self.quitToggle = wTree.get_widget( "quitcheckbutton" )
self.allowSystemScrollbarToggle = wTree.get_widget( "allowscrollbarcheckbutton1" ) self.allowSystemScrollbarToggle = wTree.get_widget( "allowscrollbarcheckbutton1" )
self.systemHeightButton = wTree.get_widget( "systemHeightSpinButton" ) self.systemHeightButton = wTree.get_widget( "systemHeightSpinButton" )
if (self.allowSystemScrollbarToggle.get_active() == False): if (self.allowSystemScrollbarToggle.get_active() == False): self.systemHeightButton.set_sensitive(False)
self.systemHeightButton.set_sensitive(False)
self.allowSystemScrollbarToggle.connect("toggled", self.toggleSystemHeightEnabled ) 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 ) 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, "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.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_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_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 ) self.bindGconfValueToWidget( self.gconfSystem, "bool", "show_terminal", self.terminalToggle, "toggled", self.terminalToggle.set_active, self.terminalToggle.get_active )