- don't use constraints (was conflict in tab widget)

This commit is contained in:
Stanislav Ievlev 2007-07-18 16:27:25 +04:00
parent cea4fe2027
commit 97974f9102
2 changed files with 9 additions and 3 deletions

View File

@ -52,6 +52,7 @@ alterator module for tcp/ip connections configuration
%changelog
* Wed Jul 18 2007 Stanislav Ievlev <inger@altlinux.org> 0.7-alt7
- avoid wrong mac addresses from broken drivers (like rt61)
- don't use constraints (was conflict in tab widget)
* Wed Jun 13 2007 Stanislav Ievlev <inger@altlinux.org> 0.7-alt6
- add desktop file

View File

@ -40,6 +40,11 @@
(and (positive? (ifaces count))
(begin (ifaces current 0)
(update-interface (current-interface))))
(document:root
(when loaded
(update-constraints "write" "/net-eth"))))
;;constraints
(iface-dhcp (when toggled
((widgets iface-ip
iface-gw
iface-mask)
activity (not (iface-dhcp state)))))
(iface-dhcp toggled))