23 #include <tools/config_editor/config_remove_dialog.h> 54 const Glib::RefPtr<Gtk::Builder> &builder)
55 : Gtk::Dialog(cobject)
73 set_title(
"Remove config entry");
74 Glib::ustring text =
"Really remove <b>" + path +
"</b>?";
virtual ~ConfigRemoveDialog()
Destructor.
bool get_remove_default() const
Get the remove default flag of the entry to be deleted.
void init(const Glib::ustring &path, bool is_default)
Initialize the dialog.
Gtk::Label * m_lbl_path
A Gtk::Label that presents the path to be deleted.
Gtk::CheckButton * m_chb_is_default
The Gtk::CheckButton to set the remove default flag.
ConfigRemoveDialog(Gtk::Label *lbl_path, Gtk::CheckButton *chb_is_default)
Constructor.