Kaydet (Commit) 871a9089 authored tarafından Enrico Tröger's avatar Enrico Tröger

Win32: Add UI error message if an URL could not be opened

üst b28d14bb
......@@ -799,7 +799,7 @@ void win32_open_browser(const gchar *uri)
if (ret <= 32)
{
gchar *err = g_win32_error_message(GetLastError());
/* TODO add a GUI warning that opening an URI failed */
ui_set_statusbar(TRUE, _("Failed to open URI \"%s\": %s"), uri, err);
g_warning("ShellExecute failed opening \"%s\" (code %d): %s", uri, ret, err);
g_free(err);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment