From 08a27fc7f7a458cecdae1694a7831ecd4b8cec7d Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Tue, 15 Apr 2025 16:40:55 +0600 Subject: [PATCH 1/2] Returnal of title labels for tabs --- ubl-settings-update.glade | 72 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/ubl-settings-update.glade b/ubl-settings-update.glade index 6d65d00..8aafdc6 100644 --- a/ubl-settings-update.glade +++ b/ubl-settings-update.glade @@ -540,6 +540,24 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 5 vertical 5 + + + True + False + Repository connection configuration + 0 + + + + + + + + False + True + 0 + + True @@ -905,6 +923,24 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 5 vertical 5 + + + True + False + Setting up a connection to a distributed repository network and publishing your repositories + 0 + + + + + + + + False + True + 0 + + Connect and publish @@ -1116,6 +1152,24 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 5 vertical 5 + + + True + False + Setting up publication of storage and/or repositories as a local WEB resource + 0 + + + + + + + + False + True + 0 + + True @@ -1436,6 +1490,24 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 5 vertical 5 + + + True + False + Setting up publication of a lazy mirror of connected repositories as a local WEB resource + 0 + + + + + + + + False + True + 0 + + Publish lazy mirror -- 2.35.1 From 8d44c47f0e1bcdfd2f20dc0526282111582ff68a Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Tue, 29 Apr 2025 12:34:43 +0600 Subject: [PATCH 2/2] Dialog window changes --- source/ubl-settings-update.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/ubl-settings-update.c b/source/ubl-settings-update.c index 0e434ed..4d336f3 100644 --- a/source/ubl-settings-update.c +++ b/source/ubl-settings-update.c @@ -779,7 +779,7 @@ void on_password_open(GtkWidget *, web_publication_add_window *window){ } void on_web_publish_remove(GtkWidget *self,main_window *widgets){ - dialog_confirmation_data *data = malloc(sizeof(dialog_confirmation_data)); + dialog_confirmation_data *data = yon_confirmation_dialog_data_new(); data->action_text=REMOVE_REPO_WARNING_LABEL; data->function=(void(*)(void*,void*))on_web_publish_remove_accept; data->data = widgets; @@ -787,7 +787,7 @@ void on_web_publish_remove(GtkWidget *self,main_window *widgets){ } void on_mirror_remove(GtkWidget *self,main_window *widgets){ - dialog_confirmation_data *data = malloc(sizeof(dialog_confirmation_data)); + dialog_confirmation_data *data = yon_confirmation_dialog_data_new(); data->action_text=REMOVE_REPO_WARNING_LABEL; data->function=(void(*)(void*,void*))on_mirror_remove_accept; data->data = widgets; @@ -796,7 +796,7 @@ void on_mirror_remove(GtkWidget *self,main_window *widgets){ } void on_repo_remove(GtkWidget *self, main_window *widgets){ - dialog_confirmation_data *data = malloc(sizeof(dialog_confirmation_data)); + dialog_confirmation_data *data = yon_confirmation_dialog_data_new(); data->action_text=REMOVE_REPO_WARNING_LABEL; data->function=(void(*)(void*,void*))on_repositories_remove_accept; data->data = widgets; -- 2.35.1