@ -29,7 +29,7 @@ struct _E_Config_Dialog_Data
Evas_Object * ob1 , * ob2 , * ob3 ;
Eina_List * popup_list , * urgent_list ;
} gui ;
int drag_resist , flip_desk , show_desk_names , disable_ live_preview;
int drag_resist , flip_desk , show_desk_names , live_preview ;
} ;
/* local function prototypes */
@ -104,7 +104,7 @@ _fill_data(E_Config_Dialog_Data *cfdata)
cfdata - > btn . noplace = pager_config - > btn_noplace ;
cfdata - > btn . desk = pager_config - > btn_desk ;
cfdata - > flip_desk = pager_config - > flip_desk ;
cfdata - > disable_ live_preview = pager_config - > disable_live_preview ;
cfdata - > live_preview = ! pager_config - > disable_live_preview ;
cfdata - > show_desk_names = pager_config - > show_desk_names ;
}
@ -131,8 +131,8 @@ _basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data
ow = e_widget_check_add ( evas , _ ( " Always show desktop names " ) ,
& ( cfdata - > show_desk_names ) ) ;
e_widget_framelist_object_append ( of , ow ) ;
ow = e_widget_check_add ( evas , _ ( " Disable l ive preview" ) ,
& ( cfdata - > disable_ live_preview) ) ;
ow = e_widget_check_add ( evas , _ ( " L ive preview" ) ,
& ( cfdata - > live_preview ) ) ;
e_widget_framelist_object_append ( of , ow ) ;
e_widget_list_object_append ( ol , of , 1 , 0 , 0.5 ) ;
@ -153,7 +153,7 @@ _basic_apply(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
{
pager_config - > popup = cfdata - > popup . show ;
pager_config - > flip_desk = cfdata - > flip_desk ;
pager_config - > disable_live_preview = cfdata - > disable_ live_preview;
pager_config - > disable_live_preview = ! cfdata - > live_preview ;
pager_config - > show_desk_names = cfdata - > show_desk_names ;
pager_config - > popup_urgent = cfdata - > popup . urgent_show ;
_pager_cb_config_updated ( ) ;
@ -166,7 +166,7 @@ _basic_check_changed(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfda
{
if ( ( int ) pager_config - > popup ! = cfdata - > popup . show ) return 1 ;
if ( ( int ) pager_config - > flip_desk ! = cfdata - > flip_desk ) return 1 ;
if ( ( int ) pager_config - > disable_live_preview ! = cfdata - > disable_ live_preview) return 1 ;
if ( ( int ) pager_config - > disable_live_preview ! = ! cfdata - > live_preview ) return 1 ;
if ( ( int ) pager_config - > show_desk_names ! = cfdata - > show_desk_names ) return 1 ;
if ( ( int ) pager_config - > popup_urgent ! = cfdata - > popup . urgent_show ) return 1 ;
@ -189,8 +189,8 @@ _adv_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data *c
ow = e_widget_check_add ( evas , _ ( " Always show desktop names " ) ,
& ( cfdata - > show_desk_names ) ) ;
e_widget_list_object_append ( ol , ow , 1 , 0 , 0.5 ) ;
ow = e_widget_check_add ( evas , _ ( " Disable l ive preview" ) ,
& ( cfdata - > disable_ live_preview) ) ;
ow = e_widget_check_add ( evas , _ ( " L ive preview" ) ,
& ( cfdata - > live_preview ) ) ;
e_widget_list_object_append ( ol , ow , 1 , 0 , 0.5 ) ;
ow = e_widget_label_add ( evas , _ ( " Resistance to dragging " ) ) ;
e_widget_list_object_append ( ol , ow , 1 , 0 , 0.5 ) ;
@ -300,7 +300,7 @@ _adv_apply(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
pager_config - > popup = cfdata - > popup . show ;
pager_config - > popup_speed = cfdata - > popup . speed ;
pager_config - > flip_desk = cfdata - > flip_desk ;
pager_config - > disable_live_preview = cfdata - > disable_ live_preview;
pager_config - > disable_live_preview = ! cfdata - > live_preview ;
pager_config - > popup_urgent = cfdata - > popup . urgent_show ;
pager_config - > popup_urgent_stick = cfdata - > popup . urgent_stick ;
pager_config - > popup_urgent_focus = cfdata - > popup . urgent_focus ;
@ -321,7 +321,7 @@ static int
_adv_check_changed ( E_Config_Dialog * cfd __UNUSED__ , E_Config_Dialog_Data * cfdata )
{
if ( ( int ) pager_config - > popup ! = cfdata - > popup . show ) return 1 ;
if ( ( int ) pager_config - > disable_live_preview ! = cfdata - > disable_ live_preview) return 1 ;
if ( ( int ) pager_config - > disable_live_preview ! = ! cfdata - > live_preview ) return 1 ;
if ( ( int ) pager_config - > show_desk_names ! = cfdata - > show_desk_names ) return 1 ;
if ( ( int ) pager_config - > popup_urgent ! = cfdata - > popup . urgent_show ) return 1 ;
if ( pager_config - > popup_speed ! = cfdata - > popup . speed ) return 1 ;