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: Check for import being null on dialog close cb =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_config_background.c,v retrieving revision 1.29 retrieving revision 1.30 diff -u -3 -r1.29 -r1.30 --- e_int_config_background.c 22 Jan 2006 14:44:49 -0000 1.29 +++ e_int_config_background.c 22 Jan 2006 15:33:04 -0000 1.30 @@ -178,6 +178,10 @@ e_widget_ilist_go(il); e_widget_table_object_append(ot, il, 0, 0, 1, 3, 1, 1, 1, 1); + /* Add import Button */ + o = e_widget_button_add(evas, _("Import An Image"), NULL, _bg_config_dialog_cb_import, cfd, NULL); + e_widget_table_object_append(ot, o, 0, 3, 1, 1, 1, 0, 0, 0); + of = e_widget_framelist_add(evas, _("Background Preview"), 0); e_widget_min_size_set(of, 320, 240); e_widget_table_object_append(ot, of, 1, 0, 1, 2, 1, 1, 1, 1); @@ -451,6 +455,7 @@ { if (!cfd) return 0; if (!cfdata) return 0; + if (!cfdata->import) return 1; if (!cfdata->import->dia) return 0; e_object_del_attach_func_set(E_OBJECT(cfd->dia), NULL); ------------------------------------------------------- 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