[nautilus] window: remove redundant code
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] window: remove redundant code
- Date: Sat, 1 Sep 2012 03:04:44 +0000 (UTC)
commit 109d00336b4c7f10d7d359924c180d49406bbd0c
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Aug 31 21:13:05 2012 -0400
window: remove redundant code
We already do this check in NautilusNotebook's remove implementation.
src/nautilus-window.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index 95bf43c..e01a509 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -336,9 +336,6 @@ close_slot (NautilusWindow *window,
g_signal_handlers_unblock_by_func (notebook,
G_CALLBACK (notebook_switch_page_cb),
window);
-
- gtk_notebook_set_show_tabs (notebook,
- gtk_notebook_get_n_pages (notebook) > 1);
}
NautilusWindowSlot *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]