|
@@ -608,11 +608,11 @@ void EditorNode::_notification(int p_what) {
|
|
p->set_item_icon(p->get_item_index(HELP_SEARCH), gui_base->get_icon("HelpSearch", "EditorIcons"));
|
|
p->set_item_icon(p->get_item_index(HELP_SEARCH), gui_base->get_icon("HelpSearch", "EditorIcons"));
|
|
p->set_item_icon(p->get_item_index(HELP_DOCS), gui_base->get_icon("Instance", "EditorIcons"));
|
|
p->set_item_icon(p->get_item_index(HELP_DOCS), gui_base->get_icon("Instance", "EditorIcons"));
|
|
p->set_item_icon(p->get_item_index(HELP_QA), gui_base->get_icon("Instance", "EditorIcons"));
|
|
p->set_item_icon(p->get_item_index(HELP_QA), gui_base->get_icon("Instance", "EditorIcons"));
|
|
- p->set_item_icon(p->get_item_index(HELP_ABOUT), gui_base->get_icon("Godot", "EditorIcons"));
|
|
|
|
p->set_item_icon(p->get_item_index(HELP_REPORT_A_BUG), gui_base->get_icon("Instance", "EditorIcons"));
|
|
p->set_item_icon(p->get_item_index(HELP_REPORT_A_BUG), gui_base->get_icon("Instance", "EditorIcons"));
|
|
p->set_item_icon(p->get_item_index(HELP_SEND_DOCS_FEEDBACK), gui_base->get_icon("Instance", "EditorIcons"));
|
|
p->set_item_icon(p->get_item_index(HELP_SEND_DOCS_FEEDBACK), gui_base->get_icon("Instance", "EditorIcons"));
|
|
p->set_item_icon(p->get_item_index(HELP_COMMUNITY), gui_base->get_icon("Instance", "EditorIcons"));
|
|
p->set_item_icon(p->get_item_index(HELP_COMMUNITY), gui_base->get_icon("Instance", "EditorIcons"));
|
|
p->set_item_icon(p->get_item_index(HELP_ABOUT), gui_base->get_icon("Godot", "EditorIcons"));
|
|
p->set_item_icon(p->get_item_index(HELP_ABOUT), gui_base->get_icon("Godot", "EditorIcons"));
|
|
|
|
+ p->set_item_icon(p->get_item_index(HELP_SUPPORT_GODOT_DEVELOPMENT), gui_base->get_icon("Heart", "EditorIcons"));
|
|
|
|
|
|
_update_update_spinner();
|
|
_update_update_spinner();
|
|
} break;
|
|
} break;
|
|
@@ -2887,6 +2887,9 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
|
|
case HELP_ABOUT: {
|
|
case HELP_ABOUT: {
|
|
about->popup_centered_minsize(Size2(780, 500) * EDSCALE);
|
|
about->popup_centered_minsize(Size2(780, 500) * EDSCALE);
|
|
} break;
|
|
} break;
|
|
|
|
+ case HELP_SUPPORT_GODOT_DEVELOPMENT: {
|
|
|
|
+ OS::get_singleton()->shell_open("https://godotengine.org/donate");
|
|
|
|
+ } break;
|
|
|
|
|
|
case SET_VIDEO_DRIVER_SAVE_AND_RESTART: {
|
|
case SET_VIDEO_DRIVER_SAVE_AND_RESTART: {
|
|
|
|
|
|
@@ -6562,6 +6565,7 @@ EditorNode::EditorNode() {
|
|
p->add_icon_shortcut(gui_base->get_icon("Instance", "EditorIcons"), ED_SHORTCUT("editor/community", TTR("Community")), HELP_COMMUNITY);
|
|
p->add_icon_shortcut(gui_base->get_icon("Instance", "EditorIcons"), ED_SHORTCUT("editor/community", TTR("Community")), HELP_COMMUNITY);
|
|
p->add_separator();
|
|
p->add_separator();
|
|
p->add_icon_shortcut(gui_base->get_icon("Godot", "EditorIcons"), ED_SHORTCUT("editor/about", TTR("About")), HELP_ABOUT);
|
|
p->add_icon_shortcut(gui_base->get_icon("Godot", "EditorIcons"), ED_SHORTCUT("editor/about", TTR("About")), HELP_ABOUT);
|
|
|
|
+ p->add_icon_shortcut(gui_base->get_icon("Heart", "EditorIcons"), ED_SHORTCUT("editor/support_development", TTR("Support Godot Development")), HELP_SUPPORT_GODOT_DEVELOPMENT);
|
|
|
|
|
|
HBoxContainer *play_hb = memnew(HBoxContainer);
|
|
HBoxContainer *play_hb = memnew(HBoxContainer);
|
|
menu_hb->add_child(play_hb);
|
|
menu_hb->add_child(play_hb);
|