Also fix the missing parent window for the partial-paste and the save-as dialogs.

This commit is contained in:
Adam Reichold
2016-01-10 18:07:06 +01:00
parent 325d153bd4
commit 375ed172e0
11 changed files with 22 additions and 65 deletions

View File

@@ -23,11 +23,10 @@
#include "rtimage.h"
extern Options options;
SaveAsDialog::SaveAsDialog (Glib::ustring initialDir)
SaveAsDialog::SaveAsDialog (const Glib::ustring& initialDir, Gtk::Window* parent)
: Gtk::Dialog (M("GENERAL_SAVE"), *parent)
{
set_title(M("GENERAL_SAVE"));
Gtk::Box* box = get_content_area ();
fchooser = Gtk::manage( new Gtk::FileChooserWidget (Gtk::FILE_CHOOSER_ACTION_SAVE) );