summaryrefslogtreecommitdiff
path: root/SoftwareProperties/SoftwareProperties.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-03-27 22:45:19 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-03-27 22:45:19 +0200
commit287de31cec8313b10af47ede92483199bbde2200 (patch)
tree1ebf928eaf895f3b973fb0f7265cab3c2c7bd624 /SoftwareProperties/SoftwareProperties.py
parent6297fce66c8243488048690472f0d1ebc329dd52 (diff)
parent3aa98f64592d44a6c65ad1bac11e03292c7deb39 (diff)
downloadpython-apt-287de31cec8313b10af47ede92483199bbde2200.tar.gz
* various fixes
Diffstat (limited to 'SoftwareProperties/SoftwareProperties.py')
-rw-r--r--SoftwareProperties/SoftwareProperties.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/SoftwareProperties/SoftwareProperties.py b/SoftwareProperties/SoftwareProperties.py
index 9613b49e..9ccf12ad 100644
--- a/SoftwareProperties/SoftwareProperties.py
+++ b/SoftwareProperties/SoftwareProperties.py
@@ -70,13 +70,19 @@ class SoftwareProperties(SimpleGladeApp):
#self.gconfclient = gconf.client_get_default()
if parent:
+ self.window_main.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DIALOG)
+ self.window_main.show()
self.window_main.set_transient_for(parent)
# If externally called, reparent to external application.
self.options = options
if options and options.toplevel != None:
+ self.window_main.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DIALOG)
+ self.window_main.show()
toplevel = gtk.gdk.window_foreign_new(int(options.toplevel))
self.window_main.window.set_transient_for(toplevel)
+
+ self.window_main.show()
self.init_sourceslist()
self.reload_sourceslist()