Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_int_config_background.c Log Message: Remove unused variable. Formatting. Verified apply functions against old dialog to make sure advanced was applying correctly. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_config_background.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- e_int_config_background.c 19 Jan 2006 16:03:39 -0000 1.23 +++ e_int_config_background.c 20 Jan 2006 09:49:39 -0000 1.24 @@ -187,7 +187,9 @@ e_bg_del(z->container->num, -1, -1, -1); e_bg_del(z->container->num, z->num, -1, -1); - if (e_config->desktop_default_background) evas_stringshare_del(e_config->desktop_default_background); + if (e_config->desktop_default_background) + evas_stringshare_del(e_config->desktop_default_background); + if (!(cfdata->bg[0])) e_config->desktop_default_background = NULL; else @@ -201,8 +203,9 @@ e_bg_del(-1, z->num, x, y); e_bg_del(z->container->num, -1, x, y); e_bg_del(z->container->num, z->num, x, y); - if (!(cfdata->bg[0])) - e_bg_add(z->container->num, z->num, x, y, cfdata->bg); + if (!(cfdata->bg[0])) + e_bg_add(z->container->num, z->num, x, y, cfdata->bg); + e_bg_update(); e_config_save_queue(); break; @@ -214,8 +217,9 @@ cfbg = e_config->desktop_backgrounds->data; e_bg_del(cfbg->container, cfbg->zone, cfbg->desk_x, cfbg->desk_y); } - if (!(cfdata->bg[0])) + if (!(cfdata->bg[0])) e_bg_add(-1, -1, -1, -1, cfdata->bg); + e_bg_update(); e_config_save_queue(); break; @@ -248,7 +252,6 @@ if (edje_object_file_set(o, f, "desktop/background")) { Evas_Object *o = NULL; - char b[4096]; if (!e_thumb_exists(c)) o = e_thumb_generate_begin(c, 48, 48, cfd->dia->win->evas, &o, NULL, NULL); @@ -258,9 +261,8 @@ e_widget_ilist_append(il, o, _("Theme Background"), _ilist_cb_bg_selected, cfd, ""); } if (!e_config->desktop_default_background) - { - e_widget_ilist_selected_set(il, 0); - } + e_widget_ilist_selected_set(il, 0); + im = e_widget_image_add_from_object(cfd->dia->win->evas, bg_obj, 320, 240); e_widget_image_object_set(im, e_thumb_evas_object_get(c, cfd->dia->win->evas, 320, 240, 1)); ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs