From 59a0ced0a6853816df3afe4cd65b77c843410d83 Mon Sep 17 00:00:00 2001 From: Orson Date: Fri, 14 Mar 2014 21:32:25 +0100 Subject: [PATCH] Corrected the error message about required OpenGL version for GAL. Fixed pcb_calculator .desktop file. --- common/gal/opengl/opengl_gal.cpp | 4 ++-- resources/linux/mime/applications/pcbcalculator.desktop | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/gal/opengl/opengl_gal.cpp b/common/gal/opengl/opengl_gal.cpp index f9cccbd365..0884ed2345 100644 --- a/common/gal/opengl/opengl_gal.cpp +++ b/common/gal/opengl/opengl_gal.cpp @@ -941,11 +941,11 @@ void OPENGL_GAL::initGlew() // Check the OpenGL version (minimum 2.1 is required) if( GLEW_VERSION_2_1 ) { - wxLogInfo( wxT( "OpenGL Version 2.1 supported." ) ); + wxLogInfo( wxT( "OpenGL 2.1 supported." ) ); } else { - DisplayError( parentWindow, wxT( "OpenGL Version 2.1 is not supported!" ) ); + DisplayError( parentWindow, wxT( "OpenGL 2.1 or higher is required!" ) ); exit( 1 ); } diff --git a/resources/linux/mime/applications/pcbcalculator.desktop b/resources/linux/mime/applications/pcbcalculator.desktop index 7c449f3fef..4ae5e3e841 100644 --- a/resources/linux/mime/applications/pcbcalculator.desktop +++ b/resources/linux/mime/applications/pcbcalculator.desktop @@ -2,7 +2,7 @@ [Desktop Entry] Categories=Development;Electronics Comment=Design a printed circuit board -Exec=pcbcalculator +Exec=pcb_calculator GenericName=EDA Suite Icon=pcbcalculator MimeType=application/x-pcbcalculator-project;