From a55242d798b98eabe21cba08632625851c98ab9a Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 28 Sep 2006 16:20:48 -0400 Subject: [PATCH] Center chat window, and give it a frame --- shell/view/ActivityHost.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/view/ActivityHost.py b/shell/view/ActivityHost.py index caf22b88..118b4161 100644 --- a/shell/view/ActivityHost.py +++ b/shell/view/ActivityHost.py @@ -13,11 +13,11 @@ class ActivityChatWindow(gtk.Window): def __init__(self, gdk_window, chat_widget): gtk.Window.__init__(self) - self.set_decorated(False) self.realize() self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DIALOG) self.window.set_accept_focus(True) self.window.set_transient_for(gdk_window) + self.set_position(gtk.WIN_POS_CENTER_ALWAYS) self.add(chat_widget)