]> git.proxmox.com Git - mirror_qemu.git/commit
gtk: allow moving tabs to windows and back.
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 5 May 2014 14:23:33 +0000 (16:23 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 26 May 2014 06:41:03 +0000 (08:41 +0200)
commitcdeb7090ee974f80971490dc013ac3548405bf36
treeac94fcd03c5161a1f9e922301738d4ae03b6fb8b
parentd3ef575080c1d7a59a7df0678702f5e320000e87
gtk: allow moving tabs to windows and back.

"View->Detach tab" will move to tab to a new window.
Simply closing the window will move it back into a notebook tab.
The label will be permamently stored in VirtualConsole->label,
so it can easily be reused to (re-)label tabs and windows.

Works for vte tabs only for now. pointer/kbd grab code needs
adaptions before we can enable it for gfx tabs too.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/gtk.c