Enlightenment CVS committal Author : lok Project : e17 Module : proto
Dir : e17/proto/enhance/src/lib Modified Files: enhance.c Log Message: [Toolbar] orintation and style properties supported. =================================================================== RCS file: /cvs/e/e17/proto/enhance/src/lib/enhance.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -3 -r1.24 -r1.25 --- enhance.c 16 Aug 2006 17:35:55 -0000 1.24 +++ enhance.c 16 Aug 2006 19:19:21 -0000 1.25 @@ -738,6 +738,33 @@ etk_notebook_tabs_visible_set(ETK_NOTEBOOK(wid->wid), value); } } + + else if(!strcmp(name, "orientation")) + { + PROPERTY_STR; + Etk_Toolbar_Orientation orientation = ETK_TOOLBAR_HORIZ; + + if (value && !strcmp(value, "GTK_ORIENTATION_VERTICAL")) + orientation = ETK_TOOLBAR_VERT; + etk_toolbar_orientation_set(ETK_TOOLBAR(wid->wid), orientation); + } + + else if(!strcmp(name, "toolbar_style")) + { + PROPERTY_STR; + Etk_Toolbar_Style style = ETK_TOOLBAR_ICONS; + + if (value) + { + if (!strcmp(value, "GTK_TOOLBAR_TEXT")) + style = ETK_TOOLBAR_TEXT; + else if (!strcmp(value, "GTK_TOOLBAR_BOTH")) + style = ETK_TOOLBAR_BOTH_VERT; + else if (!strcmp(value, "GTK_TOOLBAR_BOTH_HORIZ")) + style = ETK_TOOLBAR_BOTH_HORIZ; + } + etk_toolbar_style_set(ETK_TOOLBAR(wid->wid), style); + } } void ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs