diff options
author | Narayana Pattipati <narayana.pattipati@wipro.com> | 2004-05-26 05:14:23 +0000 |
---|---|---|
committer | Narayana Pattipati <naren@src.gnome.org> | 2004-05-26 05:14:23 +0000 |
commit | 5ba33f2c2c25562eaf5b71c34692cbfd3f23e263 (patch) | |
tree | c7563d6316c9a8c6f4bc63e65947e3889c063f03 | |
parent | f385b8f8dd617f6c8d04d47bc0d3017c1eaf719b (diff) | |
download | nautilus-5ba33f2c2c25562eaf5b71c34692cbfd3f23e263.tar.gz |
Fix nautilus crash in Solaris while browsing a folder with images (Image
2004-05-26 Narayana Pattipati <narayana.pattipati@wipro.com>
* src/nautilus-window.c(add_view_as_bonobo_menu_item):
Fix nautilus crash in Solaris while browsing a folder with
images (Image collection viewer). Bugzilla bug#142325.
-rw-r--r-- | src/nautilus-window.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/nautilus-window.c b/src/nautilus-window.c index 73abda01e..d732a8c59 100644 --- a/src/nautilus-window.c +++ b/src/nautilus-window.c @@ -879,8 +879,12 @@ add_view_as_bonobo_menu_item (NautilusWindow *window, identifier->view_as_label_with_mnemonic, "viewers group"); - tip = g_strdup_printf (_("Display this location with \"%s\""), - identifier->viewer_label); + tip = NULL; + if (identifier->viewer_label != NULL) { + tip = g_strdup_printf (_("Display this location with \"%s\""), + identifier->viewer_label); + } + item_path = nautilus_bonobo_get_numbered_menu_item_path (window->details->shell_ui, placeholder_path, |