E CVS: apps/e_utils rbdpngn

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : apps/e_utils

Dir : e17/apps/e_utils/src/bin/eapp_edit


Modified Files:
eapp_edit_main.c 


Log Message:
Oops, wrong function in the API change.

===
RCS file: 
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/eapp_edit/eapp_edit_main.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- eapp_edit_main.c9 Mar 2006 10:29:25 -   1.40
+++ eapp_edit_main.c9 Mar 2006 22:43:43 -   1.41
@@ -245,7 +245,7 @@
 row[1] = ewl_image_new();
 ewl_image_file_set(EWL_IMAGE(row[1]), file, icon);
 ewl_image_proportional_set(EWL_IMAGE(row[1]), TRUE);
-ewl_image_scale_set(EWL_IMAGE(row[1]), 32, 32);
+ewl_image_size_set(EWL_IMAGE(row[1]), 32, 32);
 /* FIXME: This can give it a decent background, but introduces a sizing
  * issue to track down
  * ewl_widget_appearance_set(row[1], entry); */




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e_utils rbdpngn

2006-02-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : apps/e_utils

Dir : e17/apps/e_utils/src/bin/eapp_edit


Modified Files:
eapp_edit_main.c 


Log Message:
Cut down some confusion on where the user needs to click to set the icon.

===
RCS file: 
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/eapp_edit/eapp_edit_main.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -3 -r1.38 -r1.39
--- eapp_edit_main.c31 Dec 2005 18:17:32 -  1.38
+++ eapp_edit_main.c15 Feb 2006 23:34:10 -  1.39
@@ -246,14 +246,14 @@
 ewl_image_file_set(EWL_IMAGE(row[1]), file, icon);
 ewl_image_proportional_set(EWL_IMAGE(row[1]), TRUE);
 ewl_image_scale_to(EWL_IMAGE(row[1]), 32, 32);
-ewl_callback_append(row[1], EWL_CALLBACK_CLICKED, eapp_cb_fd_show, NULL);
 /* FIXME: This can give it a decent background, but introduces a sizing
  * issue to track down
  * ewl_widget_appearance_set(row[1], entry); */
 ewl_widget_name_set(row[1], icon);
 ewl_widget_show(row[1]);
 
-ewl_tree_row_add(tree, NULL, row);
+row[0] = ewl_tree_row_add(tree, NULL, row);
+ewl_callback_append(row[0], EWL_CALLBACK_CLICKED, eapp_cb_fd_show, NULL);
 
 /* add all the eet data */
 for (i = 0; i  (sizeof(keys) / sizeof(keys[0])); i++)




---
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=lnkkid=103432bid=230486dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e_utils rbdpngn

2005-12-31 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : apps/e_utils

Dir : e17/apps/e_utils/src/bin/eapp_edit


Modified Files:
eapp_edit_main.c 


Log Message:
Slight layout change to handle a sizing issue.

===
RCS file: 
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/eapp_edit/eapp_edit_main.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- eapp_edit_main.c19 Dec 2005 20:15:00 -  1.37
+++ eapp_edit_main.c31 Dec 2005 18:17:32 -  1.38
@@ -159,6 +159,7 @@
 {
 Ewl_Widget *win, *vbox, *hbox, *tree, *o;
 char tmp[PATH_MAX];
+const char *headers[] = { Property Name, Value };
 
 snprintf(tmp, PATH_MAX, %s/data/e_utils_eapp_edit/default.edj, 
 PACKAGE_DATA_DIR);
@@ -166,6 +167,7 @@
 ewl_window_title_set(EWL_WINDOW(win), Eapp Editor);
 ewl_window_class_set(EWL_WINDOW(win), Eapp Editor);
 ewl_window_name_set(EWL_WINDOW(win), Eapp_Editor);
+ewl_object_size_request(EWL_OBJECT(win), 300, 450);
 ewl_callback_append(win, EWL_CALLBACK_DELETE_WINDOW, eapp_cb_quit, NULL);
 ewl_widget_show(win);
 
@@ -175,9 +177,10 @@
 
 tree = ewl_tree_new(TREE_COLS);
 ewl_container_child_append(EWL_CONTAINER(vbox), tree);
-ewl_tree_headers_visible_set(EWL_TREE(tree), FALSE);
+ewl_tree_headers_set(EWL_TREE(tree), (char **)headers);
+//ewl_tree_headers_visible_set(EWL_TREE(tree), FALSE);
 ewl_theme_data_str_set(tree, /cell/file, tmp);
-ewl_theme_data_str_set(tree, /cell/group, cell);
+ewl_theme_data_str_set(tree, /cell/group, moocow);
 ewl_widget_show(tree);
 
 if (!eapp_populate(EWL_TREE(tree), file, lang, winclass))
@@ -232,18 +235,22 @@
 }
 }
 
