diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2010-05-19 16:20:36 +0800 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2010-05-19 16:21:50 +0800 |
commit | df5f0b0269fdbf90cb2d5f136c6fa939e76d669e (patch) | |
tree | b8507fc71b0b4f51e1360201175482eea4ab644b /e-util | |
parent | 79b0031a489e54319e7d3e19accaac40d6de7439 (diff) | |
download | gsoc2013-evolution-df5f0b0269fdbf90cb2d5f136c6fa939e76d669e.tar.gz gsoc2013-evolution-df5f0b0269fdbf90cb2d5f136c6fa939e76d669e.tar.zst gsoc2013-evolution-df5f0b0269fdbf90cb2d5f136c6fa939e76d669e.zip |
[win32] Try to get the default application registration right
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-win32-defaults.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |