From: Thomas Debesse Date: Tue, 11 Jul 2017 03:34:28 +0000 (+0200) Subject: remove "Check for updates" menu entry, fix #28" X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=commitdiff_plain;h=586f4c520c9e451697d91135833be6646f902f2b remove "Check for updates" menu entry, fix #28" --- diff --git a/radiant/mainframe.cpp b/radiant/mainframe.cpp index b86d69ec..8abd6e2a 100644 --- a/radiant/mainframe.cpp +++ b/radiant/mainframe.cpp @@ -955,11 +955,6 @@ void thunk_OnSleep(){ g_pParentWnd->OnSleep(); } -void OpenUpdateURL(){ - OpenURL( "https://gitlab.com/xonotic/netradiant/tags" ); -} - -// open the Q3Rad manual void OpenHelpURL(){ OpenURL( "https://gitlab.com/xonotic/xonotic/wikis/Mapping" ); } @@ -1832,7 +1827,6 @@ GtkMenuItem* create_file_menu(){ menu_separator( menu ); MRU_constructMenu( menu ); menu_separator( menu ); - create_menu_item_with_mnemonic( menu, "Check for NetRadiant update", "CheckForUpdate" ); // FIXME create_menu_item_with_mnemonic( menu, "E_xit", "Exit" ); return file_menu_item; @@ -3192,7 +3186,6 @@ void MainFrame_Construct(){ GlobalCommands_insert( "SaveRegion", FreeCaller() ); GlobalCommands_insert( "RefreshReferences", FreeCaller() ); GlobalCommands_insert( "ProjectSettings", FreeCaller() ); - GlobalCommands_insert( "CheckForUpdate", FreeCaller() ); GlobalCommands_insert( "Exit", FreeCaller() ); GlobalCommands_insert( "Undo", FreeCaller(), Accelerator( 'Z', (GdkModifierType)GDK_CONTROL_MASK ) );