aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/webbrowser.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2008-04-17 18:40:45 +0000
committerGuy Harris <guy@alum.mit.edu>2008-04-17 18:40:45 +0000
commit572efdc1c4c38542768736665dcf251758385b63 (patch)
tree42e8daa3f2c2e88046ff39681349a1f11cb25273 /gtk/webbrowser.c
parent53f9968447f9dcf50797670e0d0cf9dab1666d98 (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.c2
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)