Commit fd3a6981 by Ruben Rodriguez

extra/gnome-app-install: Updated AppDescView.py to fix descriptions failing to load in brigantia

parent 7ee29d45
......@@ -148,7 +148,7 @@ class AppDescView(ReleaseNotesViewer):
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 @@ class AppDescView(ReleaseNotesViewer):
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 @@ class AppDescView(ReleaseNotesViewer):
#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
......
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@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
......
......@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: Sebastian Heinlein <sebi@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@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment