Project

General

Profile

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

S3_2 - 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);
}
}
/************************************************************************//**
(2-2/2)