[gtk+] notebook: Reallocate tab gadgets when we reorder them
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] notebook: Reallocate tab gadgets when we reorder them
- Date: Mon, 29 Feb 2016 21:01:09 +0000 (UTC)
commit a74bb0dec4d0a5032908e47619a82cc4f86b47a1
Author: Benjamin Otte <otte redhat com>
Date: Mon Feb 29 21:57:19 2016 +0100
notebook: Reallocate tab gadgets when we reorder them
Otherwise they stay in their position and don't cause a redraw. Which
really confuses Epiphany users apparently.
https://bugzilla.gnome.org/show_bug.cgi?id=762720
gtk/gtknotebook.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 4b2a75b..0a7777a 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -7586,6 +7586,7 @@ gtk_notebook_child_reordered (GtkNotebook *notebook,
gtk_css_gadget_get_node (page->gadget),
sibling);
gtk_notebook_update_labels (notebook);
+ gtk_css_gadget_queue_allocate (priv->tabs_gadget);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]