|
|
|
|
@ -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(){
|
|
|
|
|
|