Author: rpmcruz
Date: Mon Feb 22 17:32:57 2010
New Revision: 60954
URL: http://svn.opensuse.org/viewcvs/yast?rev=60954&view=rev
Log:
* src/pkg/yzyppwrapper.h/cc: extend previous commit to
groups of packages.
Modified:
trunk/gtk/ChangeLog
trunk/gtk/src/pkg/ygtkpkgstatusbar.cc
trunk/gtk/src/pkg/yzyppwrapper.cc
Modified: trunk/gtk/ChangeLog
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/ChangeLog?rev=60954&r1=60953&r2=60954&view=diff
==============================================================================
--- trunk/gtk/ChangeLog (original)
+++ trunk/gtk/ChangeLog Mon Feb 22 17:32:57 2010
@@ -1,3 +1,8 @@
+2010-02-22 Ricardo Cruz
+
+ * src/pkg/yzyppwrapper.h/cc: extend previous commit to
+ groups of packages.
+
2010-02-21 Ricardo Cruz
* src/pkg/yzyppwrapper.h/cc: if user cancels dependency
Modified: trunk/gtk/src/pkg/ygtkpkgstatusbar.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/pkg/ygtkpkgstatusbar.cc?rev=60954&r1=60953&r2=60954&view=diff
==============================================================================
--- trunk/gtk/src/pkg/ygtkpkgstatusbar.cc (original)
+++ trunk/gtk/src/pkg/ygtkpkgstatusbar.cc Mon Feb 22 17:32:57 2010
@@ -56,7 +56,7 @@
set_small_widget (undo_button);
g_signal_connect (G_OBJECT (undo_button), "clicked",
G_CALLBACK (undo_clicked_cb), this);
- gchar *str = g_strdup_printf ("(%s</a>)", _("see all changes"));
+ gchar *str = g_strdup_printf ("(%s</a>)", _("view all changes"));
GtkWidget *more = gtk_label_new (str);
g_free (str);
gtk_label_set_use_markup (GTK_LABEL (more), TRUE);
Modified: trunk/gtk/src/pkg/yzyppwrapper.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/pkg/yzyppwrapper.cc?rev=60954&r1=60953&r2=60954&view=diff
==============================================================================
--- trunk/gtk/src/pkg/yzyppwrapper.cc (original)
+++ trunk/gtk/src/pkg/yzyppwrapper.cc Mon Feb 22 17:32:57 2010
@@ -1161,7 +1161,8 @@
for (std::vector <Selectable>::iterator it = impl->vector.begin();
it != impl->vector.end(); it++)
it->install();
- finishTransactions();
+ if (!finishTransactions())
+ undo();
}
void Ypp::List::remove()
@@ -1170,7 +1171,8 @@
for (std::vector <Selectable>::iterator it = impl->vector.begin();
it != impl->vector.end(); it++)
it->remove();
- finishTransactions();
+ if (!finishTransactions())
+ undo();
}
void Ypp::List::lock (bool lock)
@@ -1179,7 +1181,8 @@
for (std::vector <Selectable>::iterator it = impl->vector.begin();
it != impl->vector.end(); it++)
it->lock (lock);
- finishTransactions();
+ if (!finishTransactions())
+ undo();
}
void Ypp::List::undo()
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org