fix non-resizeable Icon Legend dialogue
authorPaul <paul@claws-mail.org>
Tue, 30 Aug 2016 10:22:12 +0000 (11:22 +0100)
committerPaul <paul@claws-mail.org>
Tue, 30 Aug 2016 10:22:12 +0000 (11:22 +0100)
src/gtk/icon_legend.c

index 8b7affd93d339473c402d1f647c9c9c216a69ba8..6c870e89d8313ace1b391385f4a240317bd49e23 100644 (file)
@@ -122,7 +122,7 @@ static void legend_create(void)
        gtk_window_set_title(GTK_WINDOW(window), _("Icon Legend"));
        gtk_container_set_border_width(GTK_CONTAINER(window), 8);
        gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
-       gtk_widget_set_size_request(window, 360, 570);
+       gtk_window_set_default_size(GTK_WINDOW(window), 360, 570);
        g_signal_connect(G_OBJECT(window), "delete_event",
                         G_CALLBACK(legend_close), NULL);
        g_signal_connect(G_OBJECT(window), "key_press_event",