In g_app_info_create_from_commandline set comment after name. Fixes

2008-04-09  Padraig O'Briain  <padraig.obriain@sun.com>

	* gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
	after name. Fixes #527132.


svn path=/trunk/; revision=6844
This commit is contained in:
Padraig O'Briain 2008-04-09 14:53:05 +00:00 committed by Padraig O'Briain
parent 34d6446ec9
commit 105dc15a03
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
* gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
after name. Fixes #527132.
2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
* gfile.c: (g_file_replace):

View File

@ -1514,7 +1514,6 @@ g_app_info_create_from_commandline (const char *commandline,
info->exec = g_strconcat (commandline, " %u", NULL);
else
info->exec = g_strconcat (commandline, " %f", NULL);
info->comment = g_strdup_printf (_("Custom definition for %s"), info->name);
info->nodisplay = TRUE;
info->binary = binary_from_exec (info->exec);
@ -1530,6 +1529,7 @@ g_app_info_create_from_commandline (const char *commandline,
if (info->name == NULL)
info->name = g_strdup ("custom");
}
info->comment = g_strdup_printf (_("Custom definition for %s"), info->name);
return G_APP_INFO (info);
}