-/* add the icon */
-row[0] = ewl_image_new();
-ewl_image_file_set(EWL_IMAGE(row[0]), file, icon);
-ewl_widget_name_set(row[0], icon);
-ewl_image_proportional_set(EWL_IMAGE(row[0]), TRUE);
-ewl_image_scale_to(EWL_IMAGE(row[0]), 32, 32);
+row[0] = ewl_label_new();
+ewl_label_text_set(EWL_LABEL(row[0]), Set Icon);
+ewl_object_alignment_set(EWL_OBJECT(row[0]), EWL_FLAG_ALIGN_LEFT);
+ewl_object_fill_policy_set(EWL_OBJECT(row[0]), EWL_FLAG_FILL_NONE);
 ewl_widget_show(row[0]);
 
-row[1] = ewl_button_new();
-ewl_button_label_set(EWL_BUTTON(row[1]), Set Icon);
+/* add the icon */
+row[1] = ewl_image_new();
+ewl_image_file_set(EWL_IMAGE(row[1]), file, icon);
+ewl_image_proportional_set(EWL_IMAGE(row[1]), TRUE);
+ewl_image_scale_to(EWL_IMAGE(row[1]), 32, 32);
 ewl_callback_append(row[1], EWL_CALLBACK_CLICKED, eapp_cb_fd_show, NULL);
-ewl_object_fill_policy_set(EWL_OBJECT(row[1]), EWL_FLAG_FILL_SHRINK);
+/* FIXME: This can give it a decent background, but introduces a sizing
+ * issue to track down
+ * ewl_widget_appearance_set(row[1], entry); */
+ewl_widget_name_set(row[1], icon);
 ewl_widget_show(row[1]);
 
 ewl_tree_row_add(tree, NULL, row);
