1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 09:32:41 +02:00

Compare commits

...

1 Commits

Author SHA1 Message Date
Michael Henning
9e1c6aa02b app: Save maximize state of image window in...
...multi-window-mode too.
2024-03-24 03:08:12 +00:00
3 changed files with 14 additions and 10 deletions

View File

@@ -1037,6 +1037,7 @@ static GList *
gimp_image_window_get_aux_info (GimpSessionManaged *session_managed)
{
GList *aux_info = NULL;
GimpSessionInfoAux *aux;
GimpImageWindowPrivate *private;
GimpGuiConfig *config;
@@ -1047,7 +1048,6 @@ gimp_image_window_get_aux_info (GimpSessionManaged *session_managed)
if (config->single_window_mode)
{
GimpSessionInfoAux *aux;
GtkAllocation allocation;
gchar widthbuf[128];
@@ -1065,12 +1065,12 @@ gimp_image_window_get_aux_info (GimpSessionManaged *session_managed)
aux = gimp_session_info_aux_new (GIMP_IMAGE_WINDOW_RIGHT_DOCKS_WIDTH,
widthbuf);
aux_info = g_list_append (aux_info, aux);
}
aux = gimp_session_info_aux_new (GIMP_IMAGE_WINDOW_MAXIMIZED,
gimp_image_window_is_maximized (GIMP_IMAGE_WINDOW (session_managed)) ?
"yes" : "no");
aux_info = g_list_append (aux_info, aux);
}
return aux_info;
}

View File

@@ -92,7 +92,9 @@
(factory-entry "gimp-empty-image-window")
(position 140 30)
(size 610 190)
(open-on-exit))
(open-on-exit)
(aux-info
(maximized "no")))
(session-info "toplevel"
(factory-entry "gimp-single-image-window")
(position 10 40)

View File

@@ -107,7 +107,9 @@
(factory-entry "gimp-empty-image-window")
(position 140 30)
(size 610 190)
(open-on-exit))
(open-on-exit)
(aux-info
(maximized "no")))
(session-info "toplevel"
(factory-entry "gimp-single-image-window")
(position 10 40)