diff options
| author | Michael Vogt <egon@top> | 2005-12-12 12:32:30 +0100 |
|---|---|---|
| committer | Michael Vogt <egon@top> | 2005-12-12 12:32:30 +0100 |
| commit | b070222e78249be7956b80603fe8f7da7302d989 (patch) | |
| tree | 27823e8a9ced84f7381957faf439a48cb568f8bb /SoftwareProperties | |
| parent | 333fa1f25afbfa3e634baaa1da5936ee6dd6a83d (diff) | |
| download | python-apt-b070222e78249be7956b80603fe8f7da7302d989.tar.gz | |
* SoftwareProperties/SoftwareProperties.py:
- small fixes to make it easy to embedd the software properties
* UpdateManager.py:
- don't "call" gnome-software-properties but import it and run
it as part of update-manager
* channels/Ubuntu.info.in:
- remove certain translations flags
Diffstat (limited to 'SoftwareProperties')
| -rw-r--r-- | SoftwareProperties/SoftwareProperties.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SoftwareProperties/SoftwareProperties.py b/SoftwareProperties/SoftwareProperties.py index 6f053e35..baf42430 100644 --- a/SoftwareProperties/SoftwareProperties.py +++ b/SoftwareProperties/SoftwareProperties.py @@ -66,7 +66,7 @@ class SoftwareProperties(SimpleGladeApp): self.gconfclient = gconf.client_get_default() # If externally called, reparent to external application. - if options.toplevel != None: + if options and options.toplevel != None: toplevel = gtk.gdk.window_foreign_new(int(options.toplevel)) self.window_main.window.set_transient_for(toplevel) |
