nautilus r14513 - in trunk: . src/file-manager
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r14513 - in trunk: . src/file-manager
- Date: Thu, 21 Aug 2008 10:27:05 +0000 (UTC)
Author: cosimoc
Date: Thu Aug 21 10:27:05 2008
New Revision: 14513
URL: http://svn.gnome.org/viewvc/nautilus?rev=14513&view=rev
Log:
2008-08-21 Cosimo Cecchi <cosimoc gnome org>
* src/file-manager/fm-directory-view.c: (real_update_menus):
Don't show "Browse Folders" in spatial mode if no folders are
selected.
Patch by PaweÅ Paprota (#351431).
Modified:
trunk/ChangeLog
trunk/src/file-manager/fm-directory-view.c
Modified: trunk/src/file-manager/fm-directory-view.c
==============================================================================
--- trunk/src/file-manager/fm-directory-view.c (original)
+++ trunk/src/file-manager/fm-directory-view.c Thu Aug 21 10:27:05 2008
@@ -7787,7 +7787,7 @@
g_free (label_with_underscore);
- show_open_alternate = file_list_all_are_folders (selection);
+ show_open_alternate = file_list_all_are_folders (selection) && selection_count > 0;
show_open_folder_window = FALSE;
if (nautilus_window_info_get_window_type (view->details->window) == NAUTILUS_WINDOW_NAVIGATION) {
if (eel_preferences_get_boolean (NAUTILUS_PREFERENCES_ALWAYS_USE_BROWSER)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]