Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54573 - in /trunk/packager: package/yast2-packager.changes src/clients/repositories.ycp src/modules/SourceDialogs.ycp
  • From: lslezak@xxxxxxxxxxxxxxxx
  • Date: Tue, 13 Jan 2009 13:50:51 -0000
  • Message-id: <E1LMjfP-00059f-DC@xxxxxxxxxxxxxxxx>
Author: lslezak
Date: Tue Jan 13 14:50:51 2009
New Revision: 54573

URL: http://svn.opensuse.org/viewcvs/yast?rev=54573&view=rev
Log:
- display USB devices when adding USB mass storage repository
(bnc#465650)
- 2.18.0

Modified:
trunk/packager/package/yast2-packager.changes
trunk/packager/src/clients/repositories.ycp
trunk/packager/src/modules/SourceDialogs.ycp

Modified: trunk/packager/package/yast2-packager.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/packager/package/yast2-packager.changes?rev=54573&r1=54572&r2=54573&view=diff
==============================================================================
--- trunk/packager/package/yast2-packager.changes (original)
+++ trunk/packager/package/yast2-packager.changes Tue Jan 13 14:50:51 2009
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Tue Jan 13 14:28:50 CET 2009 - lslezak@xxxxxxx
+
+- display USB devices when adding USB mass storage repository
+ (bnc#465650)
+- 2.18.0
+
+-------------------------------------------------------------------
Wed Dec 31 11:47:00 CET 2008 - lslezak@xxxxxxx

- repositories.ycp - better layout for too small window size

Modified: trunk/packager/src/clients/repositories.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/clients/repositories.ycp?rev=54573&r1=54572&r2=54573&view=diff
==============================================================================
--- trunk/packager/src/clients/repositories.ycp (original)
+++ trunk/packager/src/clients/repositories.ycp Tue Jan 13 14:50:51 2009
@@ -1471,7 +1471,7 @@
}
else
{
- selected_url_scheme = URL::Parse(SourceDialogs::GetURL())["scheme"]:"";
+ selected_url_scheme =
URL::Parse(SourceDialogs::GetRawURL())["scheme"]:"";
y2milestone("Selected URL scheme: %1", selected_url_scheme);

if (selected_url_scheme == nil || selected_url_scheme == "")

Modified: trunk/packager/src/modules/SourceDialogs.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/modules/SourceDialogs.ycp?rev=54573&r1=54572&r2=54573&view=diff
==============================================================================
--- trunk/packager/src/modules/SourceDialogs.ycp (original)
+++ trunk/packager/src/modules/SourceDialogs.ycp Tue Jan 13 14:50:51 2009
@@ -136,6 +136,15 @@
else return _url;
}

+/**
+ * Return the configured URL in the dialog, do not do any conversion (return
the internal value)
+ * @return string raw internal URL
+ */
+global string GetRawURL()
+{
+ return _url;
+}
+
global boolean IsPlainDir()
{
return _plaindir;
@@ -852,6 +861,7 @@

list<map<string,any> > DetectDisk(boolean usb_only)
{
+ y2milestone("Detecting %1USB disks", usb_only ? "" : "non-");
list<map> disks = (list<map>)SCR::Read(.probe.disk);

y2debug("Detected disks: %1", disks);
@@ -863,7 +873,7 @@
}
);

- y2milestone("Non usb-storage disks: %1", disks);
+ y2milestone("Found disks: %1", disks);

list<map<string,any> > ret = [];


--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages