mirror of https://github.com/GNOME/gimp.git
Set the window role and "resizable" on GimpImageWindow, not on the shell
This commit is contained in:
parent
a9b617235f
commit
571cdd47ed
|
@ -365,10 +365,6 @@ gimp_display_shell_init (GimpDisplayShell *shell)
|
|||
|
||||
shell->last_active_state = 0;
|
||||
|
||||
|
||||
gtk_window_set_role (GTK_WINDOW (shell), "gimp-image-window");
|
||||
gtk_window_set_resizable (GTK_WINDOW (shell), TRUE);
|
||||
|
||||
gtk_widget_set_events (GTK_WIDGET (shell), (GDK_POINTER_MOTION_MASK |
|
||||
GDK_POINTER_MOTION_HINT_MASK |
|
||||
GDK_BUTTON_PRESS_MASK |
|
||||
|
|
|
@ -131,6 +131,8 @@ gimp_image_window_class_init (GimpImageWindowClass *klass)
|
|||
static void
|
||||
gimp_image_window_init (GimpImageWindow *window)
|
||||
{
|
||||
gtk_window_set_role (GTK_WINDOW (window), "gimp-image-window");
|
||||
gtk_window_set_resizable (GTK_WINDOW (window), TRUE);
|
||||
}
|
||||
|
||||
static GObject *
|
||||
|
|
Loading…
Reference in New Issue