tweak UndoHistory to remove redundant show_all()
This commit is contained in:
parent
1aeea6a6e8
commit
0c03ec2fc1
@ -91,7 +91,7 @@ class UndoHistory(ManagedWindow):
|
|||||||
Gtk.ResponseType.CLOSE)
|
Gtk.ResponseType.CLOSE)
|
||||||
|
|
||||||
self.set_window(window, None, self.title)
|
self.set_window(window, None, self.title)
|
||||||
self.setup_configs('interface.undohistory', 400, 200)
|
self.setup_configs('interface.undohistory', 500, 200)
|
||||||
self.window.connect('response', self._response)
|
self.window.connect('response', self._response)
|
||||||
|
|
||||||
scrolled_window = Gtk.ScrolledWindow()
|
scrolled_window = Gtk.ScrolledWindow()
|
||||||
@ -119,7 +119,6 @@ class UndoHistory(ManagedWindow):
|
|||||||
|
|
||||||
scrolled_window.add(self.tree)
|
scrolled_window.add(self.tree)
|
||||||
self.window.vbox.pack_start(scrolled_window, True, True, 0)
|
self.window.vbox.pack_start(scrolled_window, True, True, 0)
|
||||||
self.window.show_all()
|
|
||||||
|
|
||||||
self._build_model()
|
self._build_model()
|
||||||
self._update_ui()
|
self._update_ui()
|
||||||
|
Loading…
Reference in New Issue
Block a user