summaryrefslogtreecommitdiff
path: root/UpdateManager/UpdateManager.py
diff options
context:
space:
mode:
authorSebastian Heinlein <sebi@sebi-mac>2006-06-26 11:15:04 +0200
committerSebastian Heinlein <sebi@sebi-mac>2006-06-26 11:15:04 +0200
commitbf6a2f4241a5b262e542bf4538810d743481d850 (patch)
treec490ed73aa15b9ecccf68f86c3bbfefdd6b49130 /UpdateManager/UpdateManager.py
parent816e0be20cc88e077388e1c0a51030a4f1ca0fae (diff)
downloadpython-apt-bf6a2f4241a5b262e542bf4538810d743481d850.tar.gz
* set the correct expand property of the notebook on restore
Diffstat (limited to 'UpdateManager/UpdateManager.py')
-rw-r--r--UpdateManager/UpdateManager.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/UpdateManager/UpdateManager.py b/UpdateManager/UpdateManager.py
index 73075918..6440b72f 100644
--- a/UpdateManager/UpdateManager.py
+++ b/UpdateManager/UpdateManager.py
@@ -584,6 +584,11 @@ class UpdateManager(SimpleGladeApp):
""" restore the state (window-size for now) """
expanded = self.gconfclient.get_bool("/apps/update-manager/show_details")
self.expander_details.set_expanded(expanded)
+ self.vbox_updates.set_child_packing(self.expander_details,
+ expanded,
+ True,
+ 0,
+ True)
(x,y) = self.gconfclient.get_pair("/apps/update-manager/window_size",
gconf.VALUE_INT, gconf.VALUE_INT)
if x > 0 and y > 0: