summaryrefslogtreecommitdiff
path: root/UpdateManager/Common
diff options
context:
space:
mode:
authorSebastian Heinlein <renate@hph4>2006-04-17 15:34:58 +0200
committerSebastian Heinlein <renate@hph4>2006-04-17 15:34:58 +0200
commit9df8fab9dfb94faaf938c9959e743c87a814a88f (patch)
tree9227f7a5b857bc7071055ec60337c0cdd15f98f2 /UpdateManager/Common
parent9bd7121bd9ab06681a3b61df0a300b67fcd557a3 (diff)
downloadpython-apt-9df8fab9dfb94faaf938c9959e743c87a814a88f.tar.gz
* do not show the close button on the error dialog
Diffstat (limited to 'UpdateManager/Common')
-rw-r--r--UpdateManager/Common/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/UpdateManager/Common/utils.py b/UpdateManager/Common/utils.py
index 17c62212..099cbfed 100644
--- a/UpdateManager/Common/utils.py
+++ b/UpdateManager/Common/utils.py
@@ -15,6 +15,8 @@ def error(parent, summary, message):
type=gtk.MESSAGE_ERROR,
buttons=gtk.BUTTONS_CLOSE)
d.set_markup("<big><b>%s</b></big>\n\n%s" % (summary, message))
+ d.realize()
+ d.window.set_functions(gtk.gdk.FUNC_MOVE)
d.set_title("")
res = d.run()
d.destroy()