Bug #1997 » 1997_Main.patch
| client/gui-gtk-3.22/menu.c | ||
|---|---|---|
|
static void help_overview_callback(GtkMenuItem *item, gpointer data);
|
||
|
static void help_playing_callback(GtkMenuItem *item, gpointer data);
|
||
|
static void help_policies_callback(GtkMenuItem *item, gpointer data);
|
||
|
static void help_counters_callback(GtkMenuItem *item, gpointer data);
|
||
|
static void help_terrain_callback(GtkMenuItem *item, gpointer data);
|
||
|
static void help_economy_callback(GtkMenuItem *item, gpointer data);
|
||
|
static void help_cities_callback(GtkMenuItem *item, gpointer data);
|
||
| ... | ... | |
|
G_CALLBACK(help_playing_callback), MGROUP_SAFE },
|
||
|
{ "HELP_POLICIES", N_("Policies"), 0, 0,
|
||
|
G_CALLBACK(help_policies_callback), MGROUP_SAFE },
|
||
|
{ "HELP_COUNTERS", N_("Counters"), 0, 0,
|
||
|
G_CALLBACK(help_counters_callback), MGROUP_SAFE },
|
||
|
{ "HELP_TERRAIN", N_("Terrain"), 0, 0,
|
||
|
G_CALLBACK(help_terrain_callback), MGROUP_SAFE },
|
||
|
{ "HELP_ECONOMY", N_("Economy"), 0, 0,
|
||
| ... | ... | |
|
/************************************************************************//**
|
||
|
Item "HELP_POLICIES" callback.
|
||
|
Multipliers (aka policies)
|
||
|
****************************************************************************/
|
||
|
static void help_policies_callback(GtkMenuItem *item, gpointer data)
|
||
|
{
|
||
|
popup_help_dialog_string(HELP_MULTIPLIER_ITEM);
|
||
|
}
|
||
|
/************************************************************************//**
|
||
|
Item "HELP_COUNTERS" callback.
|
||
|
****************************************************************************/
|
||
|
static void help_counters_callback(GtkMenuItem *item, gpointer data)
|
||
|
{
|
||
|
popup_help_dialog_string(HELP_COUNTER_ITEM);
|
||
|
}
|
||
|
/************************************************************************//**
|
||
|
Item "HELP_CONNECTING" callback.
|
||
|
****************************************************************************/
|
||
| data/gtk3.22_menus.xml | ||
|---|---|---|
|
<child>
|
||
|
<object class="GtkMenuItem" id="HELP_COMBAT" />
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkMenuItem" id="HELP_COUNTERS" />
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkMenuItem" id="HELP_ZOC" />
|
||
|
</child>
|
||