'everything' fix bug when using not composite
authorHannes Janetzek <hannes.janetzek@gmail.com>
Tue, 20 Apr 2010 21:20:30 +0000 (21:20 +0000)
committerHannes Janetzek <hannes.janetzek@gmail.com>
Tue, 20 Apr 2010 21:20:30 +0000 (21:20 +0000)
SVN revision: 48186

src/modules/everything/e_mod_main.c
src/modules/everything/evry.c

index ff1fc81..1e6bce1 100644 (file)
@@ -261,7 +261,7 @@ _config_init()
        evry_conf->quick_nav = 1;
        evry_conf->cmd_terminal = eina_stringshare_add("/usr/bin/xterm");
        evry_conf->cmd_sudo = eina_stringshare_add("/usr/bin/gksudo --preserve-env");
-       evry_conf->view_mode = 0;
+       evry_conf->view_mode = VIEW_MODE_DETAIL;
        evry_conf->view_zoom = 0;
        evry_conf->cycle_mode = 0;
        evry_conf->history_sort_mode = 0;
index 3340226..f5ca007 100644 (file)
@@ -520,7 +520,7 @@ _evry_list_win_new(E_Zone *zone)
    E_Popup *popup;
    Evas_Object *o;
    const char *tmp;
-   int offset_x, offset_y, offset_s;
+   int offset_x, offset_y, offset_s = 0;
 
    if (!evry_conf->views) return NULL;