glib r6845 - branches/glib-2-16/gio
- From: padraigo svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6845 - branches/glib-2-16/gio
- Date: Wed, 9 Apr 2008 16:00:08 +0100 (BST)
Author: padraigo
Date: Wed Apr 9 16:00:08 2008
New Revision: 6845
URL: http://svn.gnome.org/viewvc/glib?rev=6845&view=rev
Log:
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.
Modified:
branches/glib-2-16/gio/ChangeLog
branches/glib-2-16/gio/gdesktopappinfo.c
Modified: branches/glib-2-16/gio/gdesktopappinfo.c
==============================================================================
--- branches/glib-2-16/gio/gdesktopappinfo.c (original)
+++ branches/glib-2-16/gio/gdesktopappinfo.c Wed Apr 9 16:00:08 2008
@@ -1514,7 +1514,6 @@
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 @@
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]