Author: rpmcruz
Date: Wed Oct 10 16:54:01 2007
New Revision: 41339
URL: http://svn.opensuse.org/viewcvs/yast?rev=41339&view=rev
Log:
* src/YGPackageSelector.cc: fixed bug #330467. Do a full match to
map patterns wanted packages for the packages in the pool.
* fixed a couple of warnings.
Modified:
trunk/gtk/ChangeLog
trunk/gtk/src/YGPackageSelector.cc
trunk/gtk/src/YGUtils.cc
trunk/gtk/src/ygtkrichtext.c
Modified: trunk/gtk/ChangeLog
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/ChangeLog?rev=41339&r1=41338&r2=41339&view=diff
==============================================================================
--- trunk/gtk/ChangeLog (original)
+++ trunk/gtk/ChangeLog Wed Oct 10 16:54:01 2007
@@ -1,3 +1,10 @@
+2007-10-10 Ricardo Cruz
+
+ * src/YGPackageSelector.cc: fixed bug #330467. Do a full match to
+ map patterns wanted packages for the packages in the pool.
+
+ * fixed a couple of warnings.
+
2007-10-03 Boyd Timothy
* src/YGPackageSelector.cc: Use the "available" name to sort
Modified: trunk/gtk/src/YGPackageSelector.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/YGPackageSelector.cc?rev=41339&r1=41338&r2=41339&view=diff
==============================================================================
--- trunk/gtk/src/YGPackageSelector.cc (original)
+++ trunk/gtk/src/YGPackageSelector.cc Wed Oct 10 16:54:01 2007
@@ -1503,7 +1503,7 @@
zyppPool().byKindBegin zypp::Package();
pt2 != zyppPool().byKindEnd zypp::Package(); pt2++) {
ZyppSelectable sel = *pt2;
- if (YGUtils::contains (sel->name(), *pt1)) {
+ if (sel->name() == *pt1) {
gtk_tree_store_append (store, &package_iter, &pattern_iter);
loadPackageRow (model, &package_iter, sel);
}
@@ -1783,7 +1783,7 @@
// to finish writting
if (pThis->search_timeout_id)
g_source_remove (pThis->search_timeout_id);
- pThis->search_timeout_id = g_timeout_add (1000, search_cb, pThis);
+ pThis->search_timeout_id = g_timeout_add (500, search_cb, pThis);
}
struct FindClosure {
Modified: trunk/gtk/src/YGUtils.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/YGUtils.cc?rev=41339&r1=41338&r2=41339&view=diff
==============================================================================
--- trunk/gtk/src/YGUtils.cc (original)
+++ trunk/gtk/src/YGUtils.cc Wed Oct 10 16:54:01 2007
@@ -82,7 +82,7 @@
<!-- DT:Rich --> */
static bool dont_escape (const string &str)
{
- char *comment = "<!-- DT:Rich -->";
+ const char *comment = "<!-- DT:Rich -->";
if (str.length() < sizeof (comment))
return false;
for (unsigned int i = 0; i < sizeof (comment); i++)
Modified: trunk/gtk/src/ygtkrichtext.c
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/ygtkrichtext.c?rev=41339&r1=41338&r2=41339&view=diff
==============================================================================
--- trunk/gtk/src/ygtkrichtext.c (original)
+++ trunk/gtk/src/ygtkrichtext.c Wed Oct 10 16:54:01 2007
@@ -519,7 +519,7 @@
rt_error
};
-GtkWidget *ygtk_richtext_new()
+GtkWidget *ygtk_richtext_new (void)
{
return g_object_new (YGTK_TYPE_RICHTEXT, NULL);
}
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org