set better defaults
authorHannes Janetzek <hannes.janetzek@gmail.com>
Fri, 14 May 2010 06:49:20 +0000 (06:49 +0000)
committerHannes Janetzek <hannes.janetzek@gmail.com>
Fri, 14 May 2010 06:49:20 +0000 (06:49 +0000)
SVN revision: 48853

data/themes/default.edc
src/modules/everything/e_mod_main.c
src/modules/everything/e_mod_main.h
src/modules/everything/evry.c

index ee20370..55deec4 100644 (file)
@@ -32806,14 +32806,13 @@ collections {
            description {
               state: "default" 0.0;
               visible: 0;
-              min: 386 118;
+              min: 286 118;
               rel2.relative: 1.0 0.0;
               rel2.offset: -1 118;
            }
            description {
               state: "composite" 0.0;
               visible: 0;
-              min: 486 218;
               rel2.relative: 1.0 0.0;
               rel2.offset: -1 218;
            }
@@ -33035,7 +33034,7 @@ collections {
             description {
                state: "default" 0.0;
                visible: 0;
-               min: 400 255;
+               min: 300 155;
                rel1 {
                   to_y: "frame";
                   offset: 10 -3;
index bbf037f..af4abbc 100644 (file)
@@ -362,8 +362,8 @@ _config_init()
    IFMODCFG(0x0001);
    evry_conf->rel_x = 0.5;
    evry_conf->rel_y = 0.32;
-   evry_conf->width = 445;
-   evry_conf->height = 300;
+   evry_conf->width = 435;
+   evry_conf->height = 415;
    evry_conf->scroll_animate = 1;
    evry_conf->scroll_speed = 10.0;
    evry_conf->hide_input = 0;
@@ -375,7 +375,13 @@ _config_init()
    evry_conf->history_sort_mode = 0;
    evry_conf->first_run = EINA_TRUE;
    IFMODCFGEND;
-
+   
+   IFMODCFG(0x0002);
+   evry_conf->width = 435;
+   evry_conf->height = 415;
+   evry_conf->rel_y = 0.40;
+   IFMODCFGEND;
+   
    evry_conf->version = MOD_CONFIG_FILE_VERSION;
 }
 
index b63d78d..0a66258 100644 (file)
@@ -4,7 +4,7 @@
 #define E_MOD_MAIN_H
 
 #define MOD_CONFIG_FILE_EPOCH 0x0001
-#define MOD_CONFIG_FILE_GENERATION 0x0001
+#define MOD_CONFIG_FILE_GENERATION 0x0002
 #define MOD_CONFIG_FILE_VERSION                                        \
   ((MOD_CONFIG_FILE_EPOCH << 16) | MOD_CONFIG_FILE_GENERATION)
 
index 5514689..460f4aa 100644 (file)
@@ -670,14 +670,14 @@ _evry_window_new(E_Zone *zone)
 
    edje_object_size_min_calc(o, &mw, &mh);
 
+   evry_conf->min_w = mw;
    if (evry_conf->width > mw)
      mw = evry_conf->width;
-   evry_conf->width = mw;
 
    evry_conf->min_h = mh;
    if (evry_conf->height > mh)
      mh = evry_conf->height;
-
+     
    mw += offset_s*2;
    mh += offset_s*2;
    x = (zone->w * evry_conf->rel_x) - (mw / 2);