From 086972d3c6697e7b335653a6c99eabc457456deb Mon Sep 17 00:00:00 2001 From: eidheim Date: Wed, 11 Nov 2015 20:34:43 +0100 Subject: [PATCH] Dialogs now is centered with respect to the juci application. --- src/dialogs.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs.cc b/src/dialogs.cc index 7d3fa57..293b561 100644 --- a/src/dialogs.cc +++ b/src/dialogs.cc @@ -62,7 +62,7 @@ std::string Dialog::gtk_dialog(const std::string &title, if (!file_name.empty()) gtk_file_chooser_set_filename((GtkFileChooser*)dialog.gobj(), file_name.c_str()); - dialog.set_position(Gtk::WindowPosition::WIN_POS_CENTER_ALWAYS); + dialog.set_position(Gtk::WindowPosition::WIN_POS_CENTER_ON_PARENT); for (auto &button : buttons) dialog.add_button(button.first, button.second);