summaryrefslogtreecommitdiff
path: root/src/bin/options_background.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/options_background.c')
-rw-r--r--src/bin/options_background.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/options_background.c b/src/bin/options_background.c
index a7d836e..530ade1 100644
--- a/src/bin/options_background.c
+++ b/src/bin/options_background.c
@@ -77,7 +77,7 @@ _cb_op_video_trans_chg(void *data,
77 config->translucent = elm_check_state_get(obj); 77 config->translucent = elm_check_state_get(obj);
78 elm_object_disabled_set(ctx->op_opacity, !config->translucent); 78 elm_object_disabled_set(ctx->op_opacity, !config->translucent);
79 main_trans_update(config); 79 main_trans_update(config);
80 config_save(config, NULL); 80 config_save(config);
81} 81}
82 82
83static void 83static void
@@ -92,7 +92,7 @@ _cb_op_video_opacity_chg(void *data,
92 if (!config->translucent) 92 if (!config->translucent)
93 return; 93 return;
94 main_trans_update(config); 94 main_trans_update(config);
95 config_save(config, NULL); 95 config_save(config);
96} 96}
97 97
98static void 98static void
@@ -227,12 +227,12 @@ _item_selected(void *data,
227 // no background 227 // no background
228 eina_stringshare_del(config->background); 228 eina_stringshare_del(config->background);
229 config->background = NULL; 229 config->background = NULL;
230 config_save(config, NULL); 230 config_save(config);
231 main_media_update(config); 231 main_media_update(config);
232 } 232 }
233 else if (eina_stringshare_replace(&(config->background), item->path)) 233 else if (eina_stringshare_replace(&(config->background), item->path))
234 { 234 {
235 config_save(config, NULL); 235 config_save(config);
236 main_media_update(config); 236 main_media_update(config);
237 } 237 }
238} 238}
@@ -505,7 +505,7 @@ _cb_grid_doubleclick(void *data,
505 if (newfile) 505 if (newfile)
506 { 506 {
507 eina_stringshare_replace(&(config->background), newfile); 507 eina_stringshare_replace(&(config->background), newfile);
508 config_save(config, NULL); 508 config_save(config);
509 main_media_update(config); 509 main_media_update(config);
510 eina_stringshare_del(newfile); 510 eina_stringshare_del(newfile);
511 _bubble_show(ctx, _("Picture imported")); 511 _bubble_show(ctx, _("Picture imported"));