summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog11
-rw-r--r--NEWS6
-rw-r--r--configure.in6
-rw-r--r--po/ChangeLog4
-rw-r--r--po/am.po2
-rw-r--r--po/ar.po2
-rw-r--r--po/az.po2
-rw-r--r--po/be.po2
-rw-r--r--po/bn.po2
-rw-r--r--po/ca.po2
-rw-r--r--po/cs.po2
-rw-r--r--po/cy.po2
-rw-r--r--po/da.po2
-rw-r--r--po/de.po2
-rw-r--r--po/el.po2
-rw-r--r--po/en_GB.po2
-rw-r--r--po/es.po2
-rw-r--r--po/et.po2
-rw-r--r--po/eu.po2
-rw-r--r--po/fi.po2
-rw-r--r--po/fr.po2
-rw-r--r--po/ga.po2
-rw-r--r--po/hi.po2
-rw-r--r--po/hu.po2
-rw-r--r--po/is.po2
-rw-r--r--po/it.po2
-rw-r--r--po/ja.po2
-rw-r--r--po/ko.po2
-rw-r--r--po/lt.po2
-rw-r--r--po/ml.po2
-rw-r--r--po/mn.po2
-rw-r--r--po/ms.po2
-rw-r--r--po/ne.po2
-rw-r--r--po/nl.po2
-rw-r--r--po/no.po2
-rw-r--r--po/pl.po2
-rw-r--r--po/pt.po2
-rw-r--r--po/pt_BR.po2
-rw-r--r--po/ru.po2
-rw-r--r--po/sk.po2
-rw-r--r--po/sl.po2
-rw-r--r--po/sq.po2
-rw-r--r--po/sr.po2
-rw-r--r--po/sr@Latn.po2
-rw-r--r--po/sv.po2
-rw-r--r--po/ta.po2
-rw-r--r--po/uk.po2
-rw-r--r--po/vi.po2
-rw-r--r--po/zh_CN.po2
-rw-r--r--po/zh_TW.po2
-rw-r--r--src/fileselection.c48
51 files changed, 96 insertions, 71 deletions
diff --git a/ChangeLog b/ChangeLog
index 2373984c..ceca4cf1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
2003-12-30 Glynn Foster <glynn.foster@sun.com>
+ * configure.in: Release 2.5.1, a ridiculous bump
+ so that we sync with the GNOME desktop releases.
+
+2003-12-30 Jan Arne Petersen <jpetersen@uni-bonn.de>
+
+ * src/fileselection.c: (zenity_fileselection),
+ (zenity_fileselection_dialog_response): Replace
+ GtkFileSelection with GtkFileChooser.
+
+2003-12-30 Glynn Foster <glynn.foster@sun.com>
+
* configure.in: Release 1.8
2003-12-28 Christian Rose <menthos@menthos.com>
diff --git a/NEWS b/NEWS
index 295dd992..accd9687 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+Zenity 2.5.1
+============
+" Zen beginnings "
+
+ * Use the new file selection widget [Jan]
+
Zenity 1.8
==========
" Zenning into the new year "
diff --git a/configure.in b/configure.in
index a5ba0ae0..0e8361de 100644
--- a/configure.in
+++ b/configure.in
@@ -1,7 +1,7 @@
AC_PREREQ(2.53)
AC_INIT(src)
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(zenity, 1.8)
+AM_INIT_AUTOMAKE(zenity, 2.5.1)
AM_MAINTAINER_MODE
@@ -9,7 +9,9 @@ AC_PROG_INTLTOOL([0.21])
AC_PROG_CC
-PKG_CHECK_MODULES(ZENITY, gtk+-2.0 libglade-2.0 gconf-2.0 libgnomecanvas-2.0)
+GTK_REQUIRED=2.3.1
+
+PKG_CHECK_MODULES(ZENITY, gtk+-2.0 >= $GTK_REQUIRED libglade-2.0 gconf-2.0 libgnomecanvas-2.0)
AC_SUBST(ZENITY_CFLAGS)
AC_SUBST(ZENITY_LIBS)
diff --git a/po/ChangeLog b/po/ChangeLog
index e5b2f5d1..60a84ca4 100644
--- a/po/ChangeLog
+++ b/po/ChangeLog
@@ -1,4 +1,8 @@
2003-12-30 Glynn Foster <glynn.foster@sun.com>
+
+ * 2.5.1 version marker
+
+2003-12-30 Glynn Foster <glynn.foster@sun.com>
* 1.8 version marker
diff --git a/po/am.po b/po/am.po
index 4b9f9718..03638e0e 100644
--- a/po/am.po
+++ b/po/am.po
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-02-03 10:13+EDT\n"
"Last-Translator: Ge'ez Frontier Foundation <locales@geez.org>\n"
"Language-Team: Amharic <locales@geez.org>\n"
diff --git a/po/ar.po b/po/ar.po
index 8a34b436..bd7751e5 100644
--- a/po/ar.po
+++ b/po/ar.po
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-12-20 14:45+0100\n"
"Last-Translator: Hassan Abdin <habdin@link.net>\n"
"Language-Team: Arabic <en@li.org>\n"
diff --git a/po/az.po b/po/az.po
index 69ff4959..f5b0cd8f 100644
--- a/po/az.po
+++ b/po/az.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity.HEAD\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-07-18 21:21+0300\n"
"Last-Translator: Mətin Əmirov <metin@karegen.com>\n"
"Language-Team: Azerbaijan dili <gnome@azitt.com>\n"
diff --git a/po/be.po b/po/be.po
index 3ee0c7d8..f3e2d097 100644
--- a/po/be.po
+++ b/po/be.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity HEAD\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-07-28 16:38+0300\n"
"Last-Translator: Ales Nyakhaychyk <nab@mail.by>\n"
"Language-Team: Belarusian <i18n@mova.org>\n"
diff --git a/po/bn.po b/po/bn.po
index fd38a9f7..426d1d1c 100644
--- a/po/bn.po
+++ b/po/bn.po
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: Zenity HEAD\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-08-26 22:30+0530\n"
"Last-Translator: Sayamindu Dasgupta <unmadindu@bengalinux.org>\n"
"Language-Team: Bengali <gnome-translation@bengalinux.org>\n"
diff --git a/po/ca.po b/po/ca.po
index 40e9bf8d..732c400c 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity 1.3\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-11-17 15:57+0100\n"
"Last-Translator: Jordi Mallach <jordi@sindominio.net>\n"
"Language-Team: Catalan <tradgnome@softcatala.org>\n"
diff --git a/po/cs.po b/po/cs.po
index 9e735dc9..6f8ad65d 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity VERSION\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-11-12 11:19+0100\n"
"Last-Translator: Miloslav Trmac <mitr@volny.cz>\n"
"Language-Team: Czech <cs@li.org>\n"
diff --git a/po/cy.po b/po/cy.po
index aa8372cc..c8552b76 100644
--- a/po/cy.po
+++ b/po/cy.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-11-19 17:26+0000\n"
"Last-Translator: Dafydd Harries <daf@parnassus.ath.cx>\n"
"Language-Team: Cymraeg <gnome-cy@www.linux.org>\n"
diff --git a/po/da.po b/po/da.po
index 8541d66c..62ca96b8 100644
--- a/po/da.po
+++ b/po/da.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-11-17 23:25+0100\n"
"Last-Translator: Ole Laursen <olau@hardworking.dk>\n"
"Language-Team: Danish <dansk@klid.dk>\n"
diff --git a/po/de.po b/po/de.po
index 3d00c607..9b110a54 100644
--- a/po/de.po
+++ b/po/de.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity 1.3\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-07-19 02:04+0200\n"
"Last-Translator: Christian Neumair <chris@gnome-de.org>\n"
"Language-Team: German <gnome-de@gnome.org>\n"
diff --git a/po/el.po b/po/el.po
index 5a118c9c..278d2d12 100644
--- a/po/el.po
+++ b/po/el.po
@@ -8,7 +8,7 @@
msgid ""
msgstr ""
"Project-Id-Version: el\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-07-13 11:25+0300\n"
"Last-Translator: Kostas Papadimas <pkst@gmx.net>\n"
"Language-Team: Greek <nls@tux.hellug.gr>\n"
diff --git a/po/en_GB.po b/po/en_GB.po
index 02d4af17..e9f575e8 100644
--- a/po/en_GB.po
+++ b/po/en_GB.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: 1.2\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-06-21 16:13+0100\n"
"Last-Translator: Mike Newman <mikegtn@gnome.org>\n"
"Language-Team: British English <en@li.org>\n"
diff --git a/po/es.po b/po/es.po
index e5b82da0..ef064341 100644
--- a/po/es.po
+++ b/po/es.po
@@ -9,7 +9,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity.HEAD\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-12-14 15:49+0100\n"
"Last-Translator: Francisco Javier F. Serrador <serrador@arrakis.es>\n"
"Language-Team: Spanish <traductores@es.gnome.org>\n"
diff --git a/po/et.po b/po/et.po
index 5f4091fe..a6e4ecc9 100644
--- a/po/et.po
+++ b/po/et.po
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: Zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-10-04 12:07+0300\n"
"Last-Translator: Priit Laes <amd@tt.ee>\n"
"Language-Team: Gnome eesti <et-gnome@linux.ee>\n"
diff --git a/po/eu.po b/po/eu.po
index c2217f6b..b84b6844 100644
--- a/po/eu.po
+++ b/po/eu.po
@@ -9,7 +9,7 @@
msgid ""
msgstr ""
"Project-Id-Version: eu\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-12-06 13:26+0100\n"
"Last-Translator: Iñaki Larrañaga Murgoitio <dooteo@euskalgnu.org>\n"
"Language-Team: basque <itzulpena@euskalgnu.org>\n"
diff --git a/po/fi.po b/po/fi.po
index adaf98a1..58e50a28 100644
--- a/po/fi.po
+++ b/po/fi.po
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity HEAD\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-09-04 13:30+0300\n"
"Last-Translator: Johanna Makkonen <johanna.makkonen@iki.fi>\n"
"Language-Team: Finnish <gnome-fi-laatu@lists.sourceforge.net>\n"
diff --git a/po/fr.po b/po/fr.po
index a32382fa..1e9ee15e 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -8,7 +8,7 @@
msgid ""
msgstr ""
"Project-Id-Version: Zenity 1.7\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-11-22 11:12+0100\n"
"Last-Translator: Christophe Merlet (RedFox) <redfox@redfoxcenter.org>\n"
"Language-Team: GNOME French Team <gnomefr@traduc.org>\n"
diff --git a/po/ga.po b/po/ga.po
index 37a8cea1..588cd13b 100644
--- a/po/ga.po
+++ b/po/ga.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity HEAD\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-08-22 16:00+0100\n"
"Last-Translator: Paul Duffy <dubhthach@frink.nuigalway.ie>\n"
"Language-Team: Irish\n"
diff --git a/po/hi.po b/po/hi.po
index 7bcc4b57..fb529cf3 100644
--- a/po/hi.po
+++ b/po/hi.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity HEAD\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-08-13 18:05+0530\n"
"Last-Translator: G Karunakar <karunakar@freedomink.org>\n"
"Language-Team: Gnome Hindi Team <indlinux-hindi-gnome@lists.sourceforge."
diff --git a/po/hu.po b/po/hu.po
index fe29e967..4505545b 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity CVS\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-09-26 11:27+0200\n"
"Last-Translator: Andras Timar <timar@gnome.hu>\n"
"Language-Team: Hungarian <hu@gnome.hu>\n"
diff --git a/po/is.po b/po/is.po
index 5e4a4201..cd8c4e2a 100644
--- a/po/is.po
+++ b/po/is.po
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-08-23 02:01-0100\n"
"Last-Translator: Samuel Jon Gunnarsson <sammi@techattack.nu>\n"
"Language-Team: Icelandic <gnome@techattack.nu>\n"
diff --git a/po/it.po b/po/it.po
index 4f416bd7..c043be3a 100644
--- a/po/it.po
+++ b/po/it.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-09-01 11:31+0200\n"
"Last-Translator: Stefano Canepa <sc@linux.it>\n"
"Language-Team: Italian <tp@lists.linux.it>\n"
diff --git a/po/ja.po b/po/ja.po
index 197787a1..2d229d43 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zentiy HEAD\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-12-20 23:17+0900\n"
"Last-Translator: Takeshi AIHANA <aihana@gnome.gr.jp>\n"
"Language-Team: Japanese <gnome-translation@gnome.gr.jp>\n"
diff --git a/po/ko.po b/po/ko.po
index 23a47731..69266013 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity 1.3\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-08-24 03:48+0900\n"
"Last-Translator: Young-Ho, Cha <ganadist at mizi.com>\n"
"Language-Team: GTP Korean <gnome-kr-translation@gnome.or.kr>\n"
diff --git a/po/lt.po b/po/lt.po
index ff9d04fe..a88a88a0 100644
--- a/po/lt.po
+++ b/po/lt.po
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-11-21 15:45+0200\n"
"Last-Translator: Tomas Kuliavas <tokul@users.sourceforge.net>\n"
"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
diff --git a/po/ml.po b/po/ml.po
index 237be78b..85d7deac 100644
--- a/po/ml.po
+++ b/po/ml.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version:zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-07-05 10:29+0530\n"
"Last-Translator: FSF-India <locale@gnu.org.in>\n"
"Language-Team: Malayalam <locale@gnu.org.in>\n"
diff --git a/po/mn.po b/po/mn.po
index e6f9ac33..7b69ac2a 100644
--- a/po/mn.po
+++ b/po/mn.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity.HEAD\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-12-03 01:42+0800\n"
"Last-Translator: S.Dulmandakh <duluu@localhost.localdomain>\n"
"Language-Team: Mongolian <en@li.org>\n"
diff --git a/po/ms.po b/po/ms.po
index 55d54834..72d7884c 100644
--- a/po/ms.po
+++ b/po/ms.po
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2002-02-04 00:07+0800\n"
"Last-Translator: Hasbullah Bin Pit <sebol@ikhlas.com>\n"
"Language-Team: Projek Gabai <gabai-penyumbang@lists.sourceforge.net>\n"
diff --git a/po/ne.po b/po/ne.po
index 84a3f788..e186af6d 100644
--- a/po/ne.po
+++ b/po/ne.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity \n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-12-26 12:20+5:45\n"
"Last-Translator: Dhurba Gnawali <dhurbagnawali@hotmail.com>\n"
"Language-Team: Nepali <info@mpp.org.np>\n"
diff --git a/po/nl.po b/po/nl.po
index 1be0f3db..82e73252 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity cvs\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-07-18 23:00+0100\n"
"Last-Translator: Vincent van Adrighem <adrighem@gnome.org>\n"
"Language-Team: Dutch <vertaling@nl.linux.org>\n"
diff --git a/po/no.po b/po/no.po
index 8772d1bd..7d80236c 100644
--- a/po/no.po
+++ b/po/no.po
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity 0.1\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-08-21 01:39+0200\n"
"Last-Translator: Kjartan Maraas <kmaraas@gnome.org>\n"
"Language-Team: Norwegian <no@li.org>\n"
diff --git a/po/pl.po b/po/pl.po
index 34b1fc50..d2681aa6 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -9,7 +9,7 @@
msgid ""
msgstr ""
"Project-Id-Version: Zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-06-26 02:18+0200\n"
"Last-Translator: GNOME PL Team <translators@gnome.pl>\n"
"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
diff --git a/po/pt.po b/po/pt.po
index 5507739a..0c17969e 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: 2.4\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-11-15 13:25+0000\n"
"Last-Translator: Duarte Loreto <happyguy_pt@hotmail.com>\n"
"Language-Team: Portuguese <gnome_pt@yahoogroups.com>\n"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 4548afe5..f5ed2ea8 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -8,7 +8,7 @@
msgid ""
msgstr ""
"Project-Id-Version: 2.2\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-04-26 17:30-0300\n"
"Last-Translator: Evandro Fernandes Giovanini <evandrofg@ig.com.br>\n"
"Language-Team: GNOME-BR <gnome-l10n-br@listas.cipsga.org.br>\n"
diff --git a/po/ru.po b/po/ru.po
index c65c2694..38fb9673 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-08-18 08:45+0400\n"
"Last-Translator: Dmitry G. Mastrukov <dmitry@taurussoft.org>\n"
"Language-Team: Russian <gnome-cyr@gnome.org>\n"
diff --git a/po/sk.po b/po/sk.po
index b80374c6..50067a84 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-12-19 22:30+0100\n"
"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
diff --git a/po/sl.po b/po/sl.po
index d6caa795..b2e55b26 100644
--- a/po/sl.po
+++ b/po/sl.po
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2001-07-29 12:32+0200\n"
"Last-Translator: Tilen Travnik <tilen.travnik@guest.arnes.si>\n"
"Language-Team: Slovenian <sl@li.org>\n"
diff --git a/po/sq.po b/po/sq.po
index e837df2d..0b6f87e9 100644
--- a/po/sq.po
+++ b/po/sq.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-12-22 17:26+0100\n"
"Last-Translator: Laurent Dhima <laurenti@alblinux.net>\n"
"Language-Team: Albanian <gnome-albanian-perkthyesit@lists.sourceforge.net>\n"
diff --git a/po/sr.po b/po/sr.po
index e537426d..9bbbb140 100644
--- a/po/sr.po
+++ b/po/sr.po
@@ -8,7 +8,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-11-12 13:41+0100\n"
"Last-Translator: Александар Урошевић <urke@sourceforge.net>\n"
"Language-Team: Serbian (sr) <serbiangnome-lista@nongnu.org>\n"
diff --git a/po/sr@Latn.po b/po/sr@Latn.po
index bb595b11..471381cf 100644
--- a/po/sr@Latn.po
+++ b/po/sr@Latn.po
@@ -8,7 +8,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-11-12 13:41+0100\n"
"Last-Translator: Aleksandar Urošević <urke@sourceforge.net>\n"
"Language-Team: Serbian (sr) <serbiangnome-lista@nongnu.org>\n"
diff --git a/po/sv.po b/po/sv.po
index 04bed67c..f3019569 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -8,7 +8,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-11-13 18:25+0100\n"
"Last-Translator: Christian Rose <menthos@menthos.com>\n"
"Language-Team: Swedish <sv@li.org>\n"
diff --git a/po/ta.po b/po/ta.po
index 1e069dfa..d44f5fb8 100644
--- a/po/ta.po
+++ b/po/ta.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Tamil Zenity 2.4POT-Creation-Date: 2003-09-16 17:19-"
"0500\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-09-16 17:19-0500\n"
"Last-Translator: Dinesh Nadarajah <n_dinesh@yahoo.com>\n"
"Language-Team: Tamil <tamilinix@yahoogroups.com>\n"
diff --git a/po/uk.po b/po/uk.po
index afbe82f9..7ae29c98 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-02-12 04:58--500\n"
"Last-Translator: Yuriy Syrota <yuri@renome.rovno.ua>\n"
"Language-Team: Ukrainian <linux@linux.org.ua>\n"
diff --git a/po/vi.po b/po/vi.po
index f6560031..74e38da0 100644
--- a/po/vi.po
+++ b/po/vi.po
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: Zenity VERSION\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-10-02 10:25+0700\n"
"Last-Translator: pclouds <pclouds@gmx.net>\n"
"Language-Team: Gnome-Vi <Gnomevi-list@lists.sourceforge.net>\n"
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 3f565d84..e51b91bc 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-07-26 00:09+0800\n"
"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
"Language-Team: zh_CN <i18n-translation@lists.linux.net.cn>\n"
diff --git a/po/zh_TW.po b/po/zh_TW.po
index ff6bdd45..69f1ce7a 100644
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: zenity 1.3\n"
-"POT-Creation-Date: 2003-12-31 11:06+1300\n"
+"POT-Creation-Date: 2003-12-31 11:34+1300\n"
"PO-Revision-Date: 2003-07-14 14:41+0800\n"
"Last-Translator: Abel Cheung <maddog@linux.org.hk>\n"
"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
diff --git a/src/fileselection.c b/src/fileselection.c
index cfc966f3..955226d1 100644
--- a/src/fileselection.c
+++ b/src/fileselection.c
@@ -31,24 +31,17 @@ static void zenity_fileselection_dialog_response (GtkWidget *widget, int respons
void zenity_fileselection (ZenityData *data, ZenityFileData *file_data)
{
- GladeXML *glade_dialog;
GtkWidget *dialog;
+ gchar *dir;
+ gchar *basename;
zen_data = data;
- glade_dialog = zenity_util_load_glade_file ("zenity_fileselection_dialog");
-
- if (glade_dialog == NULL) {
- data->exit_code = zenity_util_return_exit_code (ZENITY_ERROR);
- return;
- }
-
- glade_xml_signal_autoconnect (glade_dialog);
-
- dialog = glade_xml_get_widget (glade_dialog, "zenity_fileselection_dialog");
-
- if (glade_dialog)
- g_object_unref (glade_dialog);
+ dialog = gtk_file_chooser_dialog_new (NULL, NULL,
+ GTK_FILE_CHOOSER_ACTION_OPEN,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ GTK_STOCK_OK, GTK_RESPONSE_OK,
+ NULL);
g_signal_connect (G_OBJECT (dialog), "response",
G_CALLBACK (zenity_fileselection_dialog_response), file_data);
@@ -63,11 +56,19 @@ void zenity_fileselection (ZenityData *data, ZenityFileData *file_data)
gtk_window_set_default_size (GTK_WINDOW (dialog), data->width, data->height);
- if (file_data->uri)
- gtk_file_selection_set_filename (GTK_FILE_SELECTION (dialog), file_data->uri);
+ if (file_data->uri) {
+ dir = g_path_get_dirname (file_data->uri);
+ gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dialog), dir);
+ if (file_data->uri[strlen (file_data->uri) - 1] != '/') {
+ basename = g_path_get_basename (file_data->uri);
+ gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER (dialog), basename);
+ g_free (basename);
+ }
+ g_free (dir);
+ }
if (file_data->multi)
- gtk_file_selection_set_select_multiple (GTK_FILE_SELECTION (dialog), TRUE);
+ gtk_file_chooser_set_select_multiple (GTK_FILE_CHOOSER (dialog), TRUE);
gtk_widget_show (dialog);
gtk_main ();
@@ -77,21 +78,22 @@ static void
zenity_fileselection_dialog_response (GtkWidget *widget, int response, gpointer data)
{
ZenityFileData *file_data = data;
- gchar **selections;
+ GSList *selections, *iter;
gchar *separator = g_strdup(file_data->separator);
int i;
switch (response) {
case GTK_RESPONSE_OK:
zen_data->exit_code = zenity_util_return_exit_code (ZENITY_OK);
- selections = gtk_file_selection_get_selections (GTK_FILE_SELECTION (widget));
- for (i=0;selections[i] != NULL; i++) {
- g_print ("%s", g_filename_to_utf8 ((gchar*)selections[i], -1, NULL, NULL, NULL));
- if (selections[i+1] != NULL)
+ selections = gtk_file_chooser_get_filenames (GTK_FILE_CHOOSER (widget));
+ for (iter = selections;iter != NULL; iter = iter->next) {
+ g_print ("%s", g_filename_to_utf8 ((gchar*)iter->data, -1, NULL, NULL, NULL));
+ g_free (iter->data);
+ if (iter->next != NULL)
g_print ("%s",separator);
}
g_print("\n");
- g_strfreev(selections);
+ g_slist_free(selections);
g_free(separator);
gtk_main_quit ();
bgstack15