[nautilus-open-terminal] Corrected logical expression error regarding the mc menu item
- From: Christian Neumair <cneumair src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus-open-terminal] Corrected logical expression error regarding the mc menu item
- Date: Tue, 4 Aug 2009 08:54:53 +0000 (UTC)
commit 716b72b73a28a57c90ff38ede33b1355e8b0ceb2
Author: Evangelos Foutras <foutrelis gmail com>
Date: Mon Aug 3 23:03:45 2009 +0300
Corrected logical expression error regarding the mc menu item
Fixes bug #590672 â?? "Open in Midnight Commander" menu item is always
displayed
Signed-off-by: Evangelos Foutras <foutrelis gmail com>
Signed-off-by: Christian Neumair <cnmeumair gnome org>
src/nautilus-open-terminal.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/nautilus-open-terminal.c b/src/nautilus-open-terminal.c
index 0cbdf39..1d89abc 100644
--- a/src/nautilus-open-terminal.c
+++ b/src/nautilus-open-terminal.c
@@ -524,9 +524,9 @@ nautilus_open_terminal_get_background_items (NautilusMenuProvider *provider,
if (display_mc_item () &&
g_find_program_in_path ("mc") &&
- (terminal_file_info == FILE_INFO_DESKTOP &&
- (desktop_is_home_dir () || desktop_opens_home_dir ())) ||
- uri_has_local_path (uri)) {
+ ((terminal_file_info == FILE_INFO_DESKTOP &&
+ (desktop_is_home_dir () || desktop_opens_home_dir ())) ||
+ uri_has_local_path (uri))) {
item = open_terminal_menu_item_new (file_info, terminal_file_info, gtk_widget_get_screen (window), "mc", FALSE, FALSE);
items = g_list_append (items, item);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]