mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-08 06:13:20 +00:00
gtk: fix tab settings after introducing *Tab
This commit is contained in:
committed by
Mitchell Hashimoto
parent
790cd84203
commit
a7717289eb
@@ -123,8 +123,8 @@ pub fn init(self: *Tab, window: *Window, parent_: ?*CoreSurface) !void {
|
||||
}
|
||||
|
||||
// Tab settings
|
||||
c.gtk_notebook_set_tab_reorderable(window.notebook, gl_area, 1);
|
||||
c.gtk_notebook_set_tab_detachable(window.notebook, gl_area, 1);
|
||||
c.gtk_notebook_set_tab_reorderable(window.notebook, box_widget, 1);
|
||||
c.gtk_notebook_set_tab_detachable(window.notebook, box_widget, 1);
|
||||
|
||||
// If we have multiple tabs, show the tab bar.
|
||||
if (c.gtk_notebook_get_n_pages(window.notebook) > 1) {
|
||||
|
||||
Reference in New Issue
Block a user