MessageWindow: Open new tab relative to the current one
This commit is contained in:
parent
f6c3d03261
commit
5d795b4c1e
|
@ -317,7 +317,8 @@ class MessageWindow:
|
|||
id_ = tab_label_box.connect('button-press-event',
|
||||
self.on_tab_eventbox_button_press_event, control.widget)
|
||||
control.handlers[id_] = tab_label_box
|
||||
self.notebook.append_page(control.widget, tab_label_box)
|
||||
position = self.notebook.get_current_page() + 1
|
||||
self.notebook.insert_page(control.widget, tab_label_box, position)
|
||||
|
||||
self.notebook.set_tab_reorderable(control.widget, True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue