summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormbkma <[email protected]>2026-03-22 09:52:20 +0100
committerLuke from DC <[email protected]>2026-03-22 19:41:42 +0000
commit1028b85fb66aea6cdba3f7f5d69ee6c5d727bbc6 (patch)
tree7abedb1466bfa24d6913ae59e4443f73c3a34f5a
parentf1fd658bda21506fac8966821fcdb4c2a154b590 (diff)
downloadpluma-1028b85fb66aea6cdba3f7f5d69ee6c5d727bbc6.tar.bz2
pluma-1028b85fb66aea6cdba3f7f5d69ee6c5d727bbc6.tar.xz
make pane tabs reorderable
-rw-r--r--pluma/pluma-panel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pluma/pluma-panel.c b/pluma/pluma-panel.c
index 40b373b7..69cc6d07 100644
--- a/pluma/pluma-panel.c
+++ b/pluma/pluma-panel.c
@@ -667,6 +667,10 @@ pluma_panel_add_item (PlumaPanel *panel,
tab_label,
menu_label);
+ gtk_notebook_set_tab_reorderable (GTK_NOTEBOOK (panel->priv->notebook),
+ item,
+ TRUE);
+
g_signal_emit (G_OBJECT (panel), signals[ITEM_ADDED], 0, item);
}