Commit 6b0a5d8e authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

don't hide the empty images menu, use gimp_image_get_uri() instead of the

2008-05-10  Michael Natterer  <mitch@gimp.org>

	* app/actions/windows-actions.c: don't hide the empty images menu,
	use gimp_image_get_uri() instead of the object's name.


svn path=/trunk/; revision=25626
parent 4717f727
2008-05-10 Michael Natterer <mitch@gimp.org>
* app/actions/windows-actions.c: don't hide the empty images menu,
use gimp_image_get_uri() instead of the object's name.
2008-05-10 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpactiongroup.h: fix parameter name.
......
......@@ -76,6 +76,9 @@ windows_actions_setup (GimpActionGroup *group)
windows_actions,
G_N_ELEMENTS (windows_actions));
gimp_action_group_set_action_hide_empty (group, "windows-images-menu",
FALSE);
g_signal_connect_object (group->gimp->displays, "add",
G_CALLBACK (windows_actions_display_add),
group, 0);
......@@ -173,7 +176,7 @@ windows_actions_image_notify (GimpDisplay *display,
gchar *escaped;
gchar *title;
uri = gimp_object_get_name (GIMP_OBJECT (display->image));
uri = gimp_image_get_uri (display->image);
filename = file_utils_uri_display_name (uri);
basename = file_utils_uri_display_basename (uri);
......
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