diff options
| author | Michael Vogt <egon@top> | 2005-11-29 18:23:42 +0100 |
|---|---|---|
| committer | Michael Vogt <egon@top> | 2005-11-29 18:23:42 +0100 |
| commit | 06b7e698a1bc0d8e5ef947a075848a9c8516cb53 (patch) | |
| tree | c02f37fc0b919b7420c1f6ab6ca5d36ac543df13 /SoftwareProperties | |
| parent | 33cf8b013e776c5c1249c2b91c8cf1e34ef739a4 (diff) | |
| download | python-apt-06b7e698a1bc0d8e5ef947a075848a9c8516cb53.tar.gz | |
* use SimpleGladeApp in UpdateManager now
Diffstat (limited to 'SoftwareProperties')
| -rw-r--r-- | SoftwareProperties/SoftwareProperties.py | 6 |
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. |
