fix crash when trying to apply a null wallpaper

ticket #2164


SVN revision: 82399
This commit is contained in:
Mike Blumenkrantz 2013-01-08 10:13:39 +00:00
parent 51112f8b34
commit da18b48e08
3 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,7 @@
2013-01-07 Mike Blumenkrantz
2013-01-08 Mike Blumenkrantz
* Fixed bug where keyboard resizing of windows would not be possible if timeout was set to zero
* Fixed crash when clicking apply in wallpaper settings dialog and no wallpaper is selected
* Added elm win trap callback for base size setting, calling this causes ICCCM hints to be applied
2013-01-07 Tom "TAsn" Hacohen

1
NEWS
View File

@ -66,3 +66,4 @@ Fixes:
* Restore default keybindings no longer restores two bindings for ctrl+alt+f
* entry/scrollframe: Fixed issues with submembers.
* Fixed bug where keyboard resizing of windows would not be possible if timeout was set to zero
* Fixed crash when clicking apply in wallpaper settings dialog and no wallpaper is selected

View File

@ -514,6 +514,7 @@ _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
{
E_Config_Wallpaper *cw;
if (!cfdata->bg) return 0;
cw = cfd->data;
if (!eina_str_has_extension(cfdata->bg, ".edj"))
{