Skip to content

Commit 2dbc587

Browse files
author
Jan Kammerath
committed
fixed issue that custom view background and text color was not used from config file
1 parent 612b022 commit 2dbc587

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
class/
1+
class/
2+
*.swp

build/Gophie.jar

20 Bytes
Binary file not shown.

src/org/gophie/ui/MainWindow.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ public MainWindow() {
8686
this.frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
8787

8888
/* create the page view component object */
89-
this.pageView = new PageView(this,VIEW_TEXTCOLOR, VIEW_BACKGROUND);
89+
this.pageView = new PageView(this,
90+
configFile.getSetting("VIEW_TEXTCOLOR", "Appearance", VIEW_TEXTCOLOR),
91+
configFile.getSetting("VIEW_BACKGROUND", "Appearance", VIEW_BACKGROUND));
9092
this.pageView.addListener(this);
9193

9294
/* create the navigation bar */

0 commit comments

Comments
 (0)