Исправлен скрин и дизайн приложения

pull/11/head
Igor Belitskiy 3 years ago
parent caa7845f0e
commit a0959676d5

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 141 KiB

@ -78,7 +78,7 @@ void MainWindow::settings(){
btnBoxAboutDialog->set_visible(false); btnBoxAboutDialog->set_visible(false);
ubl_make_plugs(boxSave,boxButton, socket_ext_id_I, socket_trd_id_I); ubl_make_plugs(boxSave,boxButton, socket_ext_id_I, socket_trd_id_I);
if (this->check_root() == 0) { if (this->check_root() == 0) {
spbSecond->set_range(0, 60); spbSecond->set_range(1, 60);
spbSecond->set_increments(1.0, 1.0); spbSecond->set_increments(1.0, 1.0);
spbSecond->set_value(1); spbSecond->set_value(1);
this->fill_in_view(); this->fill_in_view();
@ -901,6 +901,7 @@ bool MainWindow::save_local_cfg() {
map_local_cmd_selection = map_cmd_selection; map_local_cmd_selection = map_cmd_selection;
return flag_no_save; return flag_no_save;
} }
void MainWindow::set_data_cfg() { void MainWindow::set_data_cfg() {
string str_flags = entryKernel->get_text(); string str_flags = entryKernel->get_text();
str_remove(str_flags, ","); str_remove(str_flags, ",");
@ -914,7 +915,6 @@ void MainWindow::set_data_cfg() {
str_remove(str_flags, ","); str_remove(str_flags, ",");
str_replace_all(str_flags, " \"", "\""); str_replace_all(str_flags, " \"", "\"");
map_cmd_selection["GRUB_TERMINAL_OUTPUT"] = str_flags; map_cmd_selection["GRUB_TERMINAL_OUTPUT"] = str_flags;
} }
void MainWindow::download_globl_cfg() { void MainWindow::download_globl_cfg() {
@ -968,7 +968,6 @@ void MainWindow::download_local_cfg() {
this->get_password_protec("ubconfig --default --source system get boot GRUB_PASSWORD", map_local_cmd_selection); this->get_password_protec("ubconfig --default --source system get boot GRUB_PASSWORD", map_local_cmd_selection);
info_warning_error(0); info_warning_error(0);
map_cmd_selection = map_local_cmd_selection; map_cmd_selection = map_local_cmd_selection;
} }
bool MainWindow::check_save(string flag_save, string key_name="") { bool MainWindow::check_save(string flag_save, string key_name="") {
@ -1162,15 +1161,6 @@ void MainWindow::log_mess_error(string &cmd) {
} }
} }
void MainWindow::fn_event_intelMax1(){
chbintelMax4->set_active(false);
}
void MainWindow::fn_event_intelMax4(){
chbintelMax1->set_active(false);
}
void MainWindow::add_CSS(){ void MainWindow::add_CSS(){
Glib::RefPtr<Gtk::CssProvider> cssProvider = Gtk::CssProvider::create(); Glib::RefPtr<Gtk::CssProvider> cssProvider = Gtk::CssProvider::create();
cssProvider->load_from_path(path_css); cssProvider->load_from_path(path_css);

@ -60,8 +60,6 @@ class MainWindow : public Gtk::ApplicationWindow {
Gtk::Label *lblHeaderName; Gtk::Label *lblHeaderName;
Gtk::Label *lblInfoHead; Gtk::Label *lblInfoHead;
Gtk::CheckButton *chbVgaText; Gtk::CheckButton *chbVgaText;
Gtk::CheckButton *chbintelMax4;
Gtk::CheckButton *chbintelMax1;
Gtk::CheckButton *chbLoadVariantSelectionTimer; Gtk::CheckButton *chbLoadVariantSelectionTimer;
Gtk::CheckButton *chbLastSelectionWillBecome; Gtk::CheckButton *chbLastSelectionWillBecome;
Gtk::Entry *entryKernel; Gtk::Entry *entryKernel;

@ -1015,6 +1015,9 @@ specified priority</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">ubl-settings-bootloader</property> <property name="label" translatable="yes">ubl-settings-bootloader</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object> </object>
</child> </child>
<child> <child>

Loading…
Cancel
Save