@@ -4107,7 +4107,7 @@ def is_valid_image(file_path):
4107
4107
if response == Gtk .ResponseType .OK :
4108
4108
file_path = filechooser .get_filename ()
4109
4109
if not file_path or not is_valid_image (file_path ):
4110
- dialog_image = Gtk .Dialog (title = "Faugus Launcher" , modal = True )
4110
+ dialog_image = Gtk .Dialog (title = "Faugus Launcher" , transient_for = dialog , modal = True )
4111
4111
dialog_image .set_resizable (False )
4112
4112
dialog_image .set_icon_from_file (faugus_png )
4113
4113
subprocess .Popen (["canberra-gtk-play" , "-i" , "dialog-error" ])
@@ -4828,7 +4828,7 @@ def is_valid_image(file_path):
4828
4828
if response == Gtk .ResponseType .OK :
4829
4829
file_path = filechooser .get_filename ()
4830
4830
if not file_path or not is_valid_image (file_path ):
4831
- dialog_image = Gtk .Dialog (title = "Faugus Launcher" , modal = True )
4831
+ dialog_image = Gtk .Dialog (title = "Faugus Launcher" , transient_for = dialog , modal = True )
4832
4832
dialog_image .set_resizable (False )
4833
4833
dialog_image .set_icon_from_file (faugus_png )
4834
4834
subprocess .Popen (["canberra-gtk-play" , "-i" , "dialog-error" ])
@@ -5975,7 +5975,7 @@ def is_valid_image(file_path):
5975
5975
if response == Gtk .ResponseType .OK :
5976
5976
file_path = filechooser .get_filename ()
5977
5977
if not file_path or not is_valid_image (file_path ):
5978
- dialog_image = Gtk .Dialog (title = "Faugus Launcher" , modal = True )
5978
+ dialog_image = Gtk .Dialog (title = "Faugus Launcher" , transient_for = dialog , modal = True )
5979
5979
dialog_image .set_resizable (False )
5980
5980
dialog_image .set_icon_from_file (faugus_png )
5981
5981
subprocess .Popen (["canberra-gtk-play" , "-i" , "dialog-error" ])
0 commit comments