@@ -251,11 +258,9 @@
 /* add all the eet data */
 for (i = 0; i  (sizeof(keys) / sizeof(keys[0])); i++)
 {
-row[0] = ewl_text_new();
-ewl_text_text_set(EWL_TEXT(row[0]), NULL);
-ewl_text_styles_set(EWL_TEXT(row[0]), EWL_TEXT_STYLE_OUTLINE);
-ewl_text_shadow_color_set(EWL_TEXT(row[0]), 128, 128, 128, 128);
-ewl_text_text_set(EWL_TEXT(row[0]), keys[i].name);
+row[0] = ewl_label_new();
+ewl_label_text_set(EWL_LABEL(row[0]), keys[i].name);
+   ewl_object_fill_policy_set(EWL_OBJECT(row[0]), EWL_FLAG_FILL_NONE);
ewl_object_alignment_set(EWL_OBJECT(row[0]), EWL_FLAG_ALIGN_LEFT);
 ewl_widget_show(row[0]);
 




---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e_utils rbdpngn

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : apps/e_utils

Dir : e17/apps/e_utils/src/bin/eapp_edit


Modified Files:
eapp_edit_main.c 


Log Message:
Yes, I am apparently an idiot. Let's actually vertically center the text not
just comment out some code to do it.

===
RCS file: 
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/eapp_edit/eapp_edit_main.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- eapp_edit_main.c16 Oct 2005 04:44:49 -  1.32
+++ eapp_edit_main.c16 Oct 2005 04:52:25 -  1.33
@@ -256,7 +256,7 @@
 ewl_text_styles_set(EWL_TEXT(row[0]), EWL_TEXT_STYLE_OUTLINE);
 ewl_text_shadow_color_set(EWL_TEXT(row[0]), 128, 128, 128, 128);
 ewl_text_text_set(EWL_TEXT(row[0]), keys[i].name);
-// ewl_object_alignment_set(EWL_OBJECT(row[0]), EWL_FLAG_ALIGN_LEFT);
+   ewl_object_alignment_set(EWL_OBJECT(row[0]), EWL_FLAG_ALIGN_LEFT);
 ewl_widget_show(row[0]);
 
 v = eapp_eet_read(ef, keys[i].key, lang);




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e_utils rbdpngn

2005-10-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : apps/e_utils

Dir : e17/apps/e_utils/src/bin/ethemes


Modified Files:
main.c 


Log Message:
Use limits.h for PATH_MAX

===
RCS file: /cvsroot/enlightenment/e17/apps/e_utils/src/bin/ethemes/main.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- main.c  13 Oct 2005 08:56:23 -  1.2
+++ main.c  14 Oct 2005 14:46:56 -  1.3
@@ -1,6 +1,7 @@
 #include stdio.h
 #include stdlib.h
 #include dirent.h
+#include limits.h
 #include Ecore.h
 #include Ecore_Evas.h
 #include Ecore_File.h




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e_utils rbdpngn

2005-10-03 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : apps/e_utils

Dir : e17/apps/e_utils/src/bin/eapp_edit


Modified Files:
eapp_edit_main.c 


Log Message:
Update to EWL API changes.

===
RCS file: 
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/eapp_edit/eapp_edit_main.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- eapp_edit_main.c5 Sep 2005 16:42:36 -   1.25
+++ eapp_edit_main.c3 Oct 2005 06:43:48 -   1.26
@@ -195,7 +195,8 @@
 ewl_box_spacing_set(EWL_BOX(hbox), 5);
 ewl_widget_show(hbox);
 
-o = ewl_button_new(Save);
+o = ewl_button_new();
+ewl_button_label_set(EWL_BUTTON(o), Save);
 ewl_container_child_append(EWL_CONTAINER(hbox), o);
 ewl_object_fill_policy_set(EWL_OBJECT(o), EWL_FLAG_FILL_SHRINK);
 ewl_object_alignment_set(EWL_OBJECT(o), EWL_FLAG_ALIGN_CENTER);
@@ -204,7 +205,8 @@
 ewl_callback_append(o, EWL_CALLBACK_CLICKED, eapp_cb_save, NULL);
 ewl_widget_show(o);
 
-o = ewl_button_new(Cancel);
+o = ewl_button_new();
+ewl_button_label_set(EWL_BUTTON(o), Cancel);
 ewl_container_child_append(EWL_CONTAINER(hbox), o);
 ewl_object_fill_policy_set(EWL_OBJECT(o), EWL_FLAG_FILL_SHRINK);
 ewl_object_alignment_set(EWL_OBJECT(o), EWL_FLAG_ALIGN_CENTER);
@@ -239,7 +241,8 @@
 ewl_image_scale_to(EWL_IMAGE(row[0]), 32, 32);
 ewl_widget_show(row[0]);
 
-row[1] = ewl_button_new(Set Icon);
+row[1] = ewl_button_new();
+ewl_button_label_set(EWL_BUTTON(row[1]), Set Icon);
 ewl_callback_append(row[1], EWL_CALLBACK_CLICKED, eapp_cb_fd_show, NULL);
 ewl_object_fill_policy_set(EWL_OBJECT(row[1]), EWL_FLAG_FILL_SHRINK);
 ewl_widget_show(row[1]);
@@ -249,7 +252,8 @@
 /* add all the eet data */
 for (i = 0; i  (sizeof(keys) / sizeof(keys[0])); i++)
 {
-row[0] = ewl_text_new(NULL);
+row[0] = ewl_text_new();
+ewl_text_text_set(EWL_TEXT(row[0]), NULL);
 ewl_text_styles_set(EWL_TEXT(row[0]), EWL_TEXT_STYLE_SOFT_SHADOW);
 ewl_text_shadow_color_set(EWL_TEXT(row[0]), 128, 128, 128, 128);
 ewl_text_text_set(EWL_TEXT(row[0]), keys[i].name);
@@ -258,7 +262,8 @@
 v = eapp_eet_read(ef, keys[i].key, lang);
 if (keys[i].checkbox)
 {
-row[1] = ewl_checkbutton_new();
+row[1] = ewl_checkbutton_new();
+ewl_button_label_set(EWL_BUTTON(row[1]), );
 ewl_checkbutton_checked_set(EWL_CHECKBUTTON(row[1]), v[0] == 1);
 }
 else
@@ -268,7 +273,8 @@
 if (winclass) v = winclass;
 }
 
-row[1] = ewl_entry_new(v);
+row[1] = ewl_entry_new();
+ewl_text_text_set(EWL_TEXT(row[1]), v);
 }
 ewl_widget_name_set(row[1], keys[i].key);
 ewl_widget_show(row[1]);




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e_utils rbdpngn

2005-10-03 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : apps/e_utils

Dir : e17/apps/e_utils/src/bin/eapp_edit


Modified Files:
eapp_edit_main.c 


Log Message:
Use the new image API.

===
RCS file: 
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/eapp_edit/eapp_edit_main.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- eapp_edit_main.c3 Oct 2005 06:43:48 -   1.26
+++ eapp_edit_main.c3 Oct 2005 14:43:49 -   1.27
@@ -235,7 +235,8 @@
 }
 
 /* add the icon */
-row[0] = ewl_image_new(file, icon);
+row[0] = ewl_image_new();
+ewl_image_file_set(EWL_IMAGE(row[0]), file, icon);
 ewl_widget_name_set(row[0], icon);
 ewl_image_proportional_set(EWL_IMAGE(row[0]), TRUE);
 ewl_image_scale_to(EWL_IMAGE(row[0]), 32, 32);




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e_utils rbdpngn

2005-09-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : apps/e_utils

