summaryrefslogtreecommitdiff
path: root/SoftwareProperties
diff options
context:
space:
mode:
authorMichael Vogt <egon@top>2005-11-29 18:23:42 +0100
committerMichael Vogt <egon@top>2005-11-29 18:23:42 +0100
commit06b7e698a1bc0d8e5ef947a075848a9c8516cb53 (patch)
treec02f37fc0b919b7420c1f6ab6ca5d36ac543df13 /SoftwareProperties
parent33cf8b013e776c5c1249c2b91c8cf1e34ef739a4 (diff)
downloadpython-apt-06b7e698a1bc0d8e5ef947a075848a9c8516cb53.tar.gz
* use SimpleGladeApp in UpdateManager now
Diffstat (limited to 'SoftwareProperties')
-rw-r--r--SoftwareProperties/SoftwareProperties.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/SoftwareProperties/SoftwareProperties.py b/SoftwareProperties/SoftwareProperties.py
index b5aa944f..1752f79f 100644
--- a/SoftwareProperties/SoftwareProperties.py
+++ b/SoftwareProperties/SoftwareProperties.py
@@ -29,6 +29,7 @@ import apt_pkg
import gobject
import shutil
import gettext
+from gettext import gettext as _
import os
#sys.path.append("@prefix/share/update-manager/python")
@@ -54,7 +55,6 @@ CONF_MAP = {
class SoftwareProperties(SimpleGladeApp):
def __init__(self, datadir, options):
- _ = gettext.gettext
self.datadir = datadir
SimpleGladeApp.__init__(self, datadir+"glade/SoftwareProperties.glade",
@@ -66,10 +66,6 @@ class SoftwareProperties(SimpleGladeApp):
self.gnome_program = gnome.init("Software Properties", "0.41")
self.gconfclient = gconf.client_get_default()
- # Get some configuration options
- self.show_disabled = self.gconfclient.get_bool("/apps/gnome-software-" \
- "properties/show_disabled")
-
self.window_main.hide()
# If externally called, reparent to external application.