Project

General

Profile

Feature #428 » 0065-gtk-Use-long-form-of-wonder-report-when-possible.patch

main - Marko Lindqvist, 04/08/2024 04:31 AM

View differences:

client/gui-gtk-3.22/menu.c
****************************************************************************/
static void report_wow_callback(GtkMenuItem *item, gpointer data)
{
send_report_request(REPORT_WONDERS_OF_THE_WORLD);
if (GUI_GTK_OPTION(message_chat_location) == GUI_GTK_MSGCHAT_MERGED) {
send_report_request(REPORT_WONDERS_OF_THE_WORLD_LONG);
} else {
send_report_request(REPORT_WONDERS_OF_THE_WORLD);
}
}
/************************************************************************//**
client/gui-gtk-4.0/menu.c
GVariant *parameter,
gpointer data)
{
send_report_request(REPORT_WONDERS_OF_THE_WORLD);
if (GUI_GTK_OPTION(message_chat_location) == GUI_GTK_MSGCHAT_MERGED) {
send_report_request(REPORT_WONDERS_OF_THE_WORLD_LONG);
} else {
send_report_request(REPORT_WONDERS_OF_THE_WORLD);
}
}
/************************************************************************//**
client/gui-gtk-5.0/menu.c
GVariant *parameter,
gpointer data)
{
send_report_request(REPORT_WONDERS_OF_THE_WORLD);
if (GUI_GTK_OPTION(message_chat_location) == GUI_GTK_MSGCHAT_MERGED) {
send_report_request(REPORT_WONDERS_OF_THE_WORLD_LONG);
} else {
send_report_request(REPORT_WONDERS_OF_THE_WORLD);
}
}
/************************************************************************//**
(1-1/2)