mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-21 19:34:36 +02:00
bin: center xdg-chooser-app on the current screen
This commit is contained in:
parent
7d6866e3f9
commit
667d50d496
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ content_type = file_info.get_content_type()
|
|||
dialog = Gtk.AppChooserDialog.new_for_content_type(None,
|
||||
Gtk.DialogFlags.MODAL,
|
||||
content_type)
|
||||
dialog.set_position(Gtk.WindowPosition.CENTER_ALWAYS)
|
||||
dialog.get_widget().set_show_default(True)
|
||||
dialog.get_widget().set_show_fallback(True)
|
||||
response = dialog.run()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue