app: Only add "gimp-toolbox" dock to "gimp-toolbox-window"

This commit is contained in:
Martin Nordholts 2010-01-31 20:21:17 +01:00
parent bf92270051
commit 02d3874eb7
1 changed files with 3 additions and 1 deletions

View File

@ -342,7 +342,9 @@ gimp_session_info_deserialize (GimpConfig *config,
/* If we don't have docks, assume it is a toolbox dock window from a /* If we don't have docks, assume it is a toolbox dock window from a
* sessionrc file from GIMP <= 2.6 and add a toolbox dock manually * sessionrc file from GIMP <= 2.6 and add a toolbox dock manually
*/ */
if (! info->p->docks) if (! info->p->docks &&
strcmp ("gimp-toolbox-window",
info->p->factory_entry->identifier) == 0)
{ {
info->p->docks = info->p->docks =
g_list_append (info->p->docks, g_list_append (info->p->docks,