{
_file_chooser.set_action (Gtk::FILE_CHOOSER_ACTION_SELECT_FOLDER);
_file_chooser.signal_selection_changed().connect (sigc::mem_fun (*this, &DirectoryOption::selection_changed));
- _file_chooser.signal_current_folder_changed().connect (sigc::mem_fun (*this, &DirectoryOption::current_folder_set));
}
{
_set (poor_mans_glob(_file_chooser.get_filename ()));
}
-
-void
-DirectoryOption::current_folder_set ()
-{
- _set (poor_mans_glob(_file_chooser.get_current_folder ()));
-}
private:
void selection_changed ();
- void current_folder_set ();
sigc::slot<std::string> _get; ///< slot to get the configuration variable's value
sigc::slot<bool, std::string> _set; ///< slot to set the configuration variable's value