From e8b0acfd962064bee26231315224636a7b074a47 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Mon, 27 Oct 2025 10:43:26 +0600 Subject: [PATCH] Fixed wiki link --- source/ubinstall-gtk-page-switch.c | 6 ++++-- source/ubinstall-gtk.c | 2 +- source/ubinstall-gtk.h | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/source/ubinstall-gtk-page-switch.c b/source/ubinstall-gtk-page-switch.c index 52522d9..e493db7 100644 --- a/source/ubinstall-gtk-page-switch.c +++ b/source/ubinstall-gtk-page-switch.c @@ -29,13 +29,15 @@ enum YON_PAGES yon_page_get_next(main_window *widgets, enum YON_PAGES page){ case YON_PAGE_RECOVERY_GRUB_UPDATE: return main_config.configure_mode?YON_PAGE_INSTALLATION:YON_PAGE_INSTALLATION_BEGIN; break; case YON_PAGE_RECOVERY_OS_ONLY: return main_config.configure_mode?YON_PAGE_INSTALLATION:YON_PAGE_INSTALLATION_BEGIN; break; case YON_PAGE_RECOVERY_USRDATA_ONLY: return main_config.configure_mode?YON_PAGE_INSTALLATION:YON_PAGE_INSTALLATION_BEGIN; break; - // case YON_PAGE_COMPLETED: + case YON_PAGE_INSTALLATION: break; + case YON_PAGE_CONFIGURE_SAVE: break; + case YON_PAGE_COMPLETED: case YON_PAGE_INSTALL_ERROR: case YON_PAGE_CONFIGURE_END: case YON_PAGE_COMPLETION: on_reboot_accepted(widgets); break; - default:return YON_PAGE_WELCOME; + // default:return YON_PAGE_WELCOME; } return YON_PAGE_WELCOME; } diff --git a/source/ubinstall-gtk.c b/source/ubinstall-gtk.c index 272ff51..111db04 100644 --- a/source/ubinstall-gtk.c +++ b/source/ubinstall-gtk.c @@ -1065,7 +1065,7 @@ void yon_main_window_create(main_window *widgets){ g_signal_connect(G_OBJECT(widgets->AdvancedVirtualDeviceCombo),"changed",G_CALLBACK(on_advanced_virtual_device_changed),widgets); g_signal_connect(G_OBJECT(widgets->AboutMenuItem),"activate",G_CALLBACK(on_about),widgets); - g_signal_connect(G_OBJECT(widgets->DocumentationMenuItem),"activate",G_CALLBACK(on_open_documentation_confirmation),widgets); + g_signal_connect(G_OBJECT(widgets->DocumentationMenuItem),"activate",G_CALLBACK(on_open_documentation_confirmation),WIKI_LINK); gtk_tree_model_filter_set_visible_func(GTK_TREE_MODEL_FILTER(widgets->InstallerCountryFilter),(GtkTreeModelFilterVisibleFunc)on_country_filter,widgets,NULL); { diff --git a/source/ubinstall-gtk.h b/source/ubinstall-gtk.h index 390cd35..61bf5ce 100755 --- a/source/ubinstall-gtk.h +++ b/source/ubinstall-gtk.h @@ -17,7 +17,7 @@ #endif #include "ubl-strings.h" -#define WIKI_LINK "https://wiki.ublinux.ru/ru/Программное_обеспечение/Программы_и_утилиты/Все/ubinstall-gtk" +#define WIKI_LINK "https://wiki.ublinux.com/Software/Programs_and_utilities/All/ubinstall-gtk" #define _(String) gettext(String)