Enlightenment CVS committal Author : devilhorns Project : e_modules Module : wlan
Dir : e_modules/wlan Modified Files: e_mod_main.c Log Message: Nicer menus...shhh ! :) =================================================================== RCS file: /cvsroot/enlightenment/e_modules/wlan/e_mod_main.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- e_mod_main.c 20 Feb 2006 18:09:46 -0000 1.2 +++ e_mod_main.c 20 Feb 2006 18:30:41 -0000 1.3 @@ -132,7 +132,7 @@ if (!n->conf) { n->conf = E_NEW(Config, 1); - n->conf->device = (char *)evas_stringshare_add("eth0"); + n->conf->device = (char *)evas_stringshare_add(""); n->conf->check_interval = 30; } E_CONFIG_LIMIT(n->conf->check_interval, 0, 60); @@ -225,8 +225,7 @@ o = edje_object_add(nf->evas); nf->wlan_obj = o; - if (!e_theme_edje_object_set(o, "base/theme/modules/wlan", - "modules/wlan/main")) + if (!e_theme_edje_object_set(o, "base/theme/modules/wlan", "modules/wlan/main")) { snprintf(buf, sizeof(buf), PACKAGE_DATA_DIR"/wlan.edj"); edje_object_file_set(o, buf, "modules/wlan/main"); @@ -275,10 +274,12 @@ mi = e_menu_item_new(mn); e_menu_item_label_set(mi, _("Configuration")); + e_util_menu_item_edje_icon_set(mi, "enlightenment/configuration"); e_menu_item_callback_set(mi, _wlan_face_cb_menu_configure, nf); mi = e_menu_item_new(mn); e_menu_item_label_set(mi, _("Edit Mode")); + e_util_menu_item_edje_icon_set(mi, "enlightenment/gadgets"); e_menu_item_callback_set(mi, _wlan_face_cb_menu_edit, nf); } ------------------------------------------------------- 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=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs