From d13a6046fb1bb53da6b5d5e864b7ced69f0e1828 Mon Sep 17 00:00:00 2001 From: Igor Belitskiy Date: Tue, 2 May 2023 18:02:12 +0600 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D1=87=D0=B0=D0=BB=20=D1=80=D0=B0?= =?UTF-8?q?=D0=B1=D0=BE=D1=82=D1=83=20=D0=BD=D0=B0=D0=B4=20=D1=84=D1=83?= =?UTF-8?q?=D0=BD=D0=BA=D1=86=D0=B8=D0=BE=D0=BD=D0=B0=D0=BB=D0=BE=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/ubl-settings-bootloader.cc | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/source/ubl-settings-bootloader.cc b/source/ubl-settings-bootloader.cc index 9667055..54eb8bf 100755 --- a/source/ubl-settings-bootloader.cc +++ b/source/ubl-settings-bootloader.cc @@ -816,6 +816,31 @@ void MainWindow::event() { 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)); } +/* +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() { if (flag_valide_del_user) {