25
25
#include <kapplication.h>
26
26
#include <kaboutdata.h>
27
27
#include <kcmdlineargs.h>
30
31
#include "kgrubeditor.h"
32
34
int main( int argc, char **argv )
34
KAboutData about( "kgrubeditor", 0, ki18n( "KGRUBEditor" ), "0.5", ki18n( "A KDE utility, that edits GRUB's configuration files through an inituitive user interface." ), KAboutData::License_GPL, ki18n( "Copyright (C) 2008 Konstantinos Smanis" ), KLocalizedString(), "http://sourceforge.net/projects/kgrubeditor", "kon.smanis@gmail.com" );
35
about.addAuthor( ki18n( "Κonstantinos Smanis" ), ki18n( "Head Developer" ), "kon.smanis@gmail.com" );
36
KAboutData about( "kgrubeditor", 0, ki18n( "KGRUBEditor" ), "0.7", ki18n( "A KDE utility, that edits GRUB's configuration files through an inituitive user interface." ), KAboutData::License_GPL, ki18n( "Copyright (C) 2008 Konstantinos Smanis" ), KLocalizedString(), "http://sourceforge.net/projects/kgrubeditor", "kon.smanis@gmail.com" );
37
about.addAuthor( ki18n( "Κonstantinos Smanis" ), ki18n( "Developer" ), "kon.smanis@gmail.com" );
36
38
about.addCredit( ki18n( "Andreas Theodosiou" ), ki18n( "Application's Icon Graphics Designer" ), "andreasabu@gmail.com" );
37
39
about.addCredit( ki18n( "JimTB (nickname)" ), ki18n( "Miscellaneous help with the project" ), "jimaras@gmail.com" );
38
40
about.addCredit( ki18n( "prts_1 (nickname)" ), ki18n( "Tips concerning usability" ), "prts_1@e-pcmag.gr" );
39
41
KCmdLineArgs::init( argc, argv, &about );
43
KCmdLineOptions options;
44
options.add( "+[file]", ki18n( "GRUB's configuration file to be opened for this run only." ) );
45
KCmdLineArgs::addCmdLineOptions( options );
48
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
50
Settings::setMenulst( args->url( 0 ).url() );
42
51
KGRUBEditor *main_window = new KGRUBEditor;
44
53
if ( app.isSessionRestored() )