summaryrefslogtreecommitdiffstats
path: root/deluge/ui/gtk3/glade
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2018-09-17 15:54:08 +0100
committerCalum Lind <calumlind@gmail.com>2018-11-02 08:45:39 +0000
commit92a048625ada379c8965e2f85344a05a7c47fa68 (patch)
tree3a804bf610a6a8275918c15d4d55a5e6eea3e394 /deluge/ui/gtk3/glade
parent8199928160941359faaeb63c85ebe55c171df1e3 (diff)
downloaddeluge-92a048625ada379c8965e2f85344a05a7c47fa68.tar.gz
deluge-92a048625ada379c8965e2f85344a05a7c47fa68.tar.bz2
deluge-92a048625ada379c8965e2f85344a05a7c47fa68.zip
[GTK3] Fix the transient parent for PathChooser
The filechooser dialog was wrongly transient to the main window causing weird behaviour, namely the main window moving but dialog remaining in place when attempting to move the child dialog. The solution is to pass the parent dialog to PathChooser so it can be properly set the filechooser dialog transient property. Fixed the Preferences dialog not being set to be modal to main window.
Diffstat (limited to 'deluge/ui/gtk3/glade')
-rw-r--r--deluge/ui/gtk3/glade/preferences_dialog.ui1
1 files changed, 1 insertions, 0 deletions
diff --git a/deluge/ui/gtk3/glade/preferences_dialog.ui b/deluge/ui/gtk3/glade/preferences_dialog.ui
index ae28d7457..48b37a9ed 100644
--- a/deluge/ui/gtk3/glade/preferences_dialog.ui
+++ b/deluge/ui/gtk3/glade/preferences_dialog.ui
@@ -237,6 +237,7 @@
<property name="can_focus">False</property>
<property name="border_width">5</property>
<property name="title" translatable="yes">Preferences</property>
+ <property name="modal">True</property>
<property name="window_position">center-on-parent</property>
<property name="default_width">450</property>
<property name="default_height">500</property>