From 0cd3290bdc377f353c82bcd67ec26b17d9e94fcd Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Tue, 8 Apr 2025 15:21:21 +0600 Subject: [PATCH] Fixed rotate as user check activeness --- source/ubl-settings-logging.c | 1 + ubl-settings-logging-logrotate.glade | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/source/ubl-settings-logging.c b/source/ubl-settings-logging.c index 35a89bd..57cd416 100644 --- a/source/ubl-settings-logging.c +++ b/source/ubl-settings-logging.c @@ -1594,6 +1594,7 @@ logrotate_configure_window *yon_logrotate_window_new(char *paths, logrotate_wind int gr = yon_gtk_combo_box_text_find(window->RotationAtGroupCombo,value); gtk_combo_box_set_active(GTK_COMBO_BOX(window->RotationAtUserCombo),us); gtk_combo_box_set_active(GTK_COMBO_BOX(window->RotationAtGroupCombo),gr); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(window->RotationCheck),1); }else if (!strcmp(parsed[i],"missingok")){ gtk_combo_box_set_active(GTK_COMBO_BOX(window->ErrorProcessingCombo),1); }else if (!strcmp(parsed[i],"nomissingok")){ diff --git a/ubl-settings-logging-logrotate.glade b/ubl-settings-logging-logrotate.glade index 3e37a6c..0400aa9 100644 --- a/ubl-settings-logging-logrotate.glade +++ b/ubl-settings-logging-logrotate.glade @@ -1,5 +1,5 @@ - + @@ -684,6 +684,7 @@ True + False False 0 @@ -711,6 +712,7 @@ True + False False 0