From a459d0a0868634fe91224e293a75d6d3c59744b8 Mon Sep 17 00:00:00 2001 From: deepend Date: Sat, 21 Feb 2026 19:16:31 -0700 Subject: [PATCH] fixed docs url, removed extra help menu. --- data/misc/net.zoite.Zoitechat.appdata.xml.in | 2 +- flatpak/net.zoite.Zoitechat.json | 2 +- src/common/outbound.c | 2 +- src/fe-gtk/menu.c | 4 +--- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/data/misc/net.zoite.Zoitechat.appdata.xml.in b/data/misc/net.zoite.Zoitechat.appdata.xml.in index 8c3280d6..7f9e1027 100644 --- a/data/misc/net.zoite.Zoitechat.appdata.xml.in +++ b/data/misc/net.zoite.Zoitechat.appdata.xml.in @@ -14,7 +14,7 @@ http://zoitechat.zoite.net https://github.com/zoitechat/zoitechat - https://zoitechat.zoite.net/docs + https://docs.zoitechat.zoite.net/en/latest/ https://zoitechat.zoite.net/assets/ZoiteChat.png diff --git a/flatpak/net.zoite.Zoitechat.json b/flatpak/net.zoite.Zoitechat.json index ba75b66a..4865d999 100644 --- a/flatpak/net.zoite.Zoitechat.json +++ b/flatpak/net.zoite.Zoitechat.json @@ -7,7 +7,7 @@ "command": "zoitechat", "finish-args": [ "--share=ipc", - "--socket=x11", + "--socket=wayland", "--share=network", "--socket=pulseaudio", "--filesystem=xdg-download", diff --git a/src/common/outbound.c b/src/common/outbound.c index 3a4d6a10..e166a672 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -4109,7 +4109,7 @@ const struct commands xc_cmds[] = { {"ME", cmd_me, 0, 0, 1, N_("ME , sends the action to the current channel (actions are written in the 3rd person, like /me jumps)")}, {"MENU", cmd_menu, 0, 0, 1, "MENU [-eX] [-i] [-k,] [-m] [-pX] [-r] [-tX] {ADD|DEL} [command] [unselect command]\n" - " See http://zoitechat.zoite.net/docs/en/latest/plugins.html#controlling-the-gui for more details."}, + " See https://docs.zoitechat.zoite.net/en/latest/en/latest/plugins.html#controlling-the-gui for more details."}, {"MHOP", cmd_mhop, 1, 1, 1, N_("MHOP, Mass hop's all users in the current channel (needs chanop)")}, {"MKICK", cmd_mkick, 1, 1, 1, diff --git a/src/fe-gtk/menu.c b/src/fe-gtk/menu.c index 3c1275b9..7999b3dd 100644 --- a/src/fe-gtk/menu.c +++ b/src/fe-gtk/menu.c @@ -1815,7 +1815,7 @@ menu_ctcpguiopen (void) static void menu_docs (GtkWidget *wid, gpointer none) { - fe_open_url ("http://zoitechat.zoite.net/docs"); + fe_open_url ("https://docs.zoitechat.zoite.net/en/latest/"); } /*static void @@ -2014,7 +2014,6 @@ menu_about (GtkWidget *wid, gpointer sess) #define ICON_FIND "zc-menu-find" #define ICON_HELP "zc-menu-help" #define ICON_ABOUT "zc-menu-about" -#define ICON_UPDATE "zc-menu-update" static struct mymenu mymenu[] = { {N_("_ZoiteChat"), 0, 0, M_NEWMENU, MENU_ID_ZOITECHAT, 0, 1}, @@ -2110,7 +2109,6 @@ static struct mymenu mymenu[] = { {N_("_Help"), 0, 0, M_NEWMENU, 0, 0, 1}, /* 74 */ {N_("_Contents"), menu_docs, ICON_HELP, M_MENUSTOCK, 0, 0, 1, GDK_KEY_F1}, - {N_("_Update"), menu_docs, ICON_UPDATE, M_MENUSTOCK, 0, 0, 1}, {N_("_About"), menu_about, ICON_ABOUT, M_MENUSTOCK, 0, 0, 1}, {0, 0, 0, M_END, 0, 0, 0},