[gimp/gimp-2-8] Bug 765040 - GIMP not remembering the order of dockable dialogs.
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] Bug 765040 - GIMP not remembering the order of dockable dialogs.
- Date: Wed, 7 Jun 2017 21:53:49 +0000 (UTC)
commit 9ce45e0aa906fe7948ee06177eb98903915cdd3b
Author: Jehan <jehan girinstud io>
Date: Sat Jun 11 16:51:21 2016 +0200
Bug 765040 - GIMP not remembering the order of dockable dialogs.
Docks position is relevant when saving a session, so we should not
simply append it to the end of the docks list when we move a dock.
(cherry picked from commit 5f19ef41c967d23388dc7a12317605d5469d1e6c)
app/widgets/gimpdockcolumns.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpdockcolumns.c b/app/widgets/gimpdockcolumns.c
index b28a4c1..eb6fd77 100644
--- a/app/widgets/gimpdockcolumns.c
+++ b/app/widgets/gimpdockcolumns.c
@@ -336,7 +336,7 @@ gimp_dock_columns_add_dock (GimpDockColumns *dock_columns,
GIMP_LOG (DND, "Adding GimpDock %p to GimpDockColumns %p", dock, dock_columns);
- dock_columns->p->docks = g_list_append (dock_columns->p->docks, dock);
+ dock_columns->p->docks = g_list_insert (dock_columns->p->docks, dock, index);
gimp_dock_update_with_context (dock, dock_columns->p->context);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]