[nautilus] Don't try to change the view buttons to the old view while loading
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Don't try to change the view buttons to the old view while loading
- Date: Wed, 5 Sep 2012 19:05:32 +0000 (UTC)
commit 9546a1676fe84cfc446dcb79034fca4c43c57b67
Author: William Jon McCann <jmccann redhat com>
Date: Wed Sep 5 14:30:30 2012 -0400
Don't try to change the view buttons to the old view while loading
The code tries to sync up the view type buttons while the new
view is loading but the code tries to sync the buttons up with
the last view instead of the pending view. I think it is just
better to skip the operation while the view is loading.
https://bugzilla.gnome.org/show_bug.cgi?id=682174
src/nautilus-window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index c088556..d058eca 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -1568,7 +1568,7 @@ real_sync_view_as_menus (NautilusWindow *window)
slot = nautilus_window_get_active_slot (window);
- if (slot->content_view == NULL) {
+ if (slot->content_view == NULL || slot->new_content_view != NULL) {
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]