[yast-commit] r48628 - /trunk/ldap-server/src/tree_structure.ycp
Author: rhafer Date: Fri Jun 27 15:59:16 2008 New Revision: 48628 URL: http://svn.opensuse.org/viewcvs/yast?rev=48628&view=rev Log: deleting Indexes should work now Modified: trunk/ldap-server/src/tree_structure.ycp Modified: trunk/ldap-server/src/tree_structure.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ldap-server/src/tree_structure.ycp?rev=48628&r1=48627&r2=48628&view=diff ============================================================================== --- trunk/ldap-server/src/tree_structure.ycp (original) +++ trunk/ldap-server/src/tree_structure.ycp Fri Jun 27 15:59:16 2008 @@ -1049,6 +1049,19 @@ cb_read_bdb_index(); } } + else if ( handler_cmd == `pb_idx_del ) + { + any current_item_id = UI::QueryWidget(`tab_idx, `CurrentItem ); + string editAttr = (string)UI::QueryWidget(`tab_idx, `Cell( current_item_id, 0 ) ); + y2milestone("Selected Attr: %1 %2", current_item_id, editAttr ); + map<string, any> delIdx = $[]; + delIdx["name"] = editAttr; + delIdx["sub"] = false; + delIdx["pres"] = false; + delIdx["eq"] = false; + LdapServer::ChangeDatabaseIndex( index, delIdx ); + cb_read_bdb_index(); + } return true; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
rhafer@svn.opensuse.org