mirror of https://github.com/GNOME/gimp.git
if a Title is set, use that as the pattern name.
2004-06-03 Sven Neumann <sven@gimp.org> * app/core/gimppattern.c (gimp_pattern_load_pixbuf): if a Title is set, use that as the pattern name.
This commit is contained in:
parent
532d42d012
commit
506c4c7101
|
@ -1,3 +1,8 @@
|
|||
2004-06-03 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/core/gimppattern.c (gimp_pattern_load_pixbuf): if a Title is
|
||||
set, use that as the pattern name.
|
||||
|
||||
2004-06-03 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/core/gimpdatafactory.c (gimp_data_factory_load_data):
|
||||
|
|
|
@ -462,7 +462,10 @@ gimp_pattern_load_pixbuf (const gchar *filename,
|
|||
if (! pixbuf)
|
||||
return NULL;
|
||||
|
||||
name = g_strdup (gdk_pixbuf_get_option (pixbuf, "tEXt::Comment"));
|
||||
name = g_strdup (gdk_pixbuf_get_option (pixbuf, "tEXt::Title"));
|
||||
|
||||
if (! name)
|
||||
name = g_strdup (gdk_pixbuf_get_option (pixbuf, "tEXt::Comment"));
|
||||
|
||||
if (! name)
|
||||
{
|
||||
|
|
|
@ -462,7 +462,10 @@ gimp_pattern_load_pixbuf (const gchar *filename,
|
|||
if (! pixbuf)
|
||||
return NULL;
|
||||
|
||||
name = g_strdup (gdk_pixbuf_get_option (pixbuf, "tEXt::Comment"));
|
||||
name = g_strdup (gdk_pixbuf_get_option (pixbuf, "tEXt::Title"));
|
||||
|
||||
if (! name)
|
||||
name = g_strdup (gdk_pixbuf_get_option (pixbuf, "tEXt::Comment"));
|
||||
|
||||
if (! name)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue