|
|
|
@ -816,6 +816,31 @@ void MainWindow::event() {
|
|
|
|
this->signal_delete_event().connect(sigc::mem_fun(*this, &MainWindow::gui_exit));
|
|
|
|
this->signal_delete_event().connect(sigc::mem_fun(*this, &MainWindow::gui_exit));
|
|
|
|
chbLoadVariantSelectionTimer->signal_toggled().connect(sigc::mem_fun(*this, &MainWindow::set_active_boot_second));
|
|
|
|
chbLoadVariantSelectionTimer->signal_toggled().connect(sigc::mem_fun(*this, &MainWindow::set_active_boot_second));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
void get_tree_view_user() {
|
|
|
|
|
|
|
|
Gtk::TreeModel::Row row = list_store_user->children()[index];
|
|
|
|
|
|
|
|
string users_root = "";
|
|
|
|
|
|
|
|
string key = "";
|
|
|
|
|
|
|
|
if(row) {
|
|
|
|
|
|
|
|
if (row[m_columns_user.name].length() != 0) {
|
|
|
|
|
|
|
|
key = "GRUB_PASSWORD[" + row[m_columns_user.name] + "]=";
|
|
|
|
|
|
|
|
map_cmd_selection[key] = row[m_columns_user.password];
|
|
|
|
|
|
|
|
if (row[m_columns_user.check_button]) {
|
|
|
|
|
|
|
|
if (users_root.length() != 0) {
|
|
|
|
|
|
|
|
users_root = users_root + "," + row[m_columns_user.name];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else {
|
|
|
|
|
|
|
|
users_root = users_root + row[m_columns_user.name];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
map_cmd_selection["GRUB_SUPERUSERS"] = users_root
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
void get_tree_view_music() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void MainWindow::remove_user() {
|
|
|
|
void MainWindow::remove_user() {
|
|
|
|
if (flag_valide_del_user) {
|
|
|
|
if (flag_valide_del_user) {
|
|
|
|
|