From e413238bba85de0aca697c18c19c53fcaa1e11ac Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Tue, 13 Jan 2026 11:45:13 +0000 Subject: [PATCH 01/18] Removed repeating localisation --- source/ubl-strings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ubl-strings.h b/source/ubl-strings.h index 674f2b7..1afc4ab 100644 --- a/source/ubl-strings.h +++ b/source/ubl-strings.h @@ -3,7 +3,7 @@ #define TITLE_LABEL _("System update") #define TITLE_INFO_LABEL _("System update settings management") - #define NOTHING_CHOSEN_LABEL _("Nothing were chosen") + // #define NOTHING_CHOSEN_LABEL _("Nothing were chosen") #define EMPTY_IMPORTANT_LABEL _("Empty important field!") #define ADD_REPO_LABEL _("Add repository") #define EDIT_REPO_LABEL _("Edit repository") -- 2.35.1 From f6da24e05060fa699dfbbb57199b055c1a05df63 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Wed, 14 Jan 2026 09:47:38 +0000 Subject: [PATCH 02/18] Test fix for build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 65d819d..c89a086 100644 --- a/Makefile +++ b/Makefile @@ -119,7 +119,7 @@ install: check uninstall msgfmt --verbose --use-fuzzy --output-file "$${PATH_FILE_MO}" - < <(msgcat --use-first --no-wrap $${PKGNAME_PO} ./locale/*_$${LANG}.po); \ done @for SIZE in 16 32 48; do \ - install -dm755 "${DESTDIR}${PREFIX}/share/icons/hicolor/$${SIZE}x$${SIZE}/apps"; \ + install -dm755 "${DESTDIR}/usr/share/icons/hicolor/$${SIZE}x$${SIZE}/apps"; \ rsvg-convert -w $${SIZE} -h $${SIZE} -f svg --keep-image-data "icons/apps/com.ublinux.${PKGNAME}.svg" -o "${DESTDIR}${PREFIX}/share/icons/hicolor/$${SIZE}x$${SIZE}/apps/com.ublinux.${PKGNAME}.svg"; \ done @for FILE_ICON in $(wildcard icons/*/*.svg); do \ -- 2.35.1 From 0846e7116d8f802b2bd298d706d638113477c8dc Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Wed, 14 Jan 2026 09:49:21 +0000 Subject: [PATCH 03/18] Test fix for build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c89a086..81f197b 100644 --- a/Makefile +++ b/Makefile @@ -120,7 +120,7 @@ install: check uninstall done @for SIZE in 16 32 48; do \ install -dm755 "${DESTDIR}/usr/share/icons/hicolor/$${SIZE}x$${SIZE}/apps"; \ - rsvg-convert -w $${SIZE} -h $${SIZE} -f svg --keep-image-data "icons/apps/com.ublinux.${PKGNAME}.svg" -o "${DESTDIR}${PREFIX}/share/icons/hicolor/$${SIZE}x$${SIZE}/apps/com.ublinux.${PKGNAME}.svg"; \ + rsvg-convert -w $${SIZE} -h $${SIZE} -f svg --keep-image-data "icons/apps/com.ublinux.${PKGNAME}.svg" -o "${DESTDIR}/usr/share/icons/hicolor/$${SIZE}x$${SIZE}/apps/com.ublinux.${PKGNAME}.svg"; \ done @for FILE_ICON in $(wildcard icons/*/*.svg); do \ SUB_NAME=$${FILE_ICON#*/}; SUB_NAME=$${SUB_NAME%/*}; \ -- 2.35.1 From 766ec30d1a15ab9186951e7d0b2c8dc480c414b3 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Fri, 16 Jan 2026 09:42:17 +0000 Subject: [PATCH 04/18] Fixed file choosers names --- source/ubl-settings-update.c | 5 ++++- source/ubl-strings.h | 5 +++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/source/ubl-settings-update.c b/source/ubl-settings-update.c index e89935b..b99852f 100644 --- a/source/ubl-settings-update.c +++ b/source/ubl-settings-update.c @@ -1077,8 +1077,9 @@ void on_repo_source_add(GtkWidget *, repo_add_window *window){ g_signal_connect(gtk_builder_get_object(builder,"PathRemoveButton"),"clicked",G_CALLBACK(on_mirror_path_removed),window); } -void on_file_chooser_open(GtkWidget *, GtkEntry *target){ +void on_file_chooser_open(GtkWidget *self, GtkEntry *target){ filechooser_window *window = yon_file_chooser_window_new(GTK_FILE_CHOOSER_ACTION_OPEN); + yon_gtk_window_setup(GTK_WINDOW(window->Window),GTK_WINDOW(gtk_widget_get_toplevel(self)),yon_char_get_localised_from_lib(CHOOSE_FILE_LABEL),icon_path,"file_chooser"); if (yon_file_chooser_start(window)){ char *file = window->last_any_selection; if (!yon_char_is_empty(file)){ @@ -1094,11 +1095,13 @@ void on_repo_file_chooser_open(GtkWidget *, repo_add_window *window){ if (yon_char_is_empty(source_type)){ GtkFileFilter *filter = gtk_file_filter_new(); fchwindow = yon_file_chooser_window_new(GTK_FILE_CHOOSER_ACTION_OPEN); + yon_gtk_window_setup(GTK_WINDOW(fchwindow->Window),GTK_WINDOW(window->Window),yon_char_get_localised_from_lib(CHOOSE_FILE_LABEL),icon_path,"file_chooser"); gtk_file_filter_set_name(filter,"*ini"); gtk_file_filter_add_pattern(filter,"*ini"); gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(fchwindow->MainFileChooser),filter); } else if (!strcmp(source_type,"file://")){ fchwindow = yon_file_chooser_window_new(GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER); + yon_gtk_window_setup(GTK_WINDOW(fchwindow->Window),GTK_WINDOW(window->Window),yon_char_get_localised_from_lib(CHOOSE_FILE_LABEL),icon_path,"file_chooser"); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(fchwindow->ChooseFolderCheck),1); } else return; diff --git a/source/ubl-strings.h b/source/ubl-strings.h index 1afc4ab..e859d20 100644 --- a/source/ubl-strings.h +++ b/source/ubl-strings.h @@ -34,6 +34,9 @@ mirrorlist - mirrors file, make sure server URL is NOT included in this file! Si #define PASSWORD_INPUT_LABEL _("Password input") #define REMOVE_FTP_TITLE_LABEL _("Remove repository") + #define STORAGE_PATH_LABEL _("Storage path to publish") + #define PUBLICATION_DIR_PATH_LABEL _("Path to publication directory:") + /* #define _LABEL _("Signature verification will not be performed") #define _LABEL _("Signatures will be verified if present, but unsigned databases and packages will also be accepted") @@ -50,7 +53,6 @@ mirrorlist - mirrors file, make sure server URL is NOT included in this file! Si #define _LABEL _("Add source") #define _LABEL _("Username") #define _LABEL _("User password") - #define _LABEL _("Storage path to publish") #define _LABEL _("The full URL of where to find the database, packages, and signatures (if available) for this repository. Multiple can be specified, separated by commas (,)") #define _LABEL _("Update") #define _LABEL _("System update") @@ -138,7 +140,6 @@ mirrorlist - mirrors file, make sure server URL is NOT included in this file! Si #define _LABEL _("Enable installation of packages from this repository during --sync operation") #define _LABEL _("Allow this repository to be a valid source of packages when running --sysupgrade") #define _LABEL _("Enable publishing of local repository as WEB resource") - #define _LABEL _("Path to publication directory:") #define _LABEL _("Port:") #define _LABEL _("Publishing parameters") #define _LABEL _("Enable WEB file browser") -- 2.35.1 From 8811a63afb843b2e9391664f0373ec72c1799f88 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Fri, 16 Jan 2026 09:43:23 +0000 Subject: [PATCH 05/18] Localisation fixes --- locale/ubl-settings-update_ru.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/locale/ubl-settings-update_ru.po b/locale/ubl-settings-update_ru.po index e35fd03..d1995ea 100644 --- a/locale/ubl-settings-update_ru.po +++ b/locale/ubl-settings-update_ru.po @@ -659,11 +659,11 @@ msgstr "Хранилище:" #: source/ubl-strings.h:171 msgid "Anonymous user" -msgstr "Аноноимный пользователь" +msgstr "Анонимный пользователь" #: source/ubl-strings.h:171 msgid "Anonymous user:" -msgstr "Аноноимный пользователь:" +msgstr "Анонимный пользователь:" #: source/ubl-strings.h:172 msgid "Open user list" -- 2.35.1 From f39663c63f1c7bcef80554490f6dd392a855c59e Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Mon, 19 Jan 2026 18:01:16 +0000 Subject: [PATCH 06/18] Fixed loading of FTP publication page --- source/ubl-settings-update.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ubl-settings-update.h b/source/ubl-settings-update.h index 6df50ae..1126c16 100644 --- a/source/ubl-settings-update.h +++ b/source/ubl-settings-update.h @@ -46,8 +46,8 @@ #define sha256_encrypt_command(target) yon_char_unite("echo -n \"",target,"\" | sha256sum | cut -f 1 -d ' '",NULL) #define sha512_encrypt_command(target) yon_char_unite("echo -n \"",target,"\" | sha512sum | cut -f 1 -d ' '",NULL) -#define config_get_command(target) yon_char_unite("ubconfig --source ",target," -ea get [update] REPOPUBLIC_NET REPOPUBLIC_WEB REPOSITORY REPOSITORY[*] REPOPUBLIC_WEB REPOPUBLIC_WEB[*] REPOPUBLIC_CACHE REPOPUBLIC_CACHE[*] AUTOUPDATE AUTOUPDATE[mode] AUTOUPDATE[interval] AUTOUPDATE[repos] AUTOUPDATE[timestamp]",NULL) -#define config_get_default_command "ubconfig --source default get [update] AUTOUPDATE[repos] AUTOUPDATE[interval] AUTOUPDATE[mode] AUTOUPDATE REPOSITORY REPOSITORY[*]" +#define config_get_command(target) yon_char_unite("ubconfig --source ",target," -ea get [update] REPOPUBLIC_NET REPOPUBLIC_WEB REPOSITORY REPOSITORY[*] REPOPUBLIC_WEB REPOPUBLIC_WEB[*] REPOPUBLIC_CACHE REPOPUBLIC_CACHE[*] AUTOUPDATE AUTOUPDATE[mode] AUTOUPDATE[interval] AUTOUPDATE[repos] AUTOUPDATE[timestamp] REPOPUBLIC_FTP[*]",NULL) +#define config_get_default_command "ubconfig --source default get [update] AUTOUPDATE[repos] AUTOUPDATE[interval] AUTOUPDATE[mode] AUTOUPDATE REPOSITORY REPOSITORY[*] REPOPUBLIC_FTP[*]" #define config_get_global_only_parameters "" #define config_get_local_only_parameters "" -- 2.35.1 From 7ad71bc66453f94808bfbc6752e15f217ffca077 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Mon, 26 Jan 2026 17:58:40 +0600 Subject: [PATCH 07/18] Fixes --- source/ubl-settings-update-ftp.c | 2 +- source/ubl-settings-update-save.c | 8 +++----- source/ubl-settings-update.c | 6 +----- ubl-settings-update-ftp-publication.glade | 2 +- 4 files changed, 6 insertions(+), 12 deletions(-) diff --git a/source/ubl-settings-update-ftp.c b/source/ubl-settings-update-ftp.c index 1fb6b09..411ac9f 100644 --- a/source/ubl-settings-update-ftp.c +++ b/source/ubl-settings-update-ftp.c @@ -174,7 +174,7 @@ void on_ftp_remove(GtkWidget *,main_window *widgets){ dialog_confirmation_data *data = yon_confirmation_dialog_data_new(); data->title = REMOVE_FTP_TITLE_LABEL; data->action_text = REMOVE_REPO_WARNING_LABEL; - if (yon_confirmation_dialog_call(widgets->Window,data)!=GTK_RESPONSE_CANCEL){ + if (yon_confirmation_dialog_call(widgets->Window,data)==GTK_RESPONSE_ACCEPT){ char *storage; char *repos; gtk_tree_model_get(model,&iter,1,&storage,2,&repos,-1); diff --git a/source/ubl-settings-update-save.c b/source/ubl-settings-update-save.c index a16dedf..9e261b2 100644 --- a/source/ubl-settings-update-save.c +++ b/source/ubl-settings-update-save.c @@ -27,21 +27,21 @@ void on_config_custom_save(GtkWidget *, main_window *){ void on_config_local_load(GtkWidget *,main_window *widgets){ yon_load_proceed(YON_CONFIG_LOCAL); - yon_ubl_status_box_render(yon_char_get_localised_from_lib(LOCAL_LOAD_SUCCESS_LABEL),BACKGROUND_IMAGE_SUCCESS_TYPE); + yon_ubl_status_box_render(LOCAL_LOAD_SUCCESS_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE); main_config.load_mode=YON_CONFIG_LOCAL; yon_interface_update(widgets); } void on_config_global_load(GtkWidget *,main_window *widgets){ yon_load_proceed(YON_CONFIG_GLOBAL); - yon_ubl_status_box_render(yon_char_get_localised_from_lib(GLOBAL_LOAD_SUCCESS_LABEL),BACKGROUND_IMAGE_SUCCESS_TYPE); + yon_ubl_status_box_render(GLOBAL_LOAD_SUCCESS_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE); main_config.load_mode=YON_CONFIG_GLOBAL; yon_interface_update(widgets); } void on_config_custom_load(GtkWidget *,main_window *widgets){ yon_load_proceed(YON_CONFIG_CUSTOM); - yon_ubl_status_box_render(yon_char_get_localised_from_lib(LOCAL_LOAD_SUCCESS_LABEL),BACKGROUND_IMAGE_SUCCESS_TYPE); + yon_ubl_status_box_render(LOCAL_LOAD_SUCCESS_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE); main_config.load_mode=YON_CONFIG_CUSTOM; yon_interface_update(widgets); } @@ -60,9 +60,7 @@ void yon_load_proceed(YON_CONFIG_TYPE type){ yon_config_load_config(type,config_get_command("system"),NULL); } else if (type==YON_CONFIG_CUSTOM){ char *path=""; - textdomain(template_ui_LocaleName); GtkWidget *dialog = gtk_file_chooser_dialog_new(template_app_information.app_title,NULL,GTK_FILE_CHOOSER_ACTION_SAVE,CANCEL_LABEL,GTK_RESPONSE_CANCEL,OPEN_LABEL,GTK_RESPONSE_ACCEPT,NULL); - textdomain(LocaleName); gtk_window_set_icon_name(GTK_WINDOW(dialog),"com.ublinux.ubl-settings-services"); gtk_window_set_title(GTK_WINDOW(dialog),TITLE_LABEL); GtkFileFilter *filter = gtk_file_filter_new(); diff --git a/source/ubl-settings-update.c b/source/ubl-settings-update.c index b99852f..abff832 100644 --- a/source/ubl-settings-update.c +++ b/source/ubl-settings-update.c @@ -11,7 +11,6 @@ void on_save_done(main_window *, config_str output, int size){ free(final_output); } yon_char_parsed_free(output,size); - textdomain(template_ui_LocaleName); switch (main_config.save_config){ case 0: yon_ubl_status_box_render(GLOBAL_SAVE_SUCCESS_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE); @@ -23,7 +22,6 @@ void on_save_done(main_window *, config_str output, int size){ yon_ubl_status_box_render(GLOBAL_LOCAL_SAVE_SUCCESS_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE); break; } - textdomain(LocaleName); // yon_config_set_ignore(REPOSITORY_parameter); } @@ -1495,7 +1493,7 @@ int main(int argc, char *argv[]){ setlocale(LC_ALL, ""); textdomain (LocaleName); config_init(); - + yon_ubl_connect_config((_template_config*)&main_config); yon_ubl_window_init(TITLE_LABEL,TITLE_INFO_LABEL,LocaleName,CssPath,LocaleName,version_application,WIKI_LINK); config_str unfound = NULL; @@ -1509,9 +1507,7 @@ int main(int argc, char *argv[]){ char *path = yon_char_unite(yon_ubl_user_get_home_directory(),"/.config/",LocaleName,"/",LocaleName,".conf",NULL); yon_window_config_load(path); if (getuid()!=0){ - textdomain(template_ui_LocaleName); yon_ubl_status_box_render(ROOT_WARNING_LABEL,BACKGROUND_IMAGE_FAIL_TYPE); - textdomain(LocaleName); } gtk_main(); return 0; diff --git a/ubl-settings-update-ftp-publication.glade b/ubl-settings-update-ftp-publication.glade index e870698..7ccf937 100644 --- a/ubl-settings-update-ftp-publication.glade +++ b/ubl-settings-update-ftp-publication.glade @@ -13,7 +13,7 @@ 65535 - 8080 + 21 1 10 -- 2.35.1 From e73fc861ff34890d81966195e5ddf969d6a3f5ff Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Tue, 27 Jan 2026 10:19:17 +0600 Subject: [PATCH 08/18] Fixed ftp port --- ubl-settings-update-ftp-publication.glade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubl-settings-update-ftp-publication.glade b/ubl-settings-update-ftp-publication.glade index 7ccf937..502a6e0 100644 --- a/ubl-settings-update-ftp-publication.glade +++ b/ubl-settings-update-ftp-publication.glade @@ -225,7 +225,7 @@ False True adjustment1 - 8080 + 20.99999999977648 False -- 2.35.1 From e19d029d043dd391cd76edd5d34ff46026fe84f1 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Tue, 27 Jan 2026 10:21:08 +0600 Subject: [PATCH 09/18] Fixed ftp port --- ubl-settings-update-ftp-publication.glade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubl-settings-update-ftp-publication.glade b/ubl-settings-update-ftp-publication.glade index 502a6e0..8ad3da1 100644 --- a/ubl-settings-update-ftp-publication.glade +++ b/ubl-settings-update-ftp-publication.glade @@ -225,7 +225,7 @@ False True adjustment1 - 20.99999999977648 + 21 False -- 2.35.1 From 5de350d0f9e475b5ff77abd559d282f60ae319c3 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Tue, 27 Jan 2026 15:45:47 +0600 Subject: [PATCH 10/18] Wiki ling changed --- locale/ubl-settings-update.pot | 4 ++++ locale/ubl-settings-update_ru.po | 4 ++++ source/ubl-settings-update.h | 1 - source/ubl-strings.h | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/locale/ubl-settings-update.pot b/locale/ubl-settings-update.pot index 6bff029..89c7071 100644 --- a/locale/ubl-settings-update.pot +++ b/locale/ubl-settings-update.pot @@ -17,6 +17,10 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#: source/ubl-strings.h:3 +msgid "https://wiki.ublinux.com/software/programs_and_utilities/all/ubl-settings-update" +msgstr "" + #: source/ubl-strings.h:4 source/ubl-strings.h:55 msgid "System update" msgstr "" diff --git a/locale/ubl-settings-update_ru.po b/locale/ubl-settings-update_ru.po index d1995ea..bf4de2e 100644 --- a/locale/ubl-settings-update_ru.po +++ b/locale/ubl-settings-update_ru.po @@ -17,6 +17,10 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#: source/ubl-strings.h:3 +msgid "https://wiki.ublinux.com/software/programs_and_utilities/all/ubl-settings-update" +msgstr "" + #: source/ubl-strings.h:4 source/ubl-strings.h:55 msgid "System update" msgstr "Обновление системы" diff --git a/source/ubl-settings-update.h b/source/ubl-settings-update.h index 1126c16..946bfe4 100644 --- a/source/ubl-settings-update.h +++ b/source/ubl-settings-update.h @@ -18,7 +18,6 @@ #endif #include "ubl-strings.h" -#define WIKI_LINK "https://wiki.ublinux.ru/software/programs_and_utilities/all/ubl-settings-update" #define _(String) gettext(String) diff --git a/source/ubl-strings.h b/source/ubl-strings.h index e859d20..4bb59d0 100644 --- a/source/ubl-strings.h +++ b/source/ubl-strings.h @@ -1,5 +1,6 @@ #ifndef UBL_SETTINGS_UPDATE_STRINGS #define UBL_SETTINGS_UPDATE_STRINGS +#define WIKI_LINK _("https://wiki.ublinux.com/software/programs_and_utilities/all/ubl-settings-update") #define TITLE_LABEL _("System update") #define TITLE_INFO_LABEL _("System update settings management") -- 2.35.1 From b2d78fa27832ce9a1fea10281efa33944983be89 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Tue, 27 Jan 2026 16:03:07 +0600 Subject: [PATCH 11/18] Wiki ling changed --- locale/ubl-settings-update_ru.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/ubl-settings-update_ru.po b/locale/ubl-settings-update_ru.po index bf4de2e..49c3d06 100644 --- a/locale/ubl-settings-update_ru.po +++ b/locale/ubl-settings-update_ru.po @@ -19,7 +19,7 @@ msgstr "" #: source/ubl-strings.h:3 msgid "https://wiki.ublinux.com/software/programs_and_utilities/all/ubl-settings-update" -msgstr "" +msgstr "https://wiki.ublinux.com/ru/software/programs_and_utilities/all/ubl-settings-update" #: source/ubl-strings.h:4 source/ubl-strings.h:55 msgid "System update" -- 2.35.1 From 9108060d282a1f57d6a31066ac2b7c123acaa450 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Wed, 28 Jan 2026 15:50:53 +0600 Subject: [PATCH 12/18] Fixed ftp saving --- source/ubl-settings-update-ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ubl-settings-update-ftp.c b/source/ubl-settings-update-ftp.c index 411ac9f..33c9a40 100644 --- a/source/ubl-settings-update-ftp.c +++ b/source/ubl-settings-update-ftp.c @@ -47,7 +47,7 @@ void on_ftp_accept(GtkWidget *, ftp_window *window){ yon_char_return_if_exist(port,""), yon_char_return_if_exist(user,""), NULL); - char *parameter_string = yon_char_parsed_to_string(parameters,size,":"); + char *parameter_string = yon_char_parsed_to_string_full(parameters,size,":"); char *parameter_name = REPOPUBLIC_FTP(id_string); char *parameter_command = REPOPUBLIC_FTP_command(id_string); -- 2.35.1 From 3e73e6e8311a3f988a3e02ea8d469486b08267d2 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Thu, 29 Jan 2026 11:43:17 +0600 Subject: [PATCH 13/18] Test fix for ftp loading --- source/ubl-settings-update.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/ubl-settings-update.c b/source/ubl-settings-update.c index abff832..5986c72 100644 --- a/source/ubl-settings-update.c +++ b/source/ubl-settings-update.c @@ -523,7 +523,10 @@ void yon_interface_update(main_window *widgets){ char *parameter_name = yon_char_divide_search(parameter_string,"=",-1); char *key = yon_config_parameter_get_key(parameter_name); char *repos = yon_char_replace(key,",","\n"); - char *storage = yon_char_divide_search(repos,":",-1); + char *storage = NULL; + if (strstr(repos,":")){ + storage = yon_char_divide_search(repos,":",-1); + } int parsed_size; config_str parsed = yon_char_parse(parameter_string,&parsed_size,":"); -- 2.35.1 From de33f2fd22dcee1da7c0ea300a65e3adfd94e028 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Thu, 29 Jan 2026 11:53:34 +0600 Subject: [PATCH 14/18] Test fix for ftp loading --- source/ubl-settings-update.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/ubl-settings-update.c b/source/ubl-settings-update.c index 5986c72..4c6230b 100644 --- a/source/ubl-settings-update.c +++ b/source/ubl-settings-update.c @@ -526,6 +526,9 @@ void yon_interface_update(main_window *widgets){ char *storage = NULL; if (strstr(repos,":")){ storage = yon_char_divide_search(repos,":",-1); + } else { + storage = repos; + repos = NULL; } int parsed_size; -- 2.35.1 From c49d79a76aecadefd1c81e296f704f1cc02c4e9f Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Fri, 30 Jan 2026 13:52:07 +0600 Subject: [PATCH 15/18] Test wayland socket fix --- source/ubl-settings-update.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/ubl-settings-update.c b/source/ubl-settings-update.c index 4c6230b..ef5ab6b 100644 --- a/source/ubl-settings-update.c +++ b/source/ubl-settings-update.c @@ -1497,6 +1497,7 @@ void yon_main_window_complete(main_window *widgets){ int main(int argc, char *argv[]){ setlocale(LC_ALL, ""); + g_setenv("GDK_BACKEND","x11",1); textdomain (LocaleName); config_init(); -- 2.35.1 From 3e5d645e5fdea140b54b4d48a85c159bed2b79d1 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Mon, 2 Feb 2026 17:52:26 +0600 Subject: [PATCH 16/18] Changed wiki link --- locale/ubl-settings-update.pot | 2 +- locale/ubl-settings-update_ru.po | 2 +- source/ubl-strings.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/locale/ubl-settings-update.pot b/locale/ubl-settings-update.pot index 89c7071..10a4ded 100644 --- a/locale/ubl-settings-update.pot +++ b/locale/ubl-settings-update.pot @@ -18,7 +18,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #: source/ubl-strings.h:3 -msgid "https://wiki.ublinux.com/software/programs_and_utilities/all/ubl-settings-update" +msgid "https://wiki.ublinux.com/en/software/programs_and_utilities/all/ubl-settings-update" msgstr "" #: source/ubl-strings.h:4 source/ubl-strings.h:55 diff --git a/locale/ubl-settings-update_ru.po b/locale/ubl-settings-update_ru.po index 49c3d06..0403b4b 100644 --- a/locale/ubl-settings-update_ru.po +++ b/locale/ubl-settings-update_ru.po @@ -18,7 +18,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #: source/ubl-strings.h:3 -msgid "https://wiki.ublinux.com/software/programs_and_utilities/all/ubl-settings-update" +msgid "https://wiki.ublinux.com/en/software/programs_and_utilities/all/ubl-settings-update" msgstr "https://wiki.ublinux.com/ru/software/programs_and_utilities/all/ubl-settings-update" #: source/ubl-strings.h:4 source/ubl-strings.h:55 diff --git a/source/ubl-strings.h b/source/ubl-strings.h index 4bb59d0..ae5660a 100644 --- a/source/ubl-strings.h +++ b/source/ubl-strings.h @@ -1,6 +1,6 @@ #ifndef UBL_SETTINGS_UPDATE_STRINGS #define UBL_SETTINGS_UPDATE_STRINGS -#define WIKI_LINK _("https://wiki.ublinux.com/software/programs_and_utilities/all/ubl-settings-update") +#define WIKI_LINK _("https://wiki.ublinux.com/en/software/programs_and_utilities/all/ubl-settings-update") #define TITLE_LABEL _("System update") #define TITLE_INFO_LABEL _("System update settings management") -- 2.35.1 From 6c335f32215645ccc96069d2c17291bb2e37e715 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Thu, 5 Feb 2026 10:25:54 +0600 Subject: [PATCH 17/18] Fixed crash --- source/ubl-settings-update-ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ubl-settings-update-ftp.c b/source/ubl-settings-update-ftp.c index 33c9a40..f8c5c00 100644 --- a/source/ubl-settings-update-ftp.c +++ b/source/ubl-settings-update-ftp.c @@ -184,7 +184,7 @@ void on_ftp_remove(GtkWidget *,main_window *widgets){ yon_config_remove_by_key(parameter); free(parameter); free(parameter_key); - free(repos_replaced); + if (!yon_char_is_empty(repos_replaced)) free(repos_replaced); yon_interface_update(widgets); } } -- 2.35.1 From e6cc129a55d6694f50175e87a378ef776c7d6676 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Thu, 5 Feb 2026 10:34:31 +0600 Subject: [PATCH 18/18] Fixed ftp remove --- source/ubl-settings-update-ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ubl-settings-update-ftp.c b/source/ubl-settings-update-ftp.c index f8c5c00..a1ff3a1 100644 --- a/source/ubl-settings-update-ftp.c +++ b/source/ubl-settings-update-ftp.c @@ -179,7 +179,7 @@ void on_ftp_remove(GtkWidget *,main_window *widgets){ char *repos; gtk_tree_model_get(model,&iter,1,&storage,2,&repos,-1); char *repos_replaced = yon_char_replace(repos,"\n",","); - char *parameter_key = yon_char_unite(storage,":",repos_replaced,NULL); + char *parameter_key = yon_char_unite(storage,!yon_char_is_empty(repos_replaced)?":":NULL,repos_replaced,NULL); char *parameter = REPOPUBLIC_FTP(parameter_key); yon_config_remove_by_key(parameter); free(parameter); -- 2.35.1