1262 |
gchar *path; |
gchar *path; |
1263 |
GString *tmpstr; |
GString *tmpstr; |
1264 |
|
|
1265 |
struct_mime_type_to_skip* mime_type_to_skip; |
mime_type_to_skip_t* mime_type_to_skip; |
1266 |
|
|
1267 |
conf_file = g_string_new (g_get_home_dir ()); |
conf_file = g_string_new (g_get_home_dir ()); |
1268 |
conf_file = |
conf_file = |
1299 |
my_config->mount_retry = 0; |
my_config->mount_retry = 0; |
1300 |
my_config->mime_extensions = g_tree_new ((GCompareFunc) strcmp); |
my_config->mime_extensions = g_tree_new ((GCompareFunc) strcmp); |
1301 |
my_config->mime_vfs_extensions = g_tree_new ((GCompareFunc) strcmp); |
my_config->mime_vfs_extensions = g_tree_new ((GCompareFunc) strcmp); |
1302 |
my_config->mime_to_skip_during_a_scan = g_new(GList*,0); |
my_config->mime_to_skip_during_a_scan = NULL; |
1303 |
my_config->use_du_s = TRUE; |
my_config->use_du_s = TRUE; |
1304 |
my_config->warn_mount = FALSE; |
my_config->warn_mount = FALSE; |
1305 |
my_config->eject_disk = TRUE; |
my_config->eject_disk = TRUE; |
1691 |
|
|
1692 |
//g_print ("load %s | state=%i\n",mime = g_strdup (((GString*) (gl1->data))->str),gl2->data); |
//g_print ("load %s | state=%i\n",mime = g_strdup (((GString*) (gl1->data))->str),gl2->data); |
1693 |
|
|
1694 |
mime_type_to_skip=g_new(struct_mime_type_to_skip, 1); |
mime_type_to_skip=g_new(mime_type_to_skip_t, 1); |
1695 |
|
|
1696 |
mime_type_to_skip->state = gl2->data; |
mime_type_to_skip->state = (gboolean)gl2->data; |
1697 |
mime_type_to_skip->mime_type = g_strdup (((GString*) (gl1->data))->str); |
mime_type_to_skip->mime_type = g_strdup (((GString*) (gl1->data))->str); |
1698 |
|
|
1699 |
my_config->mime_to_skip_during_a_scan= |
my_config->mime_to_skip_during_a_scan= |