diff options
author | Guy Harris <guy@alum.mit.edu> | 2008-04-17 18:40:45 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2008-04-17 18:40:45 +0000 |
commit | 572efdc1c4c38542768736665dcf251758385b63 (patch) | |
tree | 42e8daa3f2c2e88046ff39681349a1f11cb25273 /gtk/webbrowser.c | |
parent | 53f9968447f9dcf50797670e0d0cf9dab1666d98 (diff) |
Use the "explore" verb when opening directories; that doesn't fix the case
where there's an openable file and a directory with the same pathname
except for the extension, but at least it prevents us from trying to open
the file.
svn path=/trunk/; revision=25103
Diffstat (limited to 'gtk/webbrowser.c')
-rw-r--r-- | gtk/webbrowser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/webbrowser.c b/gtk/webbrowser.c index c5e5e80e62..b5128c3500 100644 --- a/gtk/webbrowser.c +++ b/gtk/webbrowser.c @@ -203,7 +203,7 @@ filemanager_open_directory (const gchar *path) { #if defined(G_OS_WIN32) - return ((gint) ShellExecute (HWND_DESKTOP, _T("open"), utf_8to16(path), NULL, NULL, SW_SHOWNORMAL) > 32); + return ((gint) ShellExecute (HWND_DESKTOP, _T("explore"), utf_8to16(path), NULL, NULL, SW_SHOWNORMAL) > 32); #elif defined(HAVE_OS_X_FRAMEWORKS) |