diff options
author | Alexander Larsson <alexl@redhat.com> | 2004-10-15 12:30:45 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2004-10-15 12:30:45 +0000 |
commit | d0cf14dafe7f7dedecd4ab34eefe7ba107f7b81a (patch) | |
tree | 51e8125b5ce2b4fc850bf16f555b9e4827a2ed72 | |
parent | 0319fad17f7cb628b5bc08a312295cb5dae62cae (diff) | |
download | nautilus-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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | libnautilus-private/nautilus-program-choosing.c | 6 |
2 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,9 @@ +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. + 2004-10-14 Alexander Larsson <alexl@redhat.com> * src/file-manager/fm-directory-view.c: (load_directory), 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, |