Dir : e17/apps/e_utils/src/bin/emblem


Modified Files:
emblem_ui.c main.c 


Log Message:
Include limits.h after ecore header changes.

===
RCS file: /cvsroot/enlightenment/e17/apps/e_utils/src/bin/emblem/emblem_ui.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- emblem_ui.c 5 Sep 2005 11:53:24 -   1.19
+++ emblem_ui.c 13 Sep 2005 04:32:17 -  1.20
@@ -2,6 +2,7 @@
 
 #include stdio.h
 #include string.h
+#include limits.h
 
 /* TODO
  *  * make the thumbs cache to disk, check the edj mtime againts a the time
===
RCS file: /cvsroot/enlightenment/e17/apps/e_utils/src/bin/emblem/main.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- main.c  5 Sep 2005 15:30:25 -   1.8
+++ main.c  13 Sep 2005 04:32:17 -  1.9
@@ -3,6 +3,7 @@
 #include stdlib.h
 #include stdio.h
 #include string.h
+#include limits.h
 
 #define IF_FREE(x) { if (x) free(x); x = NULL; }
 




---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e_utils rbdpngn

2005-07-06 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : apps/e_utils

Dir : e17/apps/e_utils/src/bin/eapp_edit


Modified Files:
eapp_edit_main.c 


Log Message:
Patch from shorne to update to new EWL API.

===
RCS file: 
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/eapp_edit/eapp_edit_main.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- eapp_edit_main.c28 Jun 2005 13:27:42 -  1.17
+++ eapp_edit_main.c6 Jul 2005 23:27:39 -   1.18
@@ -153,7 +153,7 @@
 ret_char = ewl_checkbutton_is_checked(EWL_CHECKBUTTON(source));
 size_ret = 1;
   } else {
-ret = ewl_entry_text_get(EWL_ENTRY(source));
+ret = ewl_text_text_get(EWL_TEXT(source));
 if (ret)
   size_ret = strlen(ret);
 else
@@ -304,7 +304,7 @@
   wname = _eapp_edit_read(ef, app/window/name, NULL, Window name, grid, 7, 
0);
   wclass = _eapp_edit_read(ef, app/window/class, NULL, Window class, grid, 
8, 0);
   if (new_win_class)
-ewl_entry_text_set(EWL_ENTRY(wclass), new_win_class);
+ewl_text_text_set(EWL_TEXT(wclass), new_win_class);
   start = _eapp_edit_read(ef, app/info/startup_notify, NULL, Startup 
notify, grid, 9, 1);
   wait = _eapp_edit_read(ef, app/info/wait_exit, NULL, Wait exit, grid, 
10, 1);





---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e_utils rbdpngn

2005-05-27 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : apps/e_utils

Dir : e17/apps/e_utils/data/entangle/default


Modified Files:
add_dir_box.edc 


Log Message:
Remove space from macro so it works on OS X.

===
RCS file: 
/cvsroot/enlightenment/e17/apps/e_utils/data/entangle/default/add_dir_box.edc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- add_dir_box.edc 26 May 2005 00:34:19 -  1.2
+++ add_dir_box.edc 28 May 2005 00:55:10 -  1.3
@@ -17,7 +17,7 @@
 }
 }
 }
-ITEM_OVERLAY(entry_bg, h);
+ITEM_OVERLAY(entry_bg,h);
 
 part {
 name, entry;




---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e_utils rbdpngn

2005-03-27 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : apps/e_utils

Dir : e17/apps/e_utils/src/bin/eapp_edit


Modified Files:
eapp_edit_main.c 


Log Message:
Set a scale size for the icon displayed.

===
RCS file: 
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/eapp_edit/eapp_edit_main.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- eapp_edit_main.c24 Mar 2005 23:35:32 -  1.14
+++ eapp_edit_main.c27 Mar 2005 17:23:29 -  1.15
@@ -195,7 +195,6 @@
   iw = ewl_object_current_w_get(EWL_OBJECT(icon));
   ih = ewl_object_current_h_get(EWL_OBJECT(icon));
   ewl_image_file_set(EWL_IMAGE(icon), icon_file, );
-  ewl_image_scale_to(EWL_IMAGE(icon), iw, ih);
   break;
 case EWL_RESPONSE_CANCEL:
   break;
@@ -322,6 +321,8 @@
 
   cell = ewl_cell_new();
   icon = ewl_image_new(file, icon);
+  ewl_image_proportional_set(EWL_IMAGE(icon), TRUE);
+  ewl_image_scale_to(EWL_IMAGE(icon), 32, 32);
   ewl_widget_show(icon);
   ewl_container_child_append(EWL_CONTAINER(cell), icon);
   ewl_object_fill_policy_set(EWL_OBJECT(cell), EWL_FLAG_FILL_ALL);




---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs