summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-program-choosing.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2004-10-15 12:30:45 +0000
committerAlexander Larsson <alexl@src.gnome.org>2004-10-15 12:30:45 +0000
commitd0cf14dafe7f7dedecd4ab34eefe7ba107f7b81a (patch)
tree51e8125b5ce2b4fc850bf16f555b9e4827a2ed72 /libnautilus-private/nautilus-program-choosing.c
parent0319fad17f7cb628b5bc08a312295cb5dae62cae (diff)
downloadnautilus-d0cf14dafe7f7dedecd4ab34eefe7ba107f7b81a.tar.gz
Slightly better error when there is no handler for a file type. Not ideal,
2004-10-15 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-program-choosing.c (nautilus_launch_show_file): Slightly better error when there is no handler for a file type. Not ideal, needs fixing when we're not string frozen anymore.
Diffstat (limited to 'libnautilus-private/nautilus-program-choosing.c')
-rw-r--r--libnautilus-private/nautilus-program-choosing.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-program-choosing.c b/libnautilus-private/nautilus-program-choosing.c
index d48ea7cdf..985383301 100644
--- a/libnautilus-private/nautilus-program-choosing.c
+++ b/libnautilus-private/nautilus-program-choosing.c
@@ -583,6 +583,12 @@ void nautilus_launch_show_file (NautilusFile *file,
(action_type, file, parent_window);
break;
#endif
+ error_message = g_strdup_printf (_("Couldn't display \"%s\"."),
+ uri_for_display);
+ /* TODO: This really needs to be something saying "no app
+ * handling this file type", but there is a string freeze. */
+ detail_message = g_strdup ("");
+ break;
case GNOME_VFS_ERROR_LAUNCH:
/* TODO: These strings suck pretty badly, but we're in string-freeze,