8353: Fix default size of detached gramplet window

This commit is contained in:
Nick Hall 2015-02-12 19:36:13 +00:00
parent 18a22478c3
commit 2fd3e42e91

View File

@ -621,7 +621,7 @@ class DetachedWindow(ManagedWindow):
None, None,
self.title) self.title)
self.window.move(x_pos, y_pos) self.window.move(x_pos, y_pos)
self.window.set_size_request(gramplet.detached_width, self.window.set_default_size(gramplet.detached_width,
gramplet.detached_height) gramplet.detached_height)
self.window.add_button(Gtk.STOCK_HELP, Gtk.ResponseType.HELP) self.window.add_button(Gtk.STOCK_HELP, Gtk.ResponseType.HELP)
self.window.connect('response', self.handle_response) self.window.connect('response', self.handle_response)