Mailinglist Archive: yast-commit (215 mails)
| < Previous | Next > |
[yast-commit] r68001 - in /trunk/dns-server: VERSION package/yast2-dns-server.changes src/dialog-masterzone.ycp
- From: locilka@xxxxxxxxxxxxxxxxx
- Date: Tue, 24 Apr 2012 08:43:58 -0000
- Message-id: <20120424084359.3AF4632521@svn2.opensuse.org>
Author: locilka
Date: Tue Apr 24 10:43:58 2012
New Revision: 68001
URL: http://svn.opensuse.org/viewcvs/yast?rev=68001&view=rev
Log:
- Fixed redrawing records settings UI entries when deleting
records (BNC#758745).
- 2.23.2
Modified:
trunk/dns-server/VERSION
trunk/dns-server/package/yast2-dns-server.changes
trunk/dns-server/src/dialog-masterzone.ycp
Modified: trunk/dns-server/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/dns-server/VERSION?rev=68001&r1=68000&r2=68001&view=diff
==============================================================================
--- trunk/dns-server/VERSION (original)
+++ trunk/dns-server/VERSION Tue Apr 24 10:43:58 2012
@@ -1 +1 @@
-2.23.1
+2.23.2
Modified: trunk/dns-server/package/yast2-dns-server.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/dns-server/package/yast2-dns-server.changes?rev=68001&r1=68000&r2=68001&view=diff
==============================================================================
--- trunk/dns-server/package/yast2-dns-server.changes (original)
+++ trunk/dns-server/package/yast2-dns-server.changes Tue Apr 24 10:43:58 2012
@@ -1,4 +1,11 @@
------------------------------------------------------------------
+Tue Apr 24 10:38:54 CEST 2012 - locilka@xxxxxxxx
+
+- Fixed redrawing records settings UI entries when deleting
+ records (BNC#758745).
+- 2.23.2
+
+------------------------------------------------------------------
Fri Apr 20 16:16:11 CEST 2012 - locilka@xxxxxxxx
- Fixed removing RRs from LDAP when they share the same LDAP
Modified: trunk/dns-server/src/dialog-masterzone.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/dns-server/src/dialog-masterzone.ycp?rev=68001&r1=68000&r2=68001&view=diff
==============================================================================
--- trunk/dns-server/src/dialog-masterzone.ycp (original)
+++ trunk/dns-server/src/dialog-masterzone.ycp Tue Apr 24 10:43:58 2012
@@ -1196,6 +1196,8 @@
);
}
+void SwitchAndAdjustEditationWidgets (string & type, map current_record,
string & decoded_zone, string & zone);
+
void RedrawZonesTable () {
integer index = -1;
string zone_name = current_zone["zone"]:"";
@@ -1270,10 +1272,12 @@
if (size (items) > 0)
{
- r = (integer)
- UI::QueryWidget (`id ("records_list"), `CurrentItem);
+ r = (integer) UI::QueryWidget (`id ("records_list"), `CurrentItem);
+
+ map current_record = current_zone["records", r]:$[];
+ string current_type = current_record["type"]:"A";
- AdjustEditationWidgets (current_zone["records", r]:$[],
decoded_zone_name, zone_name);
+ SwitchAndAdjustEditationWidgets (current_type, current_record,
decoded_zone_name, zone_name);
}
}
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
Date: Tue Apr 24 10:43:58 2012
New Revision: 68001
URL: http://svn.opensuse.org/viewcvs/yast?rev=68001&view=rev
Log:
- Fixed redrawing records settings UI entries when deleting
records (BNC#758745).
- 2.23.2
Modified:
trunk/dns-server/VERSION
trunk/dns-server/package/yast2-dns-server.changes
trunk/dns-server/src/dialog-masterzone.ycp
Modified: trunk/dns-server/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/dns-server/VERSION?rev=68001&r1=68000&r2=68001&view=diff
==============================================================================
--- trunk/dns-server/VERSION (original)
+++ trunk/dns-server/VERSION Tue Apr 24 10:43:58 2012
@@ -1 +1 @@
-2.23.1
+2.23.2
Modified: trunk/dns-server/package/yast2-dns-server.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/dns-server/package/yast2-dns-server.changes?rev=68001&r1=68000&r2=68001&view=diff
==============================================================================
--- trunk/dns-server/package/yast2-dns-server.changes (original)
+++ trunk/dns-server/package/yast2-dns-server.changes Tue Apr 24 10:43:58 2012
@@ -1,4 +1,11 @@
------------------------------------------------------------------
+Tue Apr 24 10:38:54 CEST 2012 - locilka@xxxxxxxx
+
+- Fixed redrawing records settings UI entries when deleting
+ records (BNC#758745).
+- 2.23.2
+
+------------------------------------------------------------------
Fri Apr 20 16:16:11 CEST 2012 - locilka@xxxxxxxx
- Fixed removing RRs from LDAP when they share the same LDAP
Modified: trunk/dns-server/src/dialog-masterzone.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/dns-server/src/dialog-masterzone.ycp?rev=68001&r1=68000&r2=68001&view=diff
==============================================================================
--- trunk/dns-server/src/dialog-masterzone.ycp (original)
+++ trunk/dns-server/src/dialog-masterzone.ycp Tue Apr 24 10:43:58 2012
@@ -1196,6 +1196,8 @@
);
}
+void SwitchAndAdjustEditationWidgets (string & type, map current_record,
string & decoded_zone, string & zone);
+
void RedrawZonesTable () {
integer index = -1;
string zone_name = current_zone["zone"]:"";
@@ -1270,10 +1272,12 @@
if (size (items) > 0)
{
- r = (integer)
- UI::QueryWidget (`id ("records_list"), `CurrentItem);
+ r = (integer) UI::QueryWidget (`id ("records_list"), `CurrentItem);
+
+ map current_record = current_zone["records", r]:$[];
+ string current_type = current_record["type"]:"A";
- AdjustEditationWidgets (current_zone["records", r]:$[],
decoded_zone_name, zone_name);
+ SwitchAndAdjustEditationWidgets (current_type, current_record,
decoded_zone_name, zone_name);
}
}
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |