diff options
author | Philipp Hörist <forenjunkie@chello.at> | 2017-01-12 22:44:11 +0300 |
---|---|---|
committer | Philipp Hörist <forenjunkie@chello.at> | 2017-01-12 22:44:11 +0300 |
commit | debcfe7f2af8d70f5a081578e09bbfe4f4b2f64a (patch) | |
tree | 90a166bb88c35518ad5c7476a35ca47599e0d0c4 | |
parent | 447cdb6a3b8297cdb7f36d489ddac9259006945f (diff) |
[httpupload] Set Position in UI file
-rw-r--r-- | httpupload/httpupload.py | 1 | ||||
-rw-r--r-- | httpupload/upload_progress_dialog.ui | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/httpupload/httpupload.py b/httpupload/httpupload.py index 5c99778..8773130 100644 --- a/httpupload/httpupload.py +++ b/httpupload/httpupload.py @@ -623,7 +623,6 @@ class ProgressWindow: self.progressbar.set_text("") self.dialog.set_title(title_text) self.dialog.set_geometry_hints(min_width=400, min_height=96) - self.dialog.set_position(gtk.WIN_POS_CENTER_ON_PARENT) self.dialog.show_all() self.xml.connect_signals(self) diff --git a/httpupload/upload_progress_dialog.ui b/httpupload/upload_progress_dialog.ui index f6f63c2..e9f12d1 100644 --- a/httpupload/upload_progress_dialog.ui +++ b/httpupload/upload_progress_dialog.ui @@ -5,6 +5,7 @@ <object class="GtkDialog" id="progress_dialog"> <property name="can_focus">True</property> <property name="resizable">False</property> + <property name="window_position">center-on-parent</property> <property name="icon_name">upload-media</property> <property name="type_hint">dialog</property> <signal name="delete-event" handler="on_progress_dialog_delete_event" swapped="no"/> |