diff options
-rw-r--r-- | src/app.c | 25 | ||||
-rw-r--r-- | src/prefs.c | 2 | ||||
-rw-r--r-- | src/ui/window.c | 2 |
3 files changed, 11 insertions, 18 deletions
@@ -354,7 +354,9 @@ static void init_App_(iApp *d, int argc, char **argv) { | |||
354 | d->launchCommands = new_StringList(); | 354 | d->launchCommands = new_StringList(); |
355 | iZap(d->lastDropTime); | 355 | iZap(d->lastDropTime); |
356 | init_CommandLine(&d->args, argc, argv); | 356 | init_CommandLine(&d->args, argc, argv); |
357 | /* Where was the app started from? */ { | 357 | /* Where was the app started from? We ask SDL first because the command line alone is |
358 | not a reliable source of this information, particularly when it comes to different | ||
359 | operating systems. */ { | ||
358 | char *exec = SDL_GetBasePath(); | 360 | char *exec = SDL_GetBasePath(); |
359 | if (exec) { | 361 | if (exec) { |
360 | d->execPath = newCStr_String(concatPath_CStr( | 362 | d->execPath = newCStr_String(concatPath_CStr( |
@@ -411,25 +413,16 @@ static void init_App_(iApp *d, int argc, char **argv) { | |||
411 | if (isFirstRun) { | 413 | if (isFirstRun) { |
412 | /* Create the default bookmarks for a quick start. */ | 414 | /* Create the default bookmarks for a quick start. */ |
413 | add_Bookmarks(d->bookmarks, | 415 | add_Bookmarks(d->bookmarks, |
414 | collectNewCStr_String("gemini://gemini.circumlunar.space/"), | ||
415 | collectNewCStr_String("Project Gemini"), | ||
416 | NULL, | ||
417 | 0x264a /* Gemini symbol */); | ||
418 | add_Bookmarks(d->bookmarks, | ||
419 | collectNewCStr_String("gemini://gemini.circumlunar.space/capcom/"), | ||
420 | collectNewCStr_String("CAPCOM Geminispace aggregator"), | ||
421 | NULL, | ||
422 | 0x264a /* Gemini symbol */); | ||
423 | add_Bookmarks(d->bookmarks, | ||
424 | collectNewCStr_String("gemini://gus.guru/"), | ||
425 | collectNewCStr_String("GUS - Gemini Universal Search"), | ||
426 | NULL, | ||
427 | 0x2690); | ||
428 | add_Bookmarks(d->bookmarks, | ||
429 | collectNewCStr_String("gemini://skyjake.fi/lagrange/"), | 416 | collectNewCStr_String("gemini://skyjake.fi/lagrange/"), |
430 | collectNewCStr_String("Lagrange"), | 417 | collectNewCStr_String("Lagrange"), |
431 | NULL, | 418 | NULL, |
432 | 0x1f306); | 419 | 0x1f306); |
420 | add_Bookmarks(d->bookmarks, | ||
421 | collectNewCStr_String("gemini://skyjake.fi/lagrange/getting_started.gmi"), | ||
422 | collectNewCStr_String("Getting Started"), | ||
423 | collectNewCStr_String("remotesource"), | ||
424 | 0x1f306); | ||
425 | fetchRemote_Bookmarks(d->bookmarks); | ||
433 | } | 426 | } |
434 | #if defined (iHaveLoadEmbed) | 427 | #if defined (iHaveLoadEmbed) |
435 | /* Load the resources from a file. */ { | 428 | /* Load the resources from a file. */ { |
diff --git a/src/prefs.c b/src/prefs.c index ce32962b..fe755c63 100644 --- a/src/prefs.c +++ b/src/prefs.c | |||
@@ -39,7 +39,7 @@ void init_Prefs(iPrefs *d) { | |||
39 | d->headingFont = nunito_TextFont; | 39 | d->headingFont = nunito_TextFont; |
40 | d->monospaceGemini = iFalse; | 40 | d->monospaceGemini = iFalse; |
41 | d->monospaceGopher = iFalse; | 41 | d->monospaceGopher = iFalse; |
42 | d->lineWidth = 40; | 42 | d->lineWidth = 38; |
43 | d->bigFirstParagraph = iTrue; | 43 | d->bigFirstParagraph = iTrue; |
44 | d->quoteIcon = iTrue; | 44 | d->quoteIcon = iTrue; |
45 | d->docThemeDark = colorfulDark_GmDocumentTheme; | 45 | d->docThemeDark = colorfulDark_GmDocumentTheme; |
diff --git a/src/ui/window.c b/src/ui/window.c index 4b05d891..b198dd15 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -56,7 +56,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
56 | 56 | ||
57 | static iWindow *theWindow_ = NULL; | 57 | static iWindow *theWindow_ = NULL; |
58 | 58 | ||
59 | #if defined (iPlatformApple) | 59 | #if defined (iPlatformApple) || defined (iPlatformLinux) |
60 | static float initialUiScale_ = 1.0f; | 60 | static float initialUiScale_ = 1.0f; |
61 | #else | 61 | #else |
62 | static float initialUiScale_ = 1.1f; | 62 | static float initialUiScale_ = 1.1f; |