Mailinglist Archive: yast-commit (396 mails)

< Previous Next >
[yast-commit] r65241 - in /trunk/installation: VERSION package/yast2-installation.changes src/clients/inst_upgrade_urls.ycp
Author: lslezak
Date: Fri Aug 5 14:19:21 2011
New Revision: 65241

URL: http://svn.opensuse.org/viewcvs/yast?rev=65241&view=rev
Log:
- upgrade_urls.ycp - do not display reading and writing progress,
it is pretty quick and just causes screen flickering
(the write progress is displayed only when there is an enabled
repo to add, refreshing it can take long time) (bnc#692614)
- 2.21.13

Modified:
trunk/installation/VERSION
trunk/installation/package/yast2-installation.changes
trunk/installation/src/clients/inst_upgrade_urls.ycp

Modified: trunk/installation/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/installation/VERSION?rev=65241&r1=65240&r2=65241&view=diff
==============================================================================
--- trunk/installation/VERSION (original)
+++ trunk/installation/VERSION Fri Aug 5 14:19:21 2011
@@ -1 +1 @@
-2.21.12
+2.21.13

Modified: trunk/installation/package/yast2-installation.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/installation/package/yast2-installation.changes?rev=65241&r1=65240&r2=65241&view=diff
==============================================================================
--- trunk/installation/package/yast2-installation.changes (original)
+++ trunk/installation/package/yast2-installation.changes Fri Aug 5 14:19:21
2011
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Fri Aug 5 12:13:13 UTC 2011 - lslezak@xxxxxxx
+
+- upgrade_urls.ycp - do not display reading and writing progress,
+ it is pretty quick and just causes screen flickering
+ (the write progress is displayed only when there is an enabled
+ repo to add, refreshing it can take long time) (bnc#692614)
+- 2.21.13
+
+-------------------------------------------------------------------
Fri Aug 5 12:32:16 CEST 2011 - tgoettlicher@xxxxxxx

- fixed .desktop file (bnc #681249)

Modified: trunk/installation/src/clients/inst_upgrade_urls.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/installation/src/clients/inst_upgrade_urls.ycp?rev=65241&r1=65240&r2=65241&view=diff
==============================================================================
--- trunk/installation/src/clients/inst_upgrade_urls.ycp (original)
+++ trunk/installation/src/clients/inst_upgrade_urls.ycp Fri Aug 5 14:19:21
2011
@@ -1011,6 +1011,13 @@
return (one_source != sformat ("ID: %1", do_not_remove));
});

+ boolean progress = Progress::status();
+
+ if (size(sources_to_add) == 0)
+ {
+ Progress::set(false);
+ }
+
SetAddRemoveSourcesProgress (sources_to_remove, sources_to_add,
sources_to_add_disabled);

PackageCallbacks::RegisterEmptyProgressCallbacks();
@@ -1027,35 +1034,17 @@

PackageCallbacks::RestorePreviousProgressCallbacks();

- return `next;
- }
+ if (size(sources_to_add) == 0)
+ {
+ Progress::set(progress);
+ }

- void SetProgressUI () {
- Progress::New (
- // TRANSLATORS: dialog caption
- _("Reading Repositories Used on the System"),
- " ",
- 2,
- [
- // TRANSLATORS: progress step
- _("Read previously used repositories"),
- _("Initialize software manager"),
- ],
- [
- // TRANSLATORS: progress step
- _("Reading previously used repositories..."),
- _("Initializing software manager..."),
- ],
- // TRANSLATORS: dialog help
- _("<p>Reading repositories. Please wait...</p>")
- );
- Wizard::SetTitleIcon ("yast-sw_source");
+ return `next;
}

// for testing purpose
if (Mode::normal()) Wizard::CreateDialog();

- SetProgressUI();
Progress::NextStage();

// Read the old repos (old type)

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

< Previous Next >
This Thread
  • No further messages