Try to use ubuntu-bug if it exists
This commit is contained in:
parent
9751a60dbc
commit
ae7a09a087
1 changed files with 5 additions and 4 deletions
|
@ -4812,7 +4812,7 @@ _action_help_link_activate (GtkAction* action,
|
||||||
MidoriBrowser* browser)
|
MidoriBrowser* browser)
|
||||||
{
|
{
|
||||||
const gchar* action_name;
|
const gchar* action_name;
|
||||||
const gchar* uri;
|
const gchar* uri = NULL;
|
||||||
gint n;
|
gint n;
|
||||||
#if defined (G_OS_WIN32) && defined (DOCDIR)
|
#if defined (G_OS_WIN32) && defined (DOCDIR)
|
||||||
gchar* free_uri = NULL;
|
gchar* free_uri = NULL;
|
||||||
|
@ -4847,9 +4847,10 @@ _action_help_link_activate (GtkAction* action,
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else if (!strncmp ("HelpBugs", action_name, 8))
|
else if (!strncmp ("HelpBugs", action_name, 8))
|
||||||
uri = PACKAGE_BUGREPORT;
|
{
|
||||||
else
|
if (!g_spawn_command_line_async ("ubuntu-bug " PACKAGE_NAME, NULL))
|
||||||
uri = NULL;
|
uri = PACKAGE_BUGREPORT;
|
||||||
|
}
|
||||||
|
|
||||||
if (uri)
|
if (uri)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue