[nautilus] pane: don't forget to update the split view actions when closing a slot
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] pane: don't forget to update the split view actions when closing a slot
- Date: Mon, 6 Feb 2012 20:04:00 +0000 (UTC)
commit 2626eacbd9883161d7d3b14f4e1c56a02e3eb7ce
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Feb 6 14:51:10 2012 -0500
pane: don't forget to update the split view actions when closing a slot
In case a slot close is requested, we should still update the split view
actions sensitivity/state.
https://bugzilla.gnome.org/show_bug.cgi?id=669189
src/nautilus-window-pane.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-window-pane.c b/src/nautilus-window-pane.c
index 5172c59..0c1ed9f 100644
--- a/src/nautilus-window-pane.c
+++ b/src/nautilus-window-pane.c
@@ -1000,6 +1000,7 @@ nautilus_window_pane_slot_close (NautilusWindowPane *pane,
DEBUG ("Calling set_active_pane, new slot %p", new_pane->active_slot);
nautilus_window_set_active_pane (window, new_pane);
+ nautilus_window_update_show_hide_menu_items (window);
} else {
DEBUG ("Last slot removed from the last pane, close the window");
nautilus_window_close (window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]