From 3073cf88fe9503b13bfa718c7ffd8b3d41a5bd00 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Fri, 14 Sep 2007 15:17:48 +0000 Subject: [PATCH] use the untranslated application name. Specify the group "Graphics". 2007-09-14 Sven Neumann * app/gui/gui-vtable.c (gui_recent_list_add_uri): use the untranslated application name. Specify the group "Graphics". svn path=/trunk/; revision=23546 --- ChangeLog | 5 +++++ app/gui/gui-vtable.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a4fbeaac03..912e120f13 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-09-14 Sven Neumann + + * app/gui/gui-vtable.c (gui_recent_list_add_uri): use the + untranslated application name. Specify the group "Graphics". + 2007-09-14 Sven Neumann * app/base/tile-pyramid.c: formatting. diff --git a/app/gui/gui-vtable.c b/app/gui/gui-vtable.c index b3885dc55f..d238cf2df8 100644 --- a/app/gui/gui-vtable.c +++ b/app/gui/gui-vtable.c @@ -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);