diff options
@@ -0,0 +1,89 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Freeze push
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Freeze%20push&In-Reply-To=%3CCACYHsMy5ZeJXvhHvU0iVAiJTzQs2dKKCJH8-yzmvoAmZ-Ts%2B_g%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="013880.html">
+ <LINK REL="Next" HREF="013859.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Freeze push</H1>
+ <B>Anne nicolas</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Freeze%20push&In-Reply-To=%3CCACYHsMy5ZeJXvhHvU0iVAiJTzQs2dKKCJH8-yzmvoAmZ-Ts%2B_g%40mail.gmail.com%3E"
+ TITLE="[Mageia-dev] Freeze push">ennael at mageia.org
+ </A><BR>
+ <I>Tue Apr 3 17:37:28 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="013880.html">[Mageia-dev] freeze push: mutt
+</A></li>
+ <LI>Next message: <A HREF="013859.html">[Mageia-dev] Freeze push
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#13858">[ date ]</a>
+ <a href="thread.html#13858">[ thread ]</a>
+ <a href="subject.html#13858">[ subject ]</a>
+ <a href="author.html#13858">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Hi there
+
+Please let in new version for drbd-utils. It needs to be synced with
+kernel module version. This version is mainly a bug fixes version
+
+Cheers
+
+--
+Anne
+<A HREF="http://www.mageia.org">http://www.mageia.org</A>
+</PRE>
+
+
- more readable repack
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-x | perl-install/standalone/drakconnect | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index ace8d710b..1ff2b2c60 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -283,7 +283,10 @@ sub build_notebook { gtkpack_($gui->{sheet}{N("TCP/IP")} = Gtk2::VBox->new(0,0), if_($interface =~ /eth/, 0, $gui->{intf}{BOOTPROTO} = gtksignal_connect(Gtk2::OptionMenu->new, - changed => sub { $_->set_sensitive($gui->{intf}{BOOTPROTO}->get_text eq "static" ? 1 : 0) foreach $gui->{intf}{IPADDR}, $gui->{intf}{NETMASK}, $gui->{netc}{GATEWAY}; $apply->() }, + changed => sub { + foreach ($gui->{intf}{IPADDR}, $gui->{intf}{NETMASK}, $gui->{netc}{GATEWAY}) { + $_->set_sensitive($gui->{intf}{BOOTPROTO}->get_text eq "static" ? 1 : 0) + }; $apply->() }, ), ), 1, gtkpack(Gtk2::HBox->new(0,0), @@ -321,8 +324,11 @@ sub build_notebook { ), ), ); - $interface =~ /eth/ ? $gui->{intf}{BOOTPROTO}->set_popdown_strings(N_("static"), N_("dhcp")) : delete $gui->{intf}{BOOTPROTO}; - $interface !~ /eth/ and $_->set_sensitive(0) foreach $gui->{intf}{IPADDR}, $gui->{intf}{NETMASK}; + if ($interface =~ /eth/) { $gui->{intf}{BOOTPROTO}->set_popdown_strings(N_("static"), N_("dhcp")) } + else { + $_->set_sensitive(0) foreach $gui->{intf}{IPADDR}, $gui->{intf}{NETMASK}; + delete $gui->{intf}{BOOTPROTO}; + } !$intf->{IPADDR} and ($intf->{IPADDR}, $gui->{active}, $intf->{NETMASK}) = get_intf_ip($interface); $gui->{netc}{$_}->set_text($netc->{$_}) foreach keys %{$gui->{netc}}; } |