* Now we set the proper initial value of paneds to be a float. This way
authorJose Dapena Paz <jdapena@igalia.com>
Thu, 9 Oct 2008 11:12:59 +0000 (11:12 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Thu, 9 Oct 2008 11:12:59 +0000 (11:12 +0000)
  the initial position of the paned in fremantle is the expected one.

pmo-trunk-r5983

src/modest-init.c

index 976c2e2..7797e95 100644 (file)
@@ -429,7 +429,7 @@ init_header_columns (ModestConf *conf, gboolean overwrite)
        /* if we're not in overwrite mode, only write stuff it
         * there was nothing before */
        if (overwrite || !modest_conf_key_exists(conf, key, NULL)) 
-               modest_conf_set_int (conf, key, MODEST_MAIN_PANED_POS_PERCENTAGE, NULL);
+               modest_conf_set_float (conf, key, MODEST_MAIN_PANED_POS_PERCENTAGE, NULL);
        
        g_free (key);
 
@@ -438,7 +438,7 @@ init_header_columns (ModestConf *conf, gboolean overwrite)
        /* if we're not in overwrite mode, only write stuff it
         * there was nothing before */
        if (overwrite || !modest_conf_key_exists(conf, key, NULL)) 
-               modest_conf_set_int (conf, key, MODEST_MSG_PANED_POS_PERCENTAGE, NULL);
+               modest_conf_set_float (conf, key, MODEST_MSG_PANED_POS_PERCENTAGE, NULL);
        
        g_free (key);
        return TRUE;