changeset 8:ab2998c07f18

enabled geometry in preferences
author jcid
date Sat, 13 Oct 2007 19:18:12 +0200
parents b552e3bce9fb
children d8dcfe0e7648
files ChangeLog src/uicmd.cc
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Oct 12 17:46:29 2007 +0000
+++ b/ChangeLog	Sat Oct 13 19:18:12 2007 +0200
@@ -32,7 +32,7 @@
  - Implemented Stop button to not only stop rendering but also networking.
    Patches: Jorge Arellano
 +- Connected signals to <li> elements (fixes links within lists).
- - Enabled text and background color-choice in preferences.
+ - Enabled text, background color and geometry in preferences.
  - Enabled clicking over image links.
  - Improved notification upon leaving links.
    Patches: place
--- a/src/uicmd.cc	Fri Oct 12 17:46:29 2007 +0000
+++ b/src/uicmd.cc	Sat Oct 13 19:18:12 2007 +0200
@@ -60,9 +60,9 @@
 BrowserWindow *a_UIcmd_browser_window_new(int ww, int wh)
 {
    if (ww <= 0 || wh <= 0) {
-      // TODO: set default geometry from dillorc.
-      ww = 780;
-      wh = 580;
+      // Set default geometry from dillorc.
+      ww = prefs.width;
+      wh = prefs.height;
    }
 
    // Create and set the UI