- cleanup
authorJan Kupec <jkupec@suse.cz>
Mon, 28 Apr 2008 13:35:42 +0000 (13:35 +0000)
committerJan Kupec <jkupec@suse.cz>
Mon, 28 Apr 2008 13:35:42 +0000 (13:35 +0000)
src/zypper-info.cc
src/zypper-repo-callbacks.h

index 5cd1751..23e5d73 100644 (file)
@@ -217,13 +217,13 @@ void printPatchInfo(const Zypper & zypper, const ui::Selectable & s )
   Patch::constPtr patch = asKind<Patch>(pool_item.resolvable());
   cout << _("Category: ") << patch->category() << endl;
   cout << _("Created On: ") << patch->timestamp().asString() << endl;
-  cout << _("Reboot Required: ") << (patch->reboot_needed() ? _("Yes") : _("No")) << endl;
+  cout << _("Reboot Required: ") << (patch->rebootSuggested() ? _("Yes") : _("No")) << endl;
 
   if (!zypper.globalOpts().is_rug_compatible)
     cout << _("Package Manager Restart Required") << ": ";
   else
     cout << _("Restart Required: ");
-  cout << (patch->affects_pkg_manager() ? _("Yes") : _("No")) << endl;
+  cout << (patch->restartSuggested() ? _("Yes") : _("No")) << endl;
 
   cout << _("Interactive: ") << (patch->interactive() ? _("Yes") : _("No")) << endl;
 
index a29031c..0750b97 100644 (file)
@@ -186,7 +186,7 @@ struct DownloadResolvableReportReceiver : public zypp::callback::ReceiveReport<z
 
   // implementation not needed prehaps - the media backend reports the download progress
   /*
-  virtual void finish( zypp::Resolvable::constPtr /*resolvable_ptr*//*, Error error, const std::string & reason )
+  virtual void finish( zypp::Resolvable::constPtr **resolvable_ptr**, Error error, const std::string & reason )
   {
     display_done ("download-resolvable", cout_v);
     display_error (error, reason);