diff --git a/source/ubl-settings-bootloader.cc b/source/ubl-settings-bootloader.cc index e3c8ca9..b3d315f 100644 --- a/source/ubl-settings-bootloader.cc +++ b/source/ubl-settings-bootloader.cc @@ -70,6 +70,7 @@ void MainWindow::settings(){ this->localization(); this->add_CSS(); this->event(); + btnBoxAboutDialog->set_visible(false); ubl_make_plugs(boxSave,boxButton, socket_ext_id_I, socket_trd_id_I); if (this->check_root() == 0) { @@ -161,6 +162,7 @@ void MainWindow::get_builder(){ builder->get_widget("boxInfoError", boxInfoError); builder->get_widget("lblWarning", lblWarning); builder->get_widget("imgInfo", imgInfo); + builder->get_widget("btnBoxAboutDialog", btnBoxAboutDialog); } void MainWindow::localization(){ @@ -174,7 +176,7 @@ void MainWindow::localization(){ aboutWindows->set_version(_(version_application.c_str())); aboutWindows->set_website_label(_("Project Home Page")); lblInfoHead->set_text(_("Configuring system boot parameters")); - lblHeaderName->set_text(_("UBConfig - Loading")); + lblHeaderName->set_text(_("ubl-settings-bootloader")); aboutWindows->set_comments(_("Setting bootloader")); aboutWindows->set_website_label(_("Project Home Page")); lblInfoCommand->set_text(_("Command line parameters:")); diff --git a/source/ubl-settings-bootloader.h b/source/ubl-settings-bootloader.h index e552999..9b3e457 100644 --- a/source/ubl-settings-bootloader.h +++ b/source/ubl-settings-bootloader.h @@ -97,6 +97,7 @@ class MainWindow : public Gtk::ApplicationWindow { Gtk::Box *boxInfoError; Gtk::Label *lblWarning; Gtk::Image *imgInfo; + Gtk::ButtonBox *btnBoxAboutDialog; private: int width; diff --git a/ubl-settings-bootloader.glade b/ubl-settings-bootloader.glade index 5e8ade1..a61efd5 100644 --- a/ubl-settings-bootloader.glade +++ b/ubl-settings-bootloader.glade @@ -30,7 +30,7 @@ vertical 2 - + False end