diff options
author | Mat <mail@mathias.is> | 2022-08-28 23:55:15 +0300 |
---|---|---|
committer | Mat <mail@mathias.is> | 2022-08-29 00:00:10 +0300 |
commit | dd8c8997374a4ea6a20d22190f349bddbe27699f (patch) | |
tree | c702a7621cb90420a5a5c787bdc38c172f0d7417 | |
parent | 16eced7bf15265ef0b5fa8e8525d5f6ab714f8fe (diff) | |
download | gtk+-dd8c8997374a4ea6a20d22190f349bddbe27699f.tar.gz |
gtknotebook: update arrow button state when reordering tabs
When reordering notebook tabs, updating the sensitivity state of the
arrow buttons is necessary if the tab is moved to the beginning or
end of the tab list.
-rw-r--r-- | gtk/gtknotebook.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 62b3c96b26..1328e27143 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -6774,6 +6774,7 @@ gtk_notebook_child_reordered (GtkNotebook *notebook, gtk_widget_insert_after (page->tab_widget, notebook->tabs_widget, sibling); + update_arrow_state (notebook); gtk_notebook_update_labels (notebook); gtk_widget_queue_allocate (notebook->tabs_widget); } |