From 38711248e319902e7396e41e1c64c732b1645bec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fridrich=20=C5=A0trba?= Date: Wed, 19 May 2010 10:20:36 +0200 Subject: [win32] Try to get the default application registration right --- e-util/e-win32-defaults.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'e-util/e-win32-defaults.c') diff --git a/e-util/e-win32-defaults.c b/e-util/e-win32-defaults.c index be494bf8a3..8fb2bc3cb9 100644 --- a/e-util/e-win32-defaults.c +++ b/e-util/e-win32-defaults.c @@ -146,6 +146,7 @@ _e_win32_register_mailer_impl (WINBOOL system) if ((returnValue = RegCreateKeyExA (reg_key, "shell\\open\\command", 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, ®_subkey, &dwDisposition))) goto cleanup; + openCommand = g_strconcat("\"", evolutionBinary, "\" --component=mail", NULL); if ((returnValue = RegSetValueExA (reg_subkey, NULL, 0, REG_SZ, (const BYTE *)openCommand, strlen (openCommand) + 1))) goto cleanup; @@ -201,7 +202,7 @@ cleanup: g_free (openCommand); g_free (reinstallCommand); g_free (showIconsCommand); - g_free (showIconsCommand); + g_free (hideIconsCommand); } void -- cgit v1.2.3