diff --git a/source/ubl-settings-datetime.cc b/source/ubl-settings-datetime.cc
index 264f9a4..8a05a04 100644
--- a/source/ubl-settings-datetime.cc
+++ b/source/ubl-settings-datetime.cc
@@ -75,10 +75,12 @@ void MainWindow::settings(){
numTimeMin->set_increments(1.0,1.0);
this->get_config();
this->flag_block_gui();
+ btnBoxAboutDialog->set_visible(false);
this->event();
this->parse_text_date();
btnSaveGlobl->set_sensitive(false);
this->download_local_cfg();
+
}
else{
btnSaveLocal->set_sensitive(false);
@@ -102,6 +104,7 @@ void MainWindow::settings(){
txtNtpServer->set_sensitive(false);
lblZone1Glob->set_sensitive(false);
lblDateTimeSetting->set_sensitive(false);
+ btnBoxAboutDialog->set_visible(false);
this->event();
}
@@ -117,6 +120,8 @@ int MainWindow::check_root(){
}
void MainWindow::lacalization(){
+ //aboutWindows->set_title(_(""));
+ aboutWindows->set_comments(_("Settings the date and time"));
lblSave->set_label(_("Save"));
lblDownload->set_label(_("Download"));
btnDownloadGlobal->set_label(_("Download global"));
@@ -242,9 +247,8 @@ void MainWindow::get_builder(){
builder->get_widget("btnDownloadlocal", btnDownloadlocal);
builder->get_widget("btnSettings", btnSettings);
builder->get_widget("aboutWindows", aboutWindows);
-
+ builder->get_widget("btnBoxAboutDialog", btnBoxAboutDialog);
//builder->get_widget("cbxSynchronizeNtp",cbxSynchronizeNtp);
-
this->add_CSS();
}
void MainWindow::gui_exit(){
diff --git a/source/ubl-settings-datetime.h b/source/ubl-settings-datetime.h
index f6af689..fea3c82 100644
--- a/source/ubl-settings-datetime.h
+++ b/source/ubl-settings-datetime.h
@@ -92,6 +92,7 @@ class MainWindow : public Gtk::ApplicationWindow {
Gtk::MenuItem *btnDownloadGlobal;
Gtk::MenuItem *btnDownloadlocal;
Gtk::AboutDialog *aboutWindows;
+ Gtk::ButtonBox *btnBoxAboutDialog;
//Gtk::MenuButton *btnSave;
//Gtk::MenuButton *btnDownload;
Gtk::Button *btnSettings;
diff --git a/ubl-settings-datetime.glade b/ubl-settings-datetime.glade
index d3f96dd..39e93de 100644
--- a/ubl-settings-datetime.glade
+++ b/ubl-settings-datetime.glade
@@ -23,7 +23,8 @@
vertical
2
-
- False
+ True
True
1