Author: baby-guest
Date: 2007-07-04 09:35:52 +0000 (Wed, 04 Jul 2007)
New Revision: 3229

Modified:
   software/ui/src/pkgbrowser.cpp
Log:
hide the facet and tag names, show only descriptions



Modified: software/ui/src/pkgbrowser.cpp
===================================================================
--- software/ui/src/pkgbrowser.cpp      2007-07-04 09:20:01 UTC (rev 3228)
+++ software/ui/src/pkgbrowser.cpp      2007-07-04 09:35:52 UTC (rev 3229)
@@ -130,19 +130,18 @@
                        }
                        delete [] pkg_txt;
 
-                       static int widths[] = { 80, 80, 0 }; // widths for each 
column
+                       static int widths[] = { 150, 0 }; // widths for each 
column
                        ui->DebTagsBrowser->clear();
                        ui->DebTagsBrowser->showcolsep(1);
                        ui->DebTagsBrowser->column_widths(widths);
-                       ui->DebTagsBrowser->add("@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]");
+                       ui->DebTagsBrowser->add("@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]");
 
                        set<Tag> tags = 
ui->engine->debtags().getTagsOfItem((const char *)data);
                        char *tag_txt = new char[512];
                        for (set<Tag>::const_iterator i = tags.begin(); i != 
tags.end(); ++i)
                        {
-                               snprintf(tag_txt, 512, "%s\t%s\t%s",
-                                       gettext(i->facet().name().c_str()),
-                                       gettext(i->name().c_str()),
+                               snprintf(tag_txt, 512, "%s\t%s",
+                                       
gettext(i->facet().shortDescription().c_str()),
                                        gettext(i->shortDescription().c_str())
                                );
                                ui->DebTagsBrowser->add(tag_txt);


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to