Skip to content

Commit 982d419

Browse files
committed
Make the about dialog transient for the main window
This ensures that it's attached to it.
1 parent ac5e36f commit 982d419

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lxterminal.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,7 @@ static void terminal_about_activate_event(GtkAction * action, LXTerminal * termi
790790
gtk_about_dialog_set_website(GTK_ABOUT_DIALOG(about_dlg), "http://lxde.org/");
791791
gtk_about_dialog_set_authors(GTK_ABOUT_DIALOG(about_dlg), authors);
792792
gtk_about_dialog_set_translator_credits(GTK_ABOUT_DIALOG(about_dlg), translators);
793+
gtk_window_set_transient_for(GTK_WINDOW(about_dlg), GTK_WINDOW(terminal->window));
793794

794795
/* Display the dialog, wait for the user to click OK, and dismiss the dialog. */
795796
gtk_dialog_run(GTK_DIALOG(about_dlg));

0 commit comments

Comments
 (0)