mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
fix ws
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9317 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
297d94a4b8
commit
08762a396f
@ -40,8 +40,8 @@ FileDialog::Private::open(string const & path,
|
||||
string const & suggested)
|
||||
{
|
||||
fileChooser_.set_action(Gtk::FILE_CHOOSER_ACTION_OPEN);
|
||||
fileChooser_.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
|
||||
fileChooser_.add_button(Gtk::Stock::OPEN, Gtk::RESPONSE_OK);
|
||||
fileChooser_.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
|
||||
fileChooser_.add_button(Gtk::Stock::OPEN, Gtk::RESPONSE_OK);
|
||||
|
||||
return showChooser(path, filters, suggested);
|
||||
}
|
||||
@ -51,8 +51,8 @@ FileDialog::Result const FileDialog::Private::opendir(string const & path,
|
||||
string const & suggested)
|
||||
{
|
||||
fileChooser_.set_action(Gtk::FILE_CHOOSER_ACTION_SELECT_FOLDER);
|
||||
fileChooser_.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
|
||||
fileChooser_.add_button(Gtk::Stock::OPEN, Gtk::RESPONSE_OK);
|
||||
fileChooser_.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
|
||||
fileChooser_.add_button(Gtk::Stock::OPEN, Gtk::RESPONSE_OK);
|
||||
|
||||
return showChooser(path, lyx::support::FileFilterList(), suggested);
|
||||
}
|
||||
@ -63,8 +63,8 @@ FileDialog::Result const FileDialog::Private::save(string const & path,
|
||||
string const & suggested)
|
||||
{
|
||||
fileChooser_.set_action(Gtk::FILE_CHOOSER_ACTION_SAVE);
|
||||
fileChooser_.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
|
||||
fileChooser_.add_button(Gtk::Stock::SAVE, Gtk::RESPONSE_OK);
|
||||
fileChooser_.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
|
||||
fileChooser_.add_button(Gtk::Stock::SAVE, Gtk::RESPONSE_OK);
|
||||
|
||||
return showChooser(path, filters, suggested);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user