Set the window role and "resizable" on GimpImageWindow, not on the shell

This commit is contained in:
Michael Natterer 2009-09-24 09:18:19 +02:00
parent a9b617235f
commit 571cdd47ed
2 changed files with 2 additions and 4 deletions

View File

@ -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 |

View File

@ -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 *