diff --git a/#ubl-settings-datetime.glade# b/#ubl-settings-datetime.glade#
new file mode 100644
index 0000000..9012e06
--- /dev/null
+++ b/#ubl-settings-datetime.glade#
@@ -0,0 +1,1363 @@
+
+
+
+
+
+
+ False
+ Внимание!
+ dialog
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 6
+ 6
+ 50
+ gtk-dialog-warning
+
+
+ True
+ True
+ 0
+
+
+
+
+ 160
+ True
+ False
+ start
+ center
+ 6
+ 6
+ Enter DHCP !
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ OK
+ True
+ True
+ True
+ 5
+ 5
+ 5
+ 5
+ 3
+ 3
+
+
+ False
+ True
+ 1
+
+
+
+
+
+
+ False
+ Внимание!
+ center
+ dialog
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 6
+ 6
+ 50
+ gtk-dialog-warning
+
+
+ True
+ True
+ 0
+
+
+
+
+ 160
+ True
+ False
+ start
+ center
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+ Enter DHCP !
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ OK
+ True
+ True
+ True
+ 5
+ 5
+ 5
+ 5
+ 3
+ 3
+
+
+ False
+ True
+ 1
+
+
+
+
+
+
+ False
+
+
+ True
+ False
+ 0
+ none
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+
+
+ True
+ False
+ vertical
+
+
+ True
+ True
+ True
+ Synopsis
+
+
+ False
+ True
+ 2
+
+
+
+
+ True
+ True
+ True
+ About the program
+
+
+ False
+ True
+ 3
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ False
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+ gtk-missing-image
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ start
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+
+
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+
+
+ 90
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+ 69
+ ubl-settings-datetime
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+
+
+ True
+ False
+
+
+ True
+ False
+ vertical
+
+
+ 255
+ True
+ False
+ Date and time settings
+
+
+
+
+
+
+
+
+ True
+ True
+ 0
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ True
+ 0
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 0.019999999552965164
+ in
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ vertical
+
+
+ True
+ False
+
+
+ 0
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+ Time
+ True
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ True
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+ 2
+ 0.099999999776482579
+ True
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ False
+ :
+
+
+ False
+ True
+ 2
+
+
+
+
+ True
+ True
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+ 2
+ True
+
+
+ False
+ True
+ 3
+
+
+
+
+ 20
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+ Date
+ True
+ 0
+
+
+ False
+ True
+ 4
+
+
+
+
+ -1
+ True
+ True
+ Date
+Format: DD.MM.YYYY
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+
+
+ True
+ True
+ 5
+
+
+
+
+ True
+ True
+ True
+ Интерактивный выбор даты
+ 5
+ 10
+ 5
+ 10
+ 6
+ 6
+
+
+ True
+ False
+ x-office-calendar
+
+
+
+
+ False
+ True
+ 6
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ False
+
+
+ True
+ True
+ True
+ 7
+ 5
+ 7
+ 5
+ 6
+ 6
+
+
+ True
+ False
+ center
+ center
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ media-playlist-repeat
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ center
+ center
+ Sync by
+
+
+ False
+ True
+ 1
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 2
+
+
+
+
+ True
+ True
+ True
+ 5
+ 10
+ 5
+ 10
+ 6
+ 6
+
+
+ True
+ False
+ center
+ center
+ Synchronize hardware time
+
+
+
+
+ True
+ True
+ 3
+
+
+
+
+ False
+ True
+ 3
+
+
+
+
+
+
+ True
+ False
+ Current date and time
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 0.019999999552965164
+ in
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ vertical
+
+
+ True
+ False
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+
+
+ False
+ True
+ 1
+
+
+
+
+ -1
+ True
+ True
+ Enter the name of the ntp server or its ip address. When entering multiple addresses, separate them with spaces.
+ center
+ 5
+ 10
+ 5
+ 10
+ 6
+ 6
+
+
+ True
+ True
+ 3
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+
+
+ True
+ False
+ Synchronize via NTP:
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ False
+ True
+ 2
+
+
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 5
+ 0.019999999552965164
+ in
+
+
+ True
+ False
+
+
+ True
+ False
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ False
+ 8
+ 5
+ 8
+ 5
+ 6
+ 13
+ Region
+ 0
+
+
+ False
+ True
+ 2
+
+
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 6
+ 10
+ False
+ False
+
+
+ False
+ True
+ 3
+
+
+
+
+ True
+ False
+ 10
+ 5
+ 10
+ 5
+ 6
+ 13
+ Area
+ 0
+
+
+ False
+ True
+ 4
+
+
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 6
+ 10
+ False
+ False
+
+
+ False
+ True
+ 5
+
+
+
+
+ 5
+ True
+ False
+
+
+ False
+ True
+ 6
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 7
+
+
+
+
+
+
+ True
+ False
+ Time Zone
+
+
+
+
+ False
+ True
+ 3
+
+
+
+
+ False
+ True
+ 2
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+
+
+
+
+
+ 240
+ 185
+ False
+ btnChooseDate
+ bottom
+ none
+
+
+ True
+ True
+ 10
+ 10
+ 10
+ 10
+ 10
+ 10
+ 2023
+ 1
+ 10
+
+
+
+
diff --git a/source/ubl-settings-datetime.cc b/source/ubl-settings-datetime.cc
index 171cffc..8cf8555 100755
--- a/source/ubl-settings-datetime.cc
+++ b/source/ubl-settings-datetime.cc
@@ -136,6 +136,7 @@ void MainWindow::lacalization(){
//btnSaveLocal->set_label(_("Save to local configuration"));
//btnSaveLocalGlob->set_label(_("Save to global and local configuration"));
aboutWindows->set_comments(_("Setting the date and time"));
+ aboutWindows->set_website_label(_("Project Home Page"));
lblSave->set_label(_("Save"));
lblDownload->set_label(_("Download"));
txtDate->set_tooltip_text(_("Date of\nFormat: DD.MM.YYYY"));
@@ -154,7 +155,7 @@ void MainWindow::lacalization(){
lblReg->set_text(_("Region"));
lblZone->set_text(_("Zone"));
lblSynchronizeBtn->set_text(_("Sync by"));
- this->set_title(_("ubl-settings-datetime"));
+ lblHeader->set_text(_("ubl-settings-datetime"));
mess_sudo->set_title(_("Warning!"));
mess_dchp->set_title(_("Warning!"));
lblTimeBios->set_text(_("Synchronize hardware time"));
@@ -200,9 +201,11 @@ void MainWindow::add_CSS(){
styleContext->add_provider_for_screen(screen, cssProvider, GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);//add provider for screen in all application
Glib::RefPtr context = boxColor->get_style_context();
Glib::RefPtr context_lbl_head = lblHead->get_style_context();
- //Glib::RefPtr context_button = btnHardwareTime->get_style_context();
+
context->add_class("cssboxColor1");
context_lbl_head->add_class("textHead");
+
+
}
@@ -266,7 +269,8 @@ void MainWindow::get_builder(){
builder->get_widget("btnSaveLocalGlob", btnSaveLocalGlob);
builder->get_widget("btnSaveLocal", btnSaveLocal);
builder->get_widget("btnSaveGlob", btnSaveGlob);
-
+ builder->get_widget("headerBar", headerBar);
+ builder->get_widget("lblHeader", lblHeader);
this->add_CSS();
}
void MainWindow::gui_exit(){
diff --git a/source/ubl-settings-datetime.h b/source/ubl-settings-datetime.h
index 5ca24be..06d3f45 100755
--- a/source/ubl-settings-datetime.h
+++ b/source/ubl-settings-datetime.h
@@ -100,6 +100,8 @@ class MainWindow : public Gtk::ApplicationWindow {
Gtk::ModelButton *btnDonwlodLocal;
Gtk::ModelButton *btnAbout;
Gtk::ModelButton *btnSynopsis;
+ Gtk::HeaderBar *headerBar;
+ Gtk::Label *lblHeader;
unsigned int year=0;
unsigned int month=0;
unsigned int day=0;
diff --git a/style.css b/style.css
index ea9b691..d8a3e99 100755
--- a/style.css
+++ b/style.css
@@ -10,4 +10,7 @@
.textHead{
text-shadow: 1px 1px #ffffff;
}
+.textHeaderBar{
+ font-weight: bold;
+}
diff --git a/ubl-settings-datetime.glade b/ubl-settings-datetime.glade
index ba1b1d8..971ddd9 100755
--- a/ubl-settings-datetime.glade
+++ b/ubl-settings-datetime.glade
@@ -12,11 +12,11 @@
dialog
True
ubl-settings-datetime
- 1.28
- Copyright © 2021 - the ublinux team
+ 1.2
+ Copyright © 2023 - UBSoft Software LLC
Setting the date and time
https://ublinux.ru/
- www.ublinux.ru
+ https://ublinux.ru/
Это приложение распространяется без каких-либо гарантий.
Подробнее в <a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.html">GNU General Public License, версии 2 или позднее</a>.
UBGroup
@@ -1139,11 +1139,25 @@ Format: DD.MM.YYYY
-