Commit d711c58e authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Make the fingerprint dialog play nice with gnome-shell

It needs some convincing to let itself be attached...
parent 1fac1b46
......@@ -588,7 +588,8 @@ enroll_fingerprints (GtkWindow *parent,
gtk_window_set_title (GTK_WINDOW (ass), _("Enable Fingerprint Login"));
gtk_window_set_transient_for (GTK_WINDOW (ass), parent);
gtk_window_set_modal (GTK_WINDOW (ass), TRUE);
gtk_window_set_position (GTK_WINDOW (ass), GTK_WIN_POS_CENTER_ON_PARENT);
gtk_window_set_resizable (GTK_WINDOW (ass), FALSE);
gtk_window_set_type_hint (GTK_WINDOW (ass), GDK_WINDOW_TYPE_HINT_DIALOG);
gtk_widget_realize (ass);
style = gtk_widget_get_style (ass);
......
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