Mercurial > pidgin.yaz
diff pidgin/gtknotify.c @ 27958:518b4a900f19
propagate from branch 'im.pidgin.pidgin' (head 11d28a9362597cbea7fa0957f4202037131a3d6b)
to branch 'im.pidgin.pidgin.yaz' (head c88eab6ab06f08ebe8a58bbc9614d11818aad9e9)
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 29 Jun 2009 06:24:37 +0000 |
parents | 25db53cfc12c fb593c327870 |
children | f058edca3d66 |
line wrap: on
line diff
--- a/pidgin/gtknotify.c Mon Jun 29 05:02:24 2009 +0000 +++ b/pidgin/gtknotify.c Mon Jun 29 06:24:37 2009 +0000 @@ -1181,12 +1181,15 @@ pidgin_notify_uri(const char *uri) { #ifndef _WIN32 - char *escaped = g_shell_quote(uri); + char *tmp = g_shell_quote(uri); + char *escaped = g_locale_from_utf8(tmp, -1, NULL, NULL, NULL); char *command = NULL; char *remote_command = NULL; const char *web_browser; int place; + g_free(tmp); + web_browser = purple_prefs_get_string(PIDGIN_PREFS_ROOT "/browsers/browser"); place = purple_prefs_get_int(PIDGIN_PREFS_ROOT "/browsers/place");