39 fileName = "" |
40 fileName = "" |
40 |
41 |
41 editor = IconEditorWindow(fileName, None) |
42 editor = IconEditorWindow(fileName, None) |
42 return editor |
43 return editor |
43 |
44 |
|
45 |
44 def main(): |
46 def main(): |
45 """ |
47 """ |
46 Main entry point into the application. |
48 Main entry point into the application. |
47 """ |
49 """ |
48 options = [\ |
50 options = [\ |
49 ("--config=configDir", |
51 ("--config=configDir", |
50 "use the given directory as the one containing the config files"), |
52 "use the given directory as the one containing the config files"), |
51 ("", "name of file to edit") |
53 ("", "name of file to edit") |
52 ] |
54 ] |
53 appinfo = Startup.makeAppInfo(sys.argv, |
55 appinfo = Startup.makeAppInfo(sys.argv, |
54 "Eric5 Icon Editor", |
56 "Eric5 Icon Editor", |
55 "", |
57 "", |