Enlightenment CVS committal Author : moom Project : e17 Module : libs/enhance
Dir : e17/libs/enhance/src/lib Modified Files: enhance.c Log Message: * Fix enhance =================================================================== RCS file: /cvs/e/e17/libs/enhance/src/lib/enhance.c,v retrieving revision 1.38 retrieving revision 1.39 diff -u -3 -r1.38 -r1.39 --- enhance.c 9 Mar 2007 05:04:04 -0000 1.38 +++ enhance.c 22 Mar 2007 19:47:03 -0000 1.39 @@ -419,7 +419,7 @@ if(!strcmp(name, "response_id")) { PROPERTY_STR; - etk_object_data_set(ETK_OBJECT(wid->wid), "response_id", value); + etk_object_data_set(ETK_OBJECT(wid->wid), "response-id", value); } else if(!strcmp(name, "visible")) @@ -500,25 +500,25 @@ else if(!strcmp(name, "headers_visible")) { PROPERTY_BOOL; - etk_object_properties_set(ETK_OBJECT(wid->wid), "headers_visible", value, NULL); + etk_object_properties_set(ETK_OBJECT(wid->wid), "headers-visible", value, NULL); } else if(!strcmp(name, "has_resize_grip")) { PROPERTY_BOOL; - etk_object_properties_set(ETK_OBJECT(wid->wid), "has_resize_grip", value, NULL); + etk_object_properties_set(ETK_OBJECT(wid->wid), "has-resize-grip", value, NULL); } else if(!strcmp(name, "n_columns")) { PROPERTY_INT; - etk_object_properties_set(ETK_OBJECT(wid->wid), "num_cols", value, NULL); + etk_object_properties_set(ETK_OBJECT(wid->wid), "num-cols", value, NULL); } else if(!strcmp(name, "n_rows")) { PROPERTY_INT; - etk_object_properties_set(ETK_OBJECT(wid->wid), "num_rows", value, NULL); + etk_object_properties_set(ETK_OBJECT(wid->wid), "num-rows", value, NULL); } else if(!strcmp(name, "fraction")) @@ -530,7 +530,7 @@ else if(!strcmp(name, "pulse_step")) { PROPERTY_DOUBLE; - etk_object_properties_set(ETK_OBJECT(wid->wid), "pulse_step", value, NULL); + etk_object_properties_set(ETK_OBJECT(wid->wid), "pulse-step", value, NULL); } else if(!strcmp(name, "skip_taskbar_hint")) @@ -568,13 +568,13 @@ else if(!strcmp(name, "height_request")) { PROPERTY_INT; - etk_object_properties_set(ETK_OBJECT(wid->wid), "height_request", value, NULL); + etk_object_properties_set(ETK_OBJECT(wid->wid), "requested-height", value, NULL); } else if(!strcmp(name, "width_request")) { PROPERTY_INT; - etk_object_properties_set(ETK_OBJECT(wid->wid), "width_request", value, NULL); + etk_object_properties_set(ETK_OBJECT(wid->wid), "requested-width", value, NULL); } else if(!strcmp(name, "default_width")) @@ -608,7 +608,7 @@ _en_stock_items_hash_init(); id = (Etk_Stock_Id)ecore_hash_get(_en_stock_items_hash, value); - etk_object_properties_set(ETK_OBJECT(wid->wid), "stock_id", id, NULL); + etk_object_properties_set(ETK_OBJECT(wid->wid), "stock-id", id, NULL); } else if(!strcmp(name, "stock_id")) @@ -659,7 +659,7 @@ if (size_value <= 2) size = ETK_STOCK_SMALL; else if (size_value >= 5) size = ETK_STOCK_BIG; } - etk_object_properties_set(ETK_OBJECT(wid->wid), "stock_size", size, NULL); + etk_object_properties_set(ETK_OBJECT(wid->wid), "stock-size", size, NULL); } else if(!strcmp(name, "icon_name")) @@ -671,7 +671,7 @@ id = (Etk_Stock_Id)ecore_hash_get(_en_stock_items_hash, value); IF_PARENT_CLASS("GtkImage") { - etk_object_properties_set(ETK_OBJECT(wid->wid), "stock_id", id, NULL); + etk_object_properties_set(ETK_OBJECT(wid->wid), "stock-id", id, NULL); } if ETK_IS_BUTTON(wid->wid) { @@ -805,8 +805,8 @@ "value", val, "lower", lower, "upper", upper, - "step_increment", step_incr, - "page_increment", page_incr, NULL); + "step-increment", step_incr, + "page-increment", page_incr, NULL); } else if(!strcmp(name, "digits")) ------------------------------------------------------------------------- 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 enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs