[Xfce4-commits] <thunar:master> Revert "Only force ui update when switching tabs."
Nick Schermer
noreply at xfce.org
Sun Oct 28 21:14:01 CET 2012
Updating branch refs/heads/master
to 4d7dbab1cd09b9383c23215bae391a6fce8a5863 (commit)
from 6b9c71ac77e97d4328d1a8139fa3c6f6d7aa4a8b (commit)
commit 4d7dbab1cd09b9383c23215bae391a6fce8a5863
Author: Nick Schermer <nick at xfce.org>
Date: Sun Oct 28 21:12:37 2012 +0100
Revert "Only force ui update when switching tabs."
This reverts commit ff39388ed16ad760426dec03e6df9b1e0593eb33.
thunar/thunar-standard-view.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/thunar/thunar-standard-view.c b/thunar/thunar-standard-view.c
index c063818..559f8d5 100644
--- a/thunar/thunar-standard-view.c
+++ b/thunar/thunar-standard-view.c
@@ -1150,7 +1150,6 @@ thunar_standard_view_set_ui_manager (ThunarComponent *component,
{
ThunarStandardView *standard_view = THUNAR_STANDARD_VIEW (component);
GError *error = NULL;
- gboolean ui_ensure_update = FALSE;
/* leave if nothing changed */
if (standard_view->ui_manager == ui_manager)
@@ -1185,7 +1184,6 @@ thunar_standard_view_set_ui_manager (ThunarComponent *component,
/* force update to remove all actions and proxies */
gtk_ui_manager_ensure_update (standard_view->ui_manager);
- ui_ensure_update = TRUE;
/* drop the reference on the previous UI manager */
g_object_unref (G_OBJECT (standard_view->ui_manager));
@@ -1216,8 +1214,7 @@ thunar_standard_view_set_ui_manager (ThunarComponent *component,
(*THUNAR_STANDARD_VIEW_GET_CLASS (standard_view)->connect_ui_manager) (standard_view, ui_manager);
/* force update to avoid flickering */
- if (ui_ensure_update)
- gtk_ui_manager_ensure_update (standard_view->ui_manager);
+ gtk_ui_manager_ensure_update (standard_view->ui_manager);
}
/* let others know that we have a new manager */
More information about the Xfce4-commits
mailing list