[geany/geany] 871a90: Win32: Add UI error message if an URL could not be opened
Enrico Tröger
git-noreply at xxxxx
Mon Jun 20 21:05:48 UTC 2016
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Mon, 20 Jun 2016 21:05:48 UTC
Commit: 871a9089b471657ce59442643ebebe2b4a38517f
https://github.com/geany/geany/commit/871a9089b471657ce59442643ebebe2b4a38517f
Log Message:
-----------
Win32: Add UI error message if an URL could not be opened
Modified Paths:
--------------
src/win32.c
Modified: src/win32.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -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);
}
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list