Enlightenment CVS committal
Author : morlenxus
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_int_config_display.c
Log Message:
Jump to selection (approved by devilhorns).
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_display.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- e_int_config_display.c 19 Jan 2007 03:57:09 -0000 1.32
+++ e_int_config_display.c 22 Jan 2007 17:24:30 -0000 1.33
@@ -375,7 +375,7 @@
E_Radio_Group *rg;
E_Manager *man;
Ecore_X_Screen_Size *sizes;
- int i, s;
+ int i, s, sel;
_fill_data(cfdata);
@@ -466,12 +466,9 @@
snprintf(buf, sizeof(buf), "%ix%i", res->size.width,
res->size.height);
e_widget_ilist_append(ol, NULL, buf, _ilist_item_change, cfdata,
NULL);
- if (res->size.width == cfdata->orig_size.width
- && res->size.height == cfdata->orig_size.height)
- {
- e_widget_ilist_selected_set(ol, i);
- _load_rates(cfdata);
- }
+ if (res->size.width == cfdata->orig_size.width &&
+ res->size.height == cfdata->orig_size.height)
+ sel = res->id;
}
if (!cfdata->has_rates)
@@ -482,6 +479,8 @@
E_FREE(sizes);
e_widget_ilist_go(ol);
+ e_widget_ilist_selected_set(ol, sel);
+ _load_rates(cfdata);
e_widget_ilist_thaw(ol);
edje_thaw();
evas_event_thaw(evas_object_evas_get(ol));
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs