85 RESET_DEFAULT(player_joins_sound, player_joins_notif, player_joins_lobby)
86 RESET_DEFAULT(player_leaves_sound, player_leaves_notif, player_leaves_lobby)
87 RESET_DEFAULT(private_message_sound, private_message_notif, private_message_lobby)
88 RESET_DEFAULT(friend_message_sound, friend_message_notif, friend_message_lobby)
89 RESET_DEFAULT(public_message_sound, public_message_notif, public_message_lobby)
90 RESET_DEFAULT(server_message_sound, server_message_notif, server_message_lobby)
91 RESET_DEFAULT(ready_for_start_sound, ready_for_start_notif, ready_for_start_lobby)
92 RESET_DEFAULT(game_has_begun_sound, game_has_begun_notif, game_has_begun_lobby)
93 RESET_DEFAULT(turn_changed_notif, turn_changed_notif, turn_changed_lobby)
94 RESET_DEFAULT(game_created_sound, game_created_notif, game_created_lobby)
106 SETUP_ITEMS(player_joins_sound, player_joins_notif, player_joins_lobby)
107 SETUP_ITEMS(player_leaves_sound, player_leaves_notif, player_leaves_lobby)
108 SETUP_ITEMS(private_message_sound, private_message_notif, private_message_lobby)
109 SETUP_ITEMS(friend_message_sound, friend_message_notif, friend_message_lobby)
110 SETUP_ITEMS(public_message_sound, public_message_notif, public_message_lobby)
111 SETUP_ITEMS(server_message_sound, server_message_notif, server_message_lobby)
112 SETUP_ITEMS(ready_for_start_sound, ready_for_start_notif, ready_for_start_lobby)
113 SETUP_ITEMS(game_has_begun_sound, game_has_begun_notif, game_has_begun_lobby)
114 SETUP_ITEMS(turn_changed_notif, turn_changed_notif, turn_changed_lobby)
115 SETUP_ITEMS(game_created_sound, game_created_notif, game_created_lobby)
118 label* nlabel = find_widget<label>(
"notification_label",
false,
true);
119 nlabel->
set_tooltip(
_(
"This build of wesnoth does not include support for desktop notifications, contact your package manager"));
123 in_lobby = find_widget<toggle_button>(prefs_list::ready_for_start_lobby,
false,
true);
126 in_lobby = find_widget<toggle_button>(prefs_list::game_has_begun_lobby,
false,
true);
129 in_lobby = find_widget<toggle_button>(prefs_list::turn_changed_sound,
false,
true);
132 in_lobby = find_widget<toggle_button>(prefs_list::turn_changed_lobby,
false,
true);
135 button& defaults = find_widget<button>(
"revert_to_defaults");
static std::string _(const char *str)