forked from enlightenment/enlightenment
Use E_FREE to free cfdata created by E_NEW.
Make Desktop Flip frames use the same label in basic as in advanced. Minor Formatting. SVN revision: 27999
This commit is contained in:
parent
94bdc552dc
commit
8449ebb798
|
@ -93,8 +93,7 @@ _create_data(E_Config_Dialog *cdd)
|
||||||
static void
|
static void
|
||||||
_free_data(E_Config_Dialog *cdd, E_Config_Dialog_Data *cfdata)
|
_free_data(E_Config_Dialog *cdd, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
/* Free the cfdata */
|
E_FREE(cfdata);
|
||||||
free(cfdata);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**--APPLY--**/
|
/**--APPLY--**/
|
||||||
|
@ -206,7 +205,7 @@ _basic_create_widgets(E_Config_Dialog *cdd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
e_widget_framelist_object_append(of, ot);
|
e_widget_framelist_object_append(of, ot);
|
||||||
e_widget_list_object_append(o, of, 1, 1, 0.5);
|
e_widget_list_object_append(o, of, 1, 1, 0.5);
|
||||||
|
|
||||||
of = e_widget_framelist_add(evas, _("Desktop Flip"), 0);
|
of = e_widget_framelist_add(evas, _("Desktop Mouse Flip"), 0);
|
||||||
ob = e_widget_check_add(evas, _("Flip desktops when mouse at screen edge"), &(cfdata->edge_flip_basic));
|
ob = e_widget_check_add(evas, _("Flip desktops when mouse at screen edge"), &(cfdata->edge_flip_basic));
|
||||||
e_widget_framelist_object_append(of, ob);
|
e_widget_framelist_object_append(of, ob);
|
||||||
ob = e_widget_check_add(evas, _("Animated flip"), &(cfdata->flip_animate));
|
ob = e_widget_check_add(evas, _("Animated flip"), &(cfdata->flip_animate));
|
||||||
|
|
Loading…
Reference in New Issue