use the untranslated application name. Specify the group "Graphics".

2007-09-14  Sven Neumann  <sven@gimp.org>

	* app/gui/gui-vtable.c (gui_recent_list_add_uri): use the
	untranslated application name. Specify the group "Graphics".

svn path=/trunk/; revision=23546
This commit is contained in:
Sven Neumann 2007-09-14 15:17:48 +00:00 committed by Sven Neumann
parent ff80ac1701
commit 3073cf88fe
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-09-14 Sven Neumann <sven@gimp.org>
* app/gui/gui-vtable.c (gui_recent_list_add_uri): use the
untranslated application name. Specify the group "Graphics".
2007-09-14 Sven Neumann <sven@gimp.org>
* app/base/tile-pyramid.c: formatting.

View File

@ -551,6 +551,7 @@ gui_recent_list_add_uri (Gimp *gimp,
{
GtkRecentManager *mgr;
GtkRecentData recent;
const gchar *groups[2] = { "Graphics", NULL };
g_return_val_if_fail (GIMP_IS_GIMP (gimp), FALSE);
g_return_val_if_fail (uri != NULL, FALSE);
@ -566,9 +567,9 @@ gui_recent_list_add_uri (Gimp *gimp,
/* no special description */
recent.description = NULL;
recent.mime_type = (gchar *) mime_type;
recent.app_name = (gchar *) g_get_application_name ();
recent.app_name = "GNU Image Manipulation Program";
recent.app_exec = GIMP_COMMAND " %u";
recent.groups = NULL;
recent.groups = groups;
recent.is_private = FALSE;
return gtk_recent_manager_add_full (mgr, uri, &recent);