~nhoad/roland

aaa5f9993173f0595b6ba95ba517ccf52e078ba0 — Nathan Hoad 8 years ago 41dc619
Command for moving tabs around.
1 files changed, 5 insertions(+), 0 deletions(-)

M roland/core.py
M roland/core.py => roland/core.py +5 -0
@@ 110,6 110,11 @@ class BrowserCommands:
            b.tab_title.set_max_width_chars(width)
        self.roland.config.tab_width = width

    @rename('move-tab')
    def move_tab(self, position):
        notebook = self.roland.window.notebook
        notebook.reorder_child(self, int(position))

    @rename('toggle-tab-bar-visibility')
    def toggle_tab_visibility(self):
        notebook = self.roland.window.notebook