From 49ef8210fab542a5f0789860383db4e8f8d3f274 Mon Sep 17 00:00:00 2001 From: Igor Belitskiy Date: Fri, 30 Jun 2023 17:38:05 +0600 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=B7=D0=B0=D0=B4=D0=B0=D1=87=D1=83=20=E2=84=9612?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/ubl-settings-resourcequota.c | 1 + source/ubl-settings-resourcequota.h | 2 +- ubl-settings-resourcequota.glade | 148 ++++++++++------------------ 3 files changed, 52 insertions(+), 99 deletions(-) diff --git a/source/ubl-settings-resourcequota.c b/source/ubl-settings-resourcequota.c index 4bf5dd8..6b87c9e 100644 --- a/source/ubl-settings-resourcequota.c +++ b/source/ubl-settings-resourcequota.c @@ -1111,6 +1111,7 @@ int template_format_str_save(char* source_set_cmd, char* source_remove_cmd) { return 1; } + char* template_format_str_set_save(char* source_set_cmd) { char* cmd = yon_char_new(""); for (size_t index = 0; index < main_config.size_tree_view; index++) { diff --git a/source/ubl-settings-resourcequota.h b/source/ubl-settings-resourcequota.h index 2823e9c..bdb4c82 100755 --- a/source/ubl-settings-resourcequota.h +++ b/source/ubl-settings-resourcequota.h @@ -44,7 +44,7 @@ #define CMD_GET_GROUP "cut -d: -f1 /etc/group" typedef char *string; -string version_application="1.2"; +string version_application; static char *local; diff --git a/ubl-settings-resourcequota.glade b/ubl-settings-resourcequota.glade index 5fdca43..9d8ac3a 100644 --- a/ubl-settings-resourcequota.glade +++ b/ubl-settings-resourcequota.glade @@ -173,50 +173,33 @@ - - 1 - 100000 - 1 + + 100 1 10 - - 10000 + + 100 1 10 - - 10000 + + 100 1 10 - - 1000023 + + 100 1 10 - - 10000 + + 100 1 10 - - 100023 - 1 - 10 - - - 100023 - 1 - 10 - - - 10000 - 1 - 10 - - - 10000 + + 100 1 10 @@ -329,7 +312,7 @@ True False - 12 + 5 True @@ -374,9 +357,6 @@ 5 5 True - - - False @@ -394,7 +374,8 @@ 5 5 5 - adjustment4 + 7 + a1 False @@ -481,9 +462,6 @@ 5 5 True - - - False @@ -501,7 +479,8 @@ 5 5 5 - adjustment6 + 7 + a2 False @@ -592,7 +571,7 @@ True False - 12 + 5 True @@ -609,9 +588,6 @@ 5 5 True - - - False @@ -629,7 +605,8 @@ 5 5 5 - adjustment7 + 7 + a3 False @@ -681,7 +658,7 @@ - True + False True 0 @@ -702,7 +679,7 @@ True False - 12 + 5 True @@ -719,9 +696,6 @@ 5 5 True - - - False @@ -739,7 +713,8 @@ 5 5 5 - adjustment5 + 7 + a4 False @@ -812,7 +787,7 @@ True False - 12 + 5 True @@ -906,12 +881,9 @@ 5 5 5 - 4 + 5 5 True - - - False @@ -929,7 +901,8 @@ 5 5 5 - adjustment8 + 7 + a5 False @@ -1016,9 +989,6 @@ 5 5 True - - - False @@ -1036,7 +1006,8 @@ 5 5 5 - adjustment9 + 7 + a6 False @@ -1130,7 +1101,7 @@ True False - 12 + 5 True @@ -1423,7 +1394,7 @@ True False - 12 + 5 True @@ -1468,9 +1439,6 @@ 5 5 True - - - False @@ -1488,7 +1456,8 @@ 5 5 5 - adjustment4 + 7 + a1 False @@ -1575,9 +1544,6 @@ 5 5 True - - - False @@ -1595,7 +1561,8 @@ 5 5 5 - adjustment6 + 7 + a2 False @@ -1686,7 +1653,7 @@ True False - 12 + 5 True @@ -1703,9 +1670,6 @@ 5 5 True - - - False @@ -1723,7 +1687,8 @@ 5 5 5 - adjustment7 + 7 + a3 False @@ -1775,7 +1740,7 @@ - True + False True 0 @@ -1796,7 +1761,7 @@ True False - 12 + 5 True @@ -1813,9 +1778,6 @@ 5 5 True - - - False @@ -1833,7 +1795,8 @@ 5 5 5 - adjustment5 + 7 + a4 False @@ -1906,7 +1869,7 @@ True False - 12 + 5 True @@ -2001,12 +1964,9 @@ 5 5 5 - 4 + 5 5 True - - - False @@ -2024,7 +1984,8 @@ 5 5 5 - adjustment9 + 7 + a5 False @@ -2111,9 +2072,6 @@ 5 5 True - - - False @@ -2131,7 +2089,8 @@ 5 5 5 - adjustment8 + 7 + a6 False @@ -2225,7 +2184,7 @@ True False - 12 + 5 True @@ -3322,7 +3281,6 @@ limit 5 5 5 - adjustment1 False @@ -3390,7 +3348,6 @@ limit False True natural - adjustment3 natural UTF-8 True @@ -3407,7 +3364,6 @@ limit True False vertical - adjustment3 False @@ -3504,7 +3460,6 @@ limit False True natural - adjustment2 natural UTF-8 1024 @@ -3522,7 +3477,6 @@ limit True False vertical - adjustment2 False @@ -3639,7 +3593,6 @@ limit False True natural - adjustment3 natural UTF-8 True @@ -3656,7 +3609,6 @@ limit True False vertical - adjustment3 False