[Trisquel-devel] Rev 19: extra/gnome-app-install: Updated AppDescView.py to fix descriptions failing to load in brigantia in file:///home/bzr/trisquel-packages/trunk/
Ruben Rodriguez
ruben at trisquel.info
Thu Mar 15 14:38:02 CET 2012
At file:///home/bzr/trisquel-packages/trunk/
------------------------------------------------------------
revno: 19
revision-id: ruben en trisquel.info-20120315133749-udhca0t4c215bdn1
parent: ruben en trisquel.info-20120315011955-y17jp96egc5teopo
committer: Ruben Rodriguez <ruben en trisquel.info>
branch nick: trunk
timestamp: Thu 2012-03-15 14:37:49 +0100
message:
extra/gnome-app-install: Updated AppDescView.py to fix descriptions failing to load in brigantia
------------ pr�xima parte ------------
=== modified file 'extra/gnome-app-install/AppInstall/widgets/AppDescView.py'
--- a/extra/gnome-app-install/AppInstall/widgets/AppDescView.py 2011-07-30 15:52:07 +0000
+++ b/extra/gnome-app-install/AppInstall/widgets/AppDescView.py 2012-03-15 13:37:49 +0000
@@ -148,7 +148,7 @@
pango_context = self.get_pango_context()
font_desc = pango_context.get_font_description()
font_size = font_desc.get_size() / pango.SCALE
- if item.iconname != "":
+ if item.iconname == "":
# justify the icon and the app name
if font_size * pango.SCALE_LARGE > 32:
icon_size = 32
@@ -190,7 +190,7 @@
buffer.insert_with_tags_by_name(iter, "%s" % item.name, "app-name")
emblems = self.distro.get_app_emblems(item, self.cache)
- if short_desc != "":
+ if short_desc == "":
tag_name = buffer.create_tag("short-desc",
weight=pango.WEIGHT_BOLD)
buffer.insert_with_tags_by_name(iter,
@@ -245,13 +245,13 @@
#foo = gtk.Frame(self.distro.get_maintenance_status(item, self.cache))
#foo.show()
#self.add_child_at_anchor(foo, anchor)
- buffer.create_tag("maint-status",
- scale_set=True,
- scale=pango.SCALE_SMALL,
- foreground="#888")
+ #buffer.create_tag("maint-status",
+ # scale_set=True,
+ # scale=pango.SCALE_SMALL,
+ # foreground="#888")
# foreground_gdk=style.base[gtk.STATE_INSENSITIVE])
- m = self.distro.get_maintenance_status(item, self.cache)
- buffer.insert_with_tags_by_name(iter, "\n%s" % m, "maint-status")
+ #m = self.distro.get_maintenance_status(item, self.cache)
+ #buffer.insert_with_tags_by_name(iter, "\n%s" % m, "maint-status")
def show_message(self, header, msg):
""" Show a quick introduction to gnome-app-install
=== modified file 'extra/gnome-app-install/debian/changelog'
--- a/extra/gnome-app-install/debian/changelog 2011-11-09 01:31:16 +0000
+++ b/extra/gnome-app-install/debian/changelog 2012-03-15 13:37:49 +0000
@@ -1,3 +1,10 @@
+gnome-app-install (0.5.60.1ubuntu2trisquel6-3) slaine; urgency=low
+
+ * Updated AppDescView.py to fix descriptions failing to load in
+ brigantia
+
+ -- Trisquel GNU/Linux developers <trisquel-devel en listas.trisquel.info> Thu, 15 Mar 2012 14:34:39 +0100
+
gnome-app-install (0.5.60.1ubuntu2trisquel6-2) slaine; urgency=low
* Now provids software-center, fixes #4105
=== modified file 'extra/gnome-app-install/po/gnome-app-install.pot'
--- a/extra/gnome-app-install/po/gnome-app-install.pot 2012-03-12 02:24:21 +0000
+++ b/extra/gnome-app-install/po/gnome-app-install.pot 2012-03-15 13:37:49 +0000
@@ -9,7 +9,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: Sebastian Heinlein <sebi en glatzor.de>\n"
-"POT-Creation-Date: 2011-11-09 02:32+0100\n"
+"POT-Creation-Date: 2012-03-15 14:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL en ADDRESS>\n"
"Language-Team: LANGUAGE <LL en li.org>\n"
More information about the Trisquel-devel
mailing list