summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--configure.in6
-rw-r--r--gslapt.glade58
-rw-r--r--po/bg.po7
-rw-r--r--po/de.po7
-rw-r--r--po/el.po8
-rw-r--r--po/en.po7
-rw-r--r--po/es.po7
-rw-r--r--po/fr.po7
-rw-r--r--po/gl_ES.po7
-rw-r--r--po/gslapt.pot9
-rw-r--r--po/id.po7
-rw-r--r--po/it.po7
-rw-r--r--po/ja.po7
-rw-r--r--po/nl.po7
-rw-r--r--po/pl.po7
-rw-r--r--po/pt.po7
-rw-r--r--po/pt_BR.po7
-rw-r--r--po/ru.po7
-rw-r--r--po/sk.po7
-rw-r--r--po/sv.po7
-rw-r--r--po/tr.po7
-rw-r--r--po/uk.po7
-rw-r--r--po/vi.po7
-rw-r--r--po/zh_CN.po7
-rw-r--r--src/callbacks.c19
-rw-r--r--src/interface.c25
27 files changed, 219 insertions, 49 deletions
diff --git a/ChangeLog b/ChangeLog
index e722fff..28bc94f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
+0.5.2 Sep 09, 2009
+ * added file list tab in package view
+
0.5.1b Aug 11, 2009
* updated for slapt-get 0.10.1d compatibility
* added greek translation from George Vlahavas
diff --git a/configure.in b/configure.in
index 004ded0..4ad69b1 100644
--- a/configure.in
+++ b/configure.in
@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
AC_INIT
AC_CONFIG_SRCDIR([configure.in])
-AM_INIT_AUTOMAKE(gslapt, 0.5.1b)
+AM_INIT_AUTOMAKE(gslapt, 0.5.2)
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
@@ -39,8 +39,8 @@ AC_CHECK_LIB(gpgme,gpgme_new, [
[AC_DEFINE(SLAPT_HAS_GPGME, 1, [libslapt has builtin gpgme support])],
[AC_MSG_WARN(libslapt does not have gpgme support)])
], [AC_MSG_WARN(gpg support disabled)])
-dnl AC_CHECK_LIB(slapt,slapt_priority_to_str, [], [AC_MSG_ERROR(libslapt 0.10.0 or greater is required)])
-AC_CHECK_MEMBER([slapt_rc_config.use_priority], [LIBS="$LIBS -lslapt"], [AC_MSG_ERROR([libslapt 0.10.2 or greater is required])], [[#include <slapt.h>]])
+dnl AC_CHECK_MEMBER([slapt_rc_config.use_priority], [LIBS="$LIBS -lslapt"], [AC_MSG_ERROR([libslapt 0.10.2 or greater is required])], [[#include <slapt.h>]])
+AC_CHECK_LIB(slapt,slapt_get_pkg_filelist, [], [AC_MSG_ERROR(libslapt 0.10.2a or greater is required)])
LIBS="$LIBS -lglib-2.0 -lgthread-2.0"
diff --git a/gslapt.glade b/gslapt.glade
index c3eb635..d8f7a64 100644
--- a/gslapt.glade
+++ b/gslapt.glade
@@ -2837,6 +2837,64 @@
<property name="type">tab</property>
</packing>
</child>
+
+ <child>
+ <widget class="GtkScrolledWindow" id="scrolledwindow25">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_ALWAYS</property>
+ <property name="vscrollbar_policy">GTK_POLICY_ALWAYS</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
+ <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+ <child>
+ <widget class="GtkTextView" id="pkg_filelist_textview">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="overwrite">False</property>
+ <property name="accepts_tab">True</property>
+ <property name="justification">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap_mode">GTK_WRAP_WORD</property>
+ <property name="cursor_visible">False</property>
+ <property name="pixels_above_lines">0</property>
+ <property name="pixels_below_lines">0</property>
+ <property name="pixels_inside_wrap">0</property>
+ <property name="left_margin">0</property>
+ <property name="right_margin">0</property>
+ <property name="indent">0</property>
+ <property name="text" translatable="yes"></property>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="tab_expand">False</property>
+ <property name="tab_fill">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="pkg_info_filelist">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Files</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </widget>
+ <packing>
+ <property name="type">tab</property>
+ </packing>
+ </child>
</widget>
<packing>
<property name="shrink">True</property>
diff --git a/po/bg.po b/po/bg.po
index 2d005b7..6d6929b 100644
--- a/po/bg.po
+++ b/po/bg.po
@@ -5,10 +5,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: Victor Keranov <victor_keranov@mail.bg>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -535,3 +535,6 @@ msgstr "Official"
msgid "Custom"
msgstr "Custom"
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/de.po b/po/de.po
index 6c4a51e..22d3c3c 100644
--- a/po/de.po
+++ b/po/de.po
@@ -6,10 +6,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2009-04-15 00:22+0100\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: Manfred Mueller <mmueller@live-modules.org>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -540,3 +540,6 @@ msgstr "Offiziell"
msgid "Custom"
msgstr "Inoffiziell"
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/el.po b/po/el.po
index 81a134c..9d34cc0 100644
--- a/po/el.po
+++ b/po/el.po
@@ -1,6 +1,6 @@
msgid ""
msgstr ""
-"Project-Id-Version: gslapt\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
"PO-Revision-Date: \n"
@@ -535,4 +535,8 @@ msgid "Custom"
msgstr "Προσαρμοσμένη"
msgid "Installed Size"
-msgstr "Μέγεθος εγκατάστασης" \ No newline at end of file
+msgstr "Μέγεθος εγκατάστασης"
+
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/en.po b/po/en.po
index 2f67e0b..338180f 100644
--- a/po/en.po
+++ b/po/en.po
@@ -5,10 +5,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-20 16:24-0500\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: Jason Woodward <woodwardj@jaos.org>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -536,3 +536,6 @@ msgstr "Official"
msgid "Custom"
msgstr "Custom"
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/es.po b/po/es.po
index 52ecd8c..45fa1ec 100644
--- a/po/es.po
+++ b/po/es.po
@@ -5,10 +5,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: Manuel Barallobre (BARA) <bara666@gmail.com>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -532,3 +532,6 @@ msgstr "Official"
msgid "Custom"
msgstr "Custom"
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/fr.po b/po/fr.po
index ad5c620..56f3450 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -5,10 +5,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: Natim <natim@trunat.fr>\n"
"Language-Team: <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -535,3 +535,6 @@ msgstr "Official"
msgid "Custom"
msgstr "Custom"
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/gl_ES.po b/po/gl_ES.po
index 817ab6a..83492f6 100644
--- a/po/gl_ES.po
+++ b/po/gl_ES.po
@@ -5,10 +5,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: Manuel Barallobre (BARA) <bara666@gmail.com>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -532,3 +532,6 @@ msgstr "Official"
msgid "Custom"
msgstr "Custom"
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/gslapt.pot b/po/gslapt.pot
index 8dfb155..00051b1 100644
--- a/po/gslapt.pot
+++ b/po/gslapt.pot
@@ -1,14 +1,14 @@
# gslapt translation template
-# Copyright (C) 2005 Jason Woodward
+# Copyright (C) 2005-2009 Jason Woodward
# This file is distributed under the same license as the gslapt package.
# FIRST AUTHOR Jason Woodward <woodwardj@jaos.org>, 2005.
#
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: Jason Woodward <woodwardj@jaos.org>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -537,3 +537,6 @@ msgstr ""
msgid "Custom"
msgstr ""
+msgid "Files"
+msgstr ""
+
diff --git a/po/id.po b/po/id.po
index 884c6a0..c045ba2 100644
--- a/po/id.po
+++ b/po/id.po
@@ -5,10 +5,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: Kemas Antonius <kyantonius@kyantonius.com>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -535,3 +535,6 @@ msgstr "Official"
msgid "Custom"
msgstr "Custom"
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/it.po b/po/it.po
index 916f8d3..03275e2 100644
--- a/po/it.po
+++ b/po/it.po
@@ -6,10 +6,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-07-28 18:01+0000\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: Fabio Varesano <fvaresano@yahoo.it>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -536,3 +536,6 @@ msgstr "Official"
msgid "Custom"
msgstr "Custom"
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/ja.po b/po/ja.po
index 0e4c7c8..de18eae 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -6,10 +6,10 @@
# JW <J_W@somewhere.c0.jp>, 2006.
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2006-03-07 20:26+0900\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: JW <J_W@somewhere.c0.jp>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -544,3 +544,6 @@ msgstr "Official"
msgid "Custom"
msgstr "Custom"
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/nl.po b/po/nl.po
index 8dbacaa..88c61ac 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -6,10 +6,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-08-18 23:06+0200\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: Martijn Dekker <martijn@inlv.demon.nl>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -537,3 +537,6 @@ msgstr "Official"
msgid "Custom"
msgstr "Custom"
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/pl.po b/po/pl.po
index d4d6834..5bc9d10 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -5,10 +5,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-17 14:52-0500\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: Piotr Simon <sajmon@tenboard.com>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -536,3 +536,6 @@ msgstr "Official"
msgid "Custom"
msgstr "Custom"
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/pt.po b/po/pt.po
index ed2182d..5bb10d0 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -5,10 +5,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-05-06 11:10-0500\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: Pedro Pinto aka _PN_boy <pedro_nuno_pn@zmail.pt>\n"
"Language-Team: slapt-get devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -532,3 +532,6 @@ msgstr "Official"
msgid "Custom"
msgstr "Custom"
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 095d924..28bb4d7 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -6,10 +6,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: Srgio Surkamp <surkamp@gamil.com>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -537,3 +537,6 @@ msgstr "Oficial"
msgid "Custom"
msgstr "Personalizado"
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/ru.po b/po/ru.po
index 577647c..2397520 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -6,10 +6,10 @@
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-09-08 00:54\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: sin <digitalhunger@gmail.com>\n"
"Language-Team: DeepStyle team <deep@deepstyle.org.ua>\n"
"MIME-Version: 1.0\n"
@@ -537,3 +537,6 @@ msgstr "Official"
msgid "Custom"
msgstr "Custom"
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/sk.po b/po/sk.po
index ff7f108..30f8138 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -5,10 +5,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-06-23 21:28-0500\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: Erik Gyepes <depi@depi.sk>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -536,3 +536,6 @@ msgstr "Official"
msgid "Custom"
msgstr "Custom"
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/sv.po b/po/sv.po
index 31476e2..843f1ed 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -5,10 +5,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: Hakan Lindqvist <tfy00hlt@cs.umu.se>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -536,3 +536,6 @@ msgstr "Official"
msgid "Custom"
msgstr "Custom"
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/tr.po b/po/tr.po
index 0145810..74d7cec 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -4,10 +4,10 @@
# Bekir SONAT <bekirsonat@kde.org.tr>, 2006.
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: Bekir SONAT <bekirsonat@kde.org.tr>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -536,3 +536,6 @@ msgstr "Official"
msgid "Custom"
msgstr "Custom"
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/uk.po b/po/uk.po
index 90e4389..a342a8a 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -6,10 +6,10 @@
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-09-08 00:54\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: sin <digitalhunger@gmail.com>\n"
"Language-Team: DeepStyle team <deep@deepstyle.org.ua>\n"
"MIME-Version: 1.0\n"
@@ -537,3 +537,6 @@ msgstr "Official"
msgid "Custom"
msgstr "Custom"
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/vi.po b/po/vi.po
index 9291fb9..e120b2d 100644
--- a/po/vi.po
+++ b/po/vi.po
@@ -5,10 +5,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: Nguyễn Văn Vũ <vncasper@yahoo.com>\n"
"Language-Team: gnome-vi <gnomevi-list@lists.sourceforge.net>\n"
"MIME-Version: 1.0\n"
@@ -536,3 +536,6 @@ msgstr "Official"
msgid "Custom"
msgstr "Custom"
+msgid "Files"
+msgstr "Files"
+
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 1354b4d..ca566d6 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -5,10 +5,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 0.5.0\n"
+"Project-Id-Version: 0.5.2\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2008-11-28 01:29+0500\n"
+"PO-Revision-Date: 2009-09-09 10:40+0500\n"
"Last-Translator: Yang Jinsong <shannleon@gmail.com>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -537,3 +537,6 @@ msgstr "Official"
msgid "Custom"
msgstr "Custom"
+msgid "Files"
+msgstr "Files"
+
diff --git a/src/callbacks.c b/src/callbacks.c
index 45aa3cb..bf2840e 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -730,6 +730,7 @@ static void fillin_pkg_details (slapt_pkg_info_t *pkg)
gchar *short_desc;
GtkTextBuffer *pkg_full_desc;
GtkTextBuffer *pkg_changelog;
+ GtkTextBuffer *pkg_filelist;
GtkTreeStore *store;
GtkTreeIter iter;
GtkCellRenderer *renderer;
@@ -740,7 +741,7 @@ static void fillin_pkg_details (slapt_pkg_info_t *pkg)
slapt_pkg_info_t *latest_pkg = slapt_get_newest_pkg(all,pkg->name);
slapt_pkg_info_t *installed_pkg = slapt_get_newest_pkg(installed,pkg->name);
slapt_pkg_upgrade_t *pkg_upgrade = NULL;
- char *clean_desc = NULL, *changelog = NULL;
+ char *clean_desc = NULL, *changelog = NULL, *filelist = NULL;
const char *priority_str = NULL;
/* set package details */
@@ -910,6 +911,22 @@ static void fillin_pkg_details (slapt_pkg_info_t *pkg)
gtk_text_buffer_set_text(pkg_changelog, "", -1);
}
+ /* file list tab */
+ pkg_filelist = gtk_text_view_get_buffer(GTK_TEXT_VIEW(lookup_widget(gslapt,"pkg_filelist_textview")));
+ if ((filelist = slapt_get_pkg_filelist(pkg)) != NULL) {
+ if (!g_utf8_validate(filelist, -1, NULL)) {
+ char *converted = g_convert(filelist, strlen(filelist), "UTF-8", "ISO-8859-1", NULL, NULL, NULL);
+ if (converted != NULL) {
+ free(filelist);
+ filelist = converted;
+ }
+ }
+ gtk_text_buffer_set_text(pkg_filelist, filelist, -1);
+ free(filelist);
+ } else {
+ gtk_text_buffer_set_text(pkg_filelist, "", -1);
+ }
+
/* set status */
if ((slapt_get_exact_pkg(trans->exclude_pkgs,pkg->name,pkg->version) != NULL) ||
slapt_is_excluded(global_config,pkg) == 1) {
diff --git a/src/interface.c b/src/interface.c
index 141e31c..6dc442e 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -638,6 +638,9 @@ create_gslapt (void)
GtkWidget *scrolledwindow23;
GtkWidget *pkg_changelog_textview;
GtkWidget *pkg_info_changelog;
+ GtkWidget *scrolledwindow25;
+ GtkWidget *pkg_filelist_textview;
+ GtkWidget *pkg_info_filelist;
GtkWidget *bottom_statusbar;
GtkAccelGroup *accel_group;
GtkTooltips *tooltips;
@@ -1472,6 +1475,25 @@ create_gslapt (void)
gtk_widget_show (pkg_info_changelog);
gtk_notebook_set_tab_label (GTK_NOTEBOOK (pkg_info_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (pkg_info_notebook), 3), pkg_info_changelog);
+ scrolledwindow25 = gtk_scrolled_window_new (NULL, NULL);
+ gtk_widget_set_name (scrolledwindow25, "scrolledwindow25");
+ gtk_widget_show (scrolledwindow25);
+ gtk_container_add (GTK_CONTAINER (pkg_info_notebook), scrolledwindow25);
+ gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow25), GTK_SHADOW_IN);
+
+ pkg_filelist_textview = gtk_text_view_new ();
+ gtk_widget_set_name (pkg_filelist_textview, "pkg_filelist_textview");
+ gtk_widget_show (pkg_filelist_textview);
+ gtk_container_add (GTK_CONTAINER (scrolledwindow25), pkg_filelist_textview);
+ gtk_text_view_set_editable (GTK_TEXT_VIEW (pkg_filelist_textview), FALSE);
+ gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (pkg_filelist_textview), GTK_WRAP_WORD);
+ gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (pkg_filelist_textview), FALSE);
+
+ pkg_info_filelist = gtk_label_new (_("Files"));
+ gtk_widget_set_name (pkg_info_filelist, "pkg_info_filelist");
+ gtk_widget_show (pkg_info_filelist);
+ gtk_notebook_set_tab_label (GTK_NOTEBOOK (pkg_info_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (pkg_info_notebook), 4), pkg_info_filelist);
+
bottom_statusbar = gtk_statusbar_new ();
gtk_widget_set_name (bottom_statusbar, "bottom_statusbar");
gtk_widget_show (bottom_statusbar);
@@ -1661,6 +1683,9 @@ create_gslapt (void)
GLADE_HOOKUP_OBJECT (gslapt, scrolledwindow23, "scrolledwindow23");
GLADE_HOOKUP_OBJECT (gslapt, pkg_changelog_textview, "pkg_changelog_textview");
GLADE_HOOKUP_OBJECT (gslapt, pkg_info_changelog, "pkg_info_changelog");
+ GLADE_HOOKUP_OBJECT (gslapt, scrolledwindow25, "scrolledwindow25");
+ GLADE_HOOKUP_OBJECT (gslapt, pkg_filelist_textview, "pkg_filelist_textview");
+ GLADE_HOOKUP_OBJECT (gslapt, pkg_info_filelist, "pkg_info_filelist");
GLADE_HOOKUP_OBJECT (gslapt, bottom_statusbar, "bottom_statusbar");
GLADE_HOOKUP_OBJECT_NO_REF (gslapt, tooltips, "tooltips");