Commit 80ed7732 authored by Sebastien Granjoux's avatar Sebastien Granjoux

bgo#597318 - Anjuta terminal crashes X

parent de2098e3
/*
anjuta_launcher.c
anjuta-launcher.c
Copyright (C) 2000 Kh. Naba Kumar Singh
This program is free software; you can redistribute it and/or modify
......@@ -49,7 +49,7 @@ main (int argc, char **argv)
if (strcmp (argv[1], "--version") == 0)
{
printf ("anjuta_launcher version 0.1.2\n");
printf ("anjuta-launcher version 0.1.2\n");
exit (0);
}
if (strcmp (argv[1], "--__debug_terminal") == 0)
......
......@@ -410,14 +410,14 @@ execute_program (BasicAutotoolsPlugin* plugin, const gchar *pre_select_uri)
{
gchar* oldcmd = cmd;
cmd = g_strconcat ("anjuta_launcher ", oldcmd, NULL);
cmd = g_strconcat ("anjuta-launcher ", oldcmd, NULL);
g_free (oldcmd);
g_free (launcher_path);
}
else
{
DEBUG_PRINT("%s", "Missing anjuta_launcher");
DEBUG_PRINT("%s", "Missing anjuta-launcher");
}
}
......
......@@ -116,7 +116,7 @@ gdb_plugin_start_terminal (GdbPlugin* plugin)
}
/* Launch terminal */
cmd = g_strconcat ("anjuta_launcher --__debug_terminal ", file, NULL);
cmd = g_strconcat ("anjuta-launcher --__debug_terminal ", file, NULL);
/* Get terminal plugin */
term = anjuta_shell_get_interface (ANJUTA_PLUGIN (plugin)->shell, IAnjutaTerminal, NULL);
......
......@@ -243,12 +243,12 @@ execute_with_terminal (RunProgramPlugin *plugin,
if (launcher_path != NULL)
{
new_cmd = g_strconcat ("anjuta_launcher ", cmd, NULL);
new_cmd = g_strconcat ("anjuta-launcher ", cmd, NULL);
g_free (launcher_path);
}
else
{
DEBUG_PRINT("%s", "Missing anjuta_launcher");
DEBUG_PRINT("%s", "Missing anjuta-launcher");
new_cmd = g_strdup (cmd);
}
......
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