From 67df034d683be666a16de9259efe073c4bdfae86 Mon Sep 17 00:00:00 2001 From: Igor Belitskiy Date: Wed, 24 May 2023 15:24:10 +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=BA=D0=BD=D0=BE=D0=BF=D0=BA=D0=B8=20=D1=81=D0=BE?= =?UTF-8?q?=D1=85=D1=80=D0=B0=D0=BD=D0=B8=D1=82=D1=8C=20=D0=B8=20=D0=BE?= =?UTF-8?q?=D1=82=D0=BC=D0=B5=D0=BD=D0=B8=D1=82=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/view_add.c | 3 +- source/view_edit.c | 3 +- ubl-settings-resourcequota.glade | 144 +++++++++++++++++++++++++++++-- 3 files changed, 140 insertions(+), 10 deletions(-) diff --git a/source/view_add.c b/source/view_add.c index 3faf6c9..9dcb074 100644 --- a/source/view_add.c +++ b/source/view_add.c @@ -27,6 +27,7 @@ add_window *add_setup_window(char* glade_path) { add_widgets->cmSevereRestrictionAdd = yon_gtk_builder_get_widget(builder,"cmSevereRestrictionAdd"); add_event(add_widgets); add_init_windows(); + add_localization(add_widgets); } return add_widgets; @@ -59,7 +60,7 @@ void add_set_active_widgets(GtkWidget *self, GtkWidget *entry, GtkWidget *label) } void add_localization(add_window *widgets) { - + } void add_on_hide_subwindow(GtkWidget *self) { diff --git a/source/view_edit.c b/source/view_edit.c index fd6d98e..897386f 100644 --- a/source/view_edit.c +++ b/source/view_edit.c @@ -27,6 +27,7 @@ edit_window *edit_setup_window(char* glade_path){ edit_widgets->cmSevereRestrictionEdit = yon_gtk_builder_get_widget(builder,"cmSevereRestrictionEdit"); edit_event(edit_widgets); edit_init_windows(); + edit_localization(edit_widgets); } return edit_widgets; } @@ -45,7 +46,7 @@ void edit_destroy(GtkWidget *self) { } void edit_localization(edit_window *widgets) { - + } void edit_on_hide_subwindow(GtkWidget *self) { diff --git a/ubl-settings-resourcequota.glade b/ubl-settings-resourcequota.glade index ea0c6be..8532f60 100644 --- a/ubl-settings-resourcequota.glade +++ b/ubl-settings-resourcequota.glade @@ -2688,7 +2688,6 @@ limit - gtk-cancel True True True @@ -2698,7 +2697,40 @@ limit 5 5 5 - True + + + True + False + + + True + False + gtk-stop + + + False + True + 0 + + + + + True + False + 5 + 5 + 5 + 5 + Cancel + + + False + True + 1 + + + + False @@ -2709,7 +2741,6 @@ limit - gtk-save True True True @@ -2719,7 +2750,40 @@ limit 5 5 5 - True + + + True + False + + + True + False + gtk-save + + + False + True + 0 + + + + + True + False + 5 + 5 + 5 + 5 + Save + + + False + True + 1 + + + + False @@ -3626,7 +3690,6 @@ limit - gtk-cancel True True True @@ -3636,7 +3699,40 @@ limit 5 5 5 - True + + + True + False + + + True + False + gtk-stop + + + False + True + 0 + + + + + True + False + 5 + 5 + 5 + 5 + Cancel + + + False + True + 1 + + + + False @@ -3647,7 +3743,6 @@ limit - gtk-save True True True @@ -3657,7 +3752,40 @@ limit 5 5 5 - True + + + True + False + + + True + False + gtk-save + + + False + True + 0 + + + + + True + False + 5 + 5 + 5 + 5 + Save + + + False + True + 1 + + + + False