Commit 479036e3 authored by Adrien Plazas's avatar Adrien Plazas
Browse files

gtkdialog: Maximize resizable dialogs

This will make them look better on phone screens.
parent a93eedf1
...@@ -778,6 +778,9 @@ gtk_dialog_map (GtkWidget *widget) ...@@ -778,6 +778,9 @@ gtk_dialog_map (GtkWidget *widget)
GTK_WIDGET_CLASS (gtk_dialog_parent_class)->map (widget); GTK_WIDGET_CLASS (gtk_dialog_parent_class)->map (widget);
if (gtk_window_get_resizable (window))
gtk_window_maximize (window);
focus = gtk_window_get_focus (window); focus = gtk_window_get_focus (window);
if (!focus) if (!focus)
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment