Moved config for default window size to config.def.h.
authorDaniel Carl <danielcarl@gmx.de>
Mon, 29 Jul 2013 18:17:30 +0000 (20:17 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Mon, 29 Jul 2013 18:17:30 +0000 (20:17 +0200)
Increased the default windo size to 800x600.

src/config.def.h
src/main.c

index 88f368b..4d3dc2f 100644 (file)
@@ -38,6 +38,9 @@
 
 #define MAXIMUM_HINTS              500
 
+#define WIN_WIDTH                  800
+#define WIN_HEIGHT                 600
+
 /* remove next line if the bookmark file fits to the new format "URL<tab>title of page<tab>tag1 tag2" */
 #define SHOW_ANNOUNCEMENT
 
index 6af9d72..441469c 100644 (file)
@@ -658,7 +658,7 @@ static void init_core(void)
     }
 
     GdkGeometry hints = {10, 10};
-    gtk_window_set_default_size(GTK_WINDOW(gui->window), 640, 480);
+    gtk_window_set_default_size(GTK_WINDOW(gui->window), WIN_WIDTH, WIN_HEIGHT);
     gtk_window_set_title(GTK_WINDOW(gui->window), "vimb");
     gtk_window_set_geometry_hints(GTK_WINDOW(gui->window), NULL, &hints, GDK_HINT_MIN_SIZE);
     gtk_window_set_icon(GTK_WINDOW(gui->window), NULL);