From ec6c5d93819806703423086faa42d8a0e559a1f8 Mon Sep 17 00:00:00 2001 From: guinux Date: Sat, 13 Apr 2013 14:01:50 +0200 Subject: [PATCH] little gui fixes --- gui/manager.glade | 10 +++++++--- pamac/main.py | 4 +++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gui/manager.glade b/gui/manager.glade index 3f5f9a0..bd160a3 100644 --- a/gui/manager.glade +++ b/gui/manager.glade @@ -667,6 +667,7 @@ True packages_list 0 + True False @@ -676,7 +677,8 @@ True - autosize + fixed + 100 State True True @@ -706,7 +708,8 @@ True - autosize + fixed + 250 Name True True @@ -724,7 +727,8 @@ True - autosize + fixed + 50 Size True True diff --git a/pamac/main.py b/pamac/main.py index f572163..4cae84f 100644 --- a/pamac/main.py +++ b/pamac/main.py @@ -279,7 +279,9 @@ def set_packages_list(): def set_infos_list(pkg): name_label.set_markup('{} {}'.format(pkg.name, pkg.version)) - desc_label.set_markup(pkg.desc) + # fix & in desc + desc = pkg.desc.replace('&', '&') + desc_label.set_markup(desc) # fix & in url url = pkg.url.replace('&', '&') link_label.set_markup('{_url}'.format(_url = url))