From b578586cb54ec62d0e230cfbba8d6439fbe1c0df Mon Sep 17 00:00:00 2001 From: Igor Belitskiy Date: Thu, 4 May 2023 17:45:27 +0600 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D1=8B=20=D0=BE=D1=82=D1=81=D1=82=D1=83=D0=BF=D1=8B?= =?UTF-8?q?=20=D0=B2=20=D0=B4=D0=B8=D0=B7=D0=B0=D0=B9=D0=BD=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- #ubl-settings-bootloader.glade# | 1974 +++++++++++++++++++++++++++++++ source/menu_os.cc | 1 + ubl-settings-bootloader.glade | 251 ++-- 3 files changed, 2105 insertions(+), 121 deletions(-) create mode 100644 #ubl-settings-bootloader.glade# diff --git a/#ubl-settings-bootloader.glade# b/#ubl-settings-bootloader.glade# new file mode 100644 index 0000000..cd9e671 --- /dev/null +++ b/#ubl-settings-bootloader.glade# @@ -0,0 +1,1974 @@ + + + + + + both + True + + + + + False + False + True + center + com.ublinux.ubl-settings-diskquota + dialog + True + True + ubl-settings-bootloader + 1.0 + Copyright © 2022 - 2023, UBSoft LLC + ubl-settings-bootloader + https://ublinux.ru/ + Project Home Page + Это приложение распространяется без каких-либо гарантий. +Подробнее в <a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.html">GNU General Public License, версии 2 или позднее</a>. + UBGroup + UBGroup + UBGroup + UBGroup + com.ublinux.ubl-settings-bootloader + True + gpl-2-0 + + + True + False + vertical + 2 + + + False + end + + + False + False + 1 + + + + + + + + + + True + False + True + + + True + False + 5 + 5 + 5 + 5 + 2 + ubl-settings-bootloader + + + + + + + + + + True + False + + + True + False + 5 + 5 + 5 + 5 + 5 + 5 + 69 + com.ublinux.ubl-settings-bootloader + + + False + True + 0 + + + + + True + False + start + 5 + 5 + 5 + 5 + 5 + 5 + Running applications as a user with a +specified priority + + + + + + + + True + True + 1 + + + + + True + False + + + 1 + 1 + True + False + **** + 0.009999999776482582 + + + True + True + 0 + + + + + 1 + 1 + True + True + True + + + True + False + gtk-goto-last + + + + + + False + True + 1 + + + + + 1 + 1 + True + True + True + + + 1 + 1 + True + False + 0 + + + + + True + False + + + True + False + False + False + 4 + + + True + False + Load global configuration + + + + + + True + False + Load local configuration + + + + + + True + False + False + False + 4 + + + True + False + Help + + + + + + True + False + About + + + + + + True + False + False + False + 4 + + + True + False + Save to global and local configuration + + + + + + True + False + Save global configuration + + + + + + True + False + Save local configuration + + + + + + 760 + 560 + False + com.ublinux.ubl-settings-bootloader + + + True + False + vertical + + + True + False + + + True + False + 5 + 5 + 5 + 5 + 5 + 5 + 25 + 1 + + + False + True + 0 + + + + + True + False + start + 5 + 5 + 5 + 5 + 5 + 5 + + + + + + + True + True + 1 + + + + + False + True + 0 + + + + + True + False + + + 81 + True + False + start + + + -1 + + + + + False + True + 1 + + + + + True + True + in + + + True + False + + + True + False + vertical + + + True + False + vertical + + + True + False + 5 + 5 + 5 + 5 + 5 + 5 + 0.039999999105930328 + in + + + True + False + 5 + + + True + False + vertical + + + True + False + + + Boot selection menu timer + True + True + False + 3 + 5 + 3 + 5 + 5 + 5 + True + + + False + True + 0 + + + + + True + True + 5 + 5 + 5 + 5 + 5 + 5 + + + False + True + 1 + + + + + True + False + 5 + 5 + 5 + 5 + 5 + 5 + Seconds + + + False + True + 2 + + + + + False + True + 0 + + + + + True + False + + + True + False + start + 5 + 5 + 5 + 5 + 5 + 5 + Default load + start + 0 + + + False + True + 0 + + + + + True + True + 5 + 5 + 5 + 5 + 5 + 5 + + + True + True + 2 + + + + + True + True + True + 5 + 10 + 5 + 10 + 5 + 5 + + + True + False + open-menu-symbolic + + + + + False + True + 3 + + + + + False + True + 1 + + + + + True + False + + + True + False + start + 5 + 5 + 5 + 5 + 5 + 5 + Load screen display mode: + start + 0 + + + False + True + 0 + + + + + True + False + 5 + 10 + 5 + 10 + 5 + 5 + + + True + True + 1 + + + + + False + True + 2 + + + + + True + False + 5 + 10 + 5 + 10 + 5 + 5 + 0.019999999552965164 + in + + + True + False + + + True + False + 5 + + + True + False + vertical + + + 65 + True + True + 3 + 5 + 3 + 5 + in + + + True + False + + + True + True + + + + + + + + + + False + True + 0 + + + + + + + True + True + 0 + + + + + True + False + vertical + + + True + True + True + 5 + 10 + 5 + 10 + 5 + 5 + + + True + False + list-add + + + + + False + True + 0 + + + + + True + True + True + 5 + 10 + 5 + 10 + 3 + 10 + + + True + False + gtk-remove + + + + + False + True + 1 + + + + + False + True + 1 + + + + + + + True + False + start + 5 + 5 + 5 + 5 + 5 + 5 + Boot Menu Users + start + + + + + False + True + 5 + + + + + True + False + 5 + 10 + 5 + 10 + 5 + 5 + 0.019999999552965164 + in + + + True + False + + + True + False + 5 + + + True + False + vertical + + + 65 + True + True + 5 + 5 + 5 + 5 + in + + + True + False + + + True + True + + + + + + + + + + False + True + 0 + + + + + + + True + True + 0 + + + + + True + False + vertical + + + True + True + True + 5 + 10 + 5 + 10 + 5 + 5 + + + True + False + list-add + + + + + False + True + 0 + + + + + True + True + True + 5 + 10 + 5 + 10 + 3 + 10 + + + True + False + gtk-remove + + + + + False + True + 1 + + + + + False + True + 1 + + + + + + + True + False + start + 5 + 5 + 5 + 5 + 5 + 5 + Ringtone at startup + start + + + + + False + True + 5 + + + + + + + + + True + False + 5 + 5 + 5 + 5 + 5 + 5 + Download menu + + + + + False + True + 0 + + + + + True + False + 5 + 5 + 5 + 5 + 5 + 5 + 0.019999999552965164 + in + + + True + False + 5 + + + True + False + vertical + + + 140 + True + True + 5 + 10 + 5 + 10 + 5 + 5 + in + + + True + False + + + True + True + + + + + + + + + + False + True + 0 + + + + + True + False + + + True + False + 5 + 5 + 5 + 5 + 1 + 5 + Command line parameters: + + + False + True + 0 + + + + + True + True + 5 + 10 + 5 + 10 + 5 + 5 + + + True + True + 1 + + + + + False + True + 10 + + + + + + + + + True + False + start + 5 + 5 + 5 + 5 + 5 + 5 + Parameters passed to the kernel + start + + + + + False + True + 1 + + + + + True + False + 5 + 5 + 5 + 5 + 5 + 5 + 0.019999999552965164 + in + + + True + False + 5 + + + True + False + vertical + + + 140 + True + True + 5 + 10 + 5 + 10 + 5 + 5 + in + + + True + False + + + True + True + + + + + + + + + + False + True + 1 + + + + + True + False + + + True + False + 5 + 5 + 5 + 5 + 1 + 5 + Command line parameters: + + + False + True + 0 + + + + + True + True + 5 + 10 + 5 + 10 + 5 + 5 + + + True + True + 1 + + + + + False + True + 7 + + + + + + + + + True + False + start + 5 + 5 + 5 + 5 + 5 + 5 + Terminal for input + start + + + + + False + True + 2 + + + + + True + False + 5 + 5 + 5 + 5 + 5 + 5 + 0.019999999552965164 + in + + + True + False + 5 + + + True + False + vertical + + + 140 + True + True + 5 + 10 + 5 + 10 + 5 + 5 + in + + + True + False + + + True + True + + + + + + + + + + False + True + 0 + + + + + True + False + + + True + False + 5 + 5 + 5 + 5 + 1 + 5 + Command line parameters: + + + False + True + 0 + + + + + True + True + 5 + 10 + 5 + 10 + 5 + 5 + + + True + True + 1 + + + + + False + True + 7 + + + + + + + + + True + False + start + 5 + 5 + 5 + 5 + 5 + 5 + Terminal for output + start + + + + + False + True + 3 + + + + + False + True + 5 + + + + + + + + + True + True + 2 + + + + + + + True + False + True + + + True + False + ubl-settings-bootloader + + + + + + + + True + False + 32 + com.ublinux.ubl-settings-bootloader + + + + + True + False + + + True + False + + + True + True + False + True + True + menu2 + none + + + True + False + + + True + False + 5 + 5 + 5 + 5 + Save + + + + False + True + 0 + + + + + True + False + pan-down-symbolic + + + False + True + 1 + + + + + + + False + True + 0 + + + + + True + True + False + True + True + menu1 + none + + + True + False + open-menu-symbolic + + + + + False + True + 1 + + + + + + False + True + 0 + + + + + end + 1 + + + + + True + False + + + True + True + False + True + True + menu + none + + + True + False + + + True + False + 5 + 5 + 5 + 5 + Load + + + False + True + 0 + + + + + True + False + pan-down-symbolic + + + False + True + 1 + + + + + + + False + True + 0 + + + + + + 2 + + + + + + + both + True + + + + + + + + both + True + + + + + + + + + + + + + + + False + btnOpenMenuOS + bottom + + + True + False + + + 0 + 0 + True + False + none + + + True + False + vertical + + + + + + + + True + True + 0 + + + + + 0 + 0 + True + False + none + True + + + True + False + vertical + + + 1 + 1 + True + True + True + + + True + False + start + 0 + gtk-goto-first + + + + + False + True + 0 + + + + + True + False + vertical + + + + + + False + True + 1 + + + + + + + False + True + 1 + + + + + + + False + Внимание! + center + dialog + + + True + False + vertical + + + True + False + 5 + 5 + 5 + 5 + + + True + False + 5 + 5 + 5 + 5 + 5 + 5 + 50 + gtk-dialog-warning + + + True + True + 0 + + + + + 160 + True + False + start + center + 5 + 5 + 5 + 5 + 5 + 5 + Warning! + + + True + True + 1 + + + + + False + True + 1 + + + + + OK + True + True + True + 5 + 5 + 5 + 5 + 3 + 3 + + + False + True + 1 + + + + + + + True + False + none + + + True + False + vertical + + + + + + + + False + start + start + False + 450 + 250 + dialog-question-symbolic + + + True + False + vertical + + + True + False + + + True + False + start + 20 + 20 + dialog-question-symbolic + 5 + + + False + True + 0 + + + + + True + False + vertical + + + True + False + start + 10 + 5 + Would you like to read documentation in the Web? + True + 0 + + + + + + + False + True + 0 + + + + + True + False + start + start + 10 + 10 + You will be redirected to documentation website where documentation is translated and supported by community. + True + 0 + + + + True + True + 1 + + + + + Always redirect to online documentation + True + True + False + end + 10 + True + + + + False + True + 2 + + + + + + True + True + 1 + + + + + + True + True + 0 + + + + + True + False + 5 + 5 + 5 + 5 + 5 + 5 + 30 + True + + + Cancel + True + True + True + + + + True + True + 0 + + + + + Read Online + True + True + True + + + + True + True + 1 + + + + + False + True + 1 + + + + + + + True + False + True + + + True + False + ubl-settings-bootloader + + + + + + + + True + False + 32 + dialog-question-symbolic + + + + + + + 800 + 600 + False + True + True + com.ublinux.ubl-settings-datetime + + + + + + True + False + True + + + True + False + ubl-settings-bootloader + + + + + True + False + 32 + com.ublinux.ubl-settings-bootloader + 5 + + + + + + diff --git a/source/menu_os.cc b/source/menu_os.cc index 58e31f1..71910dd 100644 --- a/source/menu_os.cc +++ b/source/menu_os.cc @@ -95,6 +95,7 @@ void Menu_os::close_revealer() { } } } + void Menu_os::show() { revealerL1->set_reveal_child(true); revealerL2->set_reveal_child(false); diff --git a/ubl-settings-bootloader.glade b/ubl-settings-bootloader.glade index dc13aa1..c981f5d 100644 --- a/ubl-settings-bootloader.glade +++ b/ubl-settings-bootloader.glade @@ -88,8 +88,8 @@ 5 5 5 - 6 - 6 + 5 + 5 69 com.ublinux.ubl-settings-bootloader @@ -108,8 +108,8 @@ 5 5 5 - 6 - 6 + 5 + 5 Running applications as a user with a specified priority @@ -280,8 +280,8 @@ specified priority - 750 - 550 + 760 + 560 False com.ublinux.ubl-settings-bootloader @@ -301,8 +301,8 @@ specified priority 5 5 5 - 6 - 6 + 5 + 5 25 1 @@ -321,8 +321,8 @@ specified priority 5 5 5 - 6 - 6 + 5 + 5 @@ -390,15 +390,15 @@ specified priority 5 5 5 - 6 - 6 + 5 + 5 0.019999999552965164 in True False - 12 + 5 True @@ -418,8 +418,8 @@ specified priority 5 3 5 - 6 - 6 + 5 + 5 True @@ -436,8 +436,8 @@ specified priority 5 5 5 - 6 - 6 + 5 + 5 False @@ -453,8 +453,8 @@ specified priority 5 5 5 - 6 - 6 + 5 + 5 Seconds @@ -483,8 +483,8 @@ specified priority 5 5 5 - 6 - 6 + 5 + 5 Default load start 0 @@ -503,8 +503,8 @@ specified priority 5 5 5 - 6 - 6 + 5 + 5 True @@ -518,11 +518,11 @@ specified priority True True 5 - 8 + 10 5 - 8 - 6 - 6 + 10 + 5 + 5 True @@ -557,8 +557,8 @@ specified priority 5 5 5 - 6 - 6 + 5 + 5 Load screen display mode: start 0 @@ -574,11 +574,11 @@ specified priority True False 5 - 8 + 10 5 - 8 - 6 - 6 + 10 + 5 + 5 True @@ -598,11 +598,11 @@ specified priority True False 5 - 5 + 10 5 - 5 - 6 - 6 + 10 + 5 + 5 0.019999999552965164 in @@ -613,7 +613,7 @@ specified priority True False - 12 + 5 True @@ -624,7 +624,10 @@ specified priority 65 True True - 6 + 3 + 5 + 3 + 5 in @@ -668,11 +671,11 @@ specified priority True True 5 - 8 + 10 5 - 8 - 6 - 6 + 10 + 5 + 5 True @@ -693,11 +696,11 @@ specified priority True True 5 - 8 + 10 5 - 8 + 10 3 - 6 + 10 True @@ -730,8 +733,8 @@ specified priority 5 5 5 - 6 - 6 + 5 + 5 Boot Menu Users start @@ -748,11 +751,11 @@ specified priority True False 5 - 5 + 10 5 - 5 - 6 - 6 + 10 + 5 + 5 0.019999999552965164 in @@ -763,7 +766,7 @@ specified priority True False - 12 + 5 True @@ -774,7 +777,10 @@ specified priority 65 True True - 6 + 5 + 5 + 5 + 5 in @@ -784,9 +790,6 @@ specified priority True True - 5 - 5 - 5 @@ -821,11 +824,11 @@ specified priority True True 5 - 8 + 10 5 - 8 - 6 - 6 + 10 + 5 + 5 True @@ -846,11 +849,11 @@ specified priority True True 5 - 8 + 10 5 - 8 + 10 3 - 6 + 10 True @@ -883,8 +886,8 @@ specified priority 5 5 5 - 6 - 6 + 5 + 5 Ringtone at startup start @@ -893,7 +896,7 @@ specified priority False True - 6 + 5 @@ -908,8 +911,8 @@ specified priority 5 5 5 - 6 - 6 + 5 + 5 Download menu @@ -928,15 +931,15 @@ specified priority 5 5 5 - 6 - 6 + 5 + 5 0.019999999552965164 in True False - 12 + 5 True @@ -948,11 +951,11 @@ specified priority True True 5 - 8 - 8 - 5 - 6 - 6 + 10 + 5 + 10 + 5 + 5 in @@ -960,7 +963,6 @@ specified priority False - -1 True True @@ -990,7 +992,7 @@ specified priority 5 5 1 - 6 + 5 Command line parameters: @@ -1004,11 +1006,11 @@ specified priority True True 5 - 8 + 10 5 - 8 - 6 - 6 + 10 + 5 + 5 True @@ -1036,8 +1038,8 @@ specified priority 5 5 5 - 6 - 6 + 5 + 5 Parameters passed to the kernel start @@ -1057,15 +1059,15 @@ specified priority 5 5 5 - 6 - 6 + 5 + 5 0.019999999552965164 in True False - 12 + 5 True @@ -1077,11 +1079,11 @@ specified priority True True 5 - 8 - 8 - 5 - 6 - 6 + 10 + 5 + 10 + 5 + 5 in @@ -1118,7 +1120,7 @@ specified priority 5 5 1 - 6 + 5 Command line parameters: @@ -1132,11 +1134,11 @@ specified priority True True 5 - 8 + 10 5 - 8 - 6 - 6 + 10 + 5 + 5 True @@ -1164,8 +1166,8 @@ specified priority 5 5 5 - 6 - 6 + 5 + 5 Terminal for input start @@ -1185,15 +1187,15 @@ specified priority 5 5 5 - 6 - 6 + 5 + 5 0.019999999552965164 in True False - 12 + 5 True @@ -1205,11 +1207,11 @@ specified priority True True 5 - 8 - 8 - 5 - 6 - 6 + 10 + 5 + 10 + 5 + 5 in @@ -1246,7 +1248,7 @@ specified priority 5 5 1 - 6 + 5 Command line parameters: @@ -1260,11 +1262,11 @@ specified priority True True 5 - 8 - 8 - 5 - 6 - 6 + 10 + 5 + 10 + 5 + 5 True @@ -1292,8 +1294,8 @@ specified priority 5 5 5 - 6 - 6 + 5 + 5 Terminal for output start @@ -1531,6 +1533,13 @@ specified priority + + + + + + + False btnOpenMenuOS @@ -1652,8 +1661,8 @@ specified priority 5 5 5 - 6 - 6 + 5 + 5 50 gtk-dialog-warning @@ -1674,8 +1683,8 @@ specified priority 5 5 5 - 6 - 6 + 5 + 5 Warning! @@ -1753,7 +1762,7 @@ specified priority 20 20 dialog-question-symbolic - 6 + 5 False