gimp r27405 - in trunk: . app/display
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27405 - in trunk: . app/display
- Date: Sat, 25 Oct 2008 15:29:35 +0000 (UTC)
Author: mitch
Date: Sat Oct 25 15:29:35 2008
New Revision: 27405
URL: http://svn.gnome.org/viewvc/gimp?rev=27405&view=rev
Log:
2008-10-25 Michael Natterer <mitch gimp org>
Bug 557870 â "Qmask" message popping up here and there
* app/display/gimpdisplayshell-title.c
(gimp_display_shell_format_title): use
gimp_viewable_get_description() instead of gimp_object_get_name()
for displaying the active drawable's name so the quick mask and
the floating selection have the same names as in the
layers/channels dialogs.
Modified:
trunk/ChangeLog
trunk/app/display/gimpdisplayshell-title.c
Modified: trunk/app/display/gimpdisplayshell-title.c
==============================================================================
--- trunk/app/display/gimpdisplayshell-title.c (original)
+++ trunk/app/display/gimpdisplayshell-title.c Sat Oct 25 15:29:35 2008
@@ -332,10 +332,20 @@
GimpDrawable *drawable = gimp_image_get_active_drawable (image);
if (drawable)
- i += print (title, title_len, i, "%s",
- gimp_object_get_name (GIMP_OBJECT (drawable)));
+ {
+ gchar *desc;
+
+ desc = gimp_viewable_get_description (GIMP_VIEWABLE (drawable),
+ NULL);
+
+ i += print (title, title_len, i, "%s", desc);
+
+ g_free (desc);
+ }
else
- i += print (title, title_len, i, "%s", _("(none)"));
+ {
+ i += print (title, title_len, i, "%s", _("(none)"));
+ }
}
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]