diff options
Diffstat (limited to 'src/app.c')
-rw-r--r-- | src/app.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -139,6 +139,12 @@ static void init_App_(iApp *d, int argc, char **argv) { | |||
139 | loadPrefs_App_(d); | 139 | loadPrefs_App_(d); |
140 | d->window = new_Window(); | 140 | d->window = new_Window(); |
141 | /* Widget state init. */ { | 141 | /* Widget state init. */ { |
142 | iString *homePath = newCStr_String(dataDir_App_); | ||
143 | clean_Path(homePath); | ||
144 | append_Path(homePath, &iStringLiteral("home.gmi")); | ||
145 | prependCStr_String(homePath, "file://"); | ||
146 | setUrl_DocumentWidget(findWidget_App("document"), homePath); | ||
147 | delete_String(homePath); | ||
142 | } | 148 | } |
143 | } | 149 | } |
144 | 150 | ||