From 104a45c0f772ec07866c717861d8cbf1128b1e58 Mon Sep 17 00:00:00 2001 From: Glynn Foster Date: Wed, 31 Dec 2003 01:52:25 +0000 Subject: [PATCH] Release 2.5.1, a ridiculous bump so that we sync with the GNOME desktop 2003-12-30 Glynn Foster * configure.in: Release 2.5.1, a ridiculous bump so that we sync with the GNOME desktop releases. 2003-12-30 Jan Arne Petersen * src/fileselection.c: (zenity_fileselection), (zenity_fileselection_dialog_response): Replace GtkFileSelection with GtkFileChooser. --- ChangeLog | 11 +++++++++++ NEWS | 6 ++++++ configure.in | 6 ++++-- po/ChangeLog | 4 ++++ po/am.po | 2 +- po/ar.po | 2 +- po/az.po | 2 +- po/be.po | 2 +- po/bn.po | 2 +- po/ca.po | 2 +- po/cs.po | 2 +- po/cy.po | 2 +- po/da.po | 2 +- po/de.po | 2 +- po/el.po | 2 +- po/en_GB.po | 2 +- po/es.po | 2 +- po/et.po | 2 +- po/eu.po | 2 +- po/fi.po | 2 +- po/fr.po | 2 +- po/ga.po | 2 +- po/hi.po | 2 +- po/hu.po | 2 +- po/is.po | 2 +- po/it.po | 2 +- po/ja.po | 2 +- po/ko.po | 2 +- po/lt.po | 2 +- po/ml.po | 2 +- po/mn.po | 2 +- po/ms.po | 2 +- po/ne.po | 2 +- po/nl.po | 2 +- po/no.po | 2 +- po/pl.po | 2 +- po/pt.po | 2 +- po/pt_BR.po | 2 +- po/ru.po | 2 +- po/sk.po | 2 +- po/sl.po | 2 +- po/sq.po | 2 +- po/sr.po | 2 +- po/sr@Latn.po | 2 +- po/sv.po | 2 +- po/ta.po | 2 +- po/uk.po | 2 +- po/vi.po | 2 +- po/zh_CN.po | 2 +- po/zh_TW.po | 2 +- src/fileselection.c | 48 +++++++++++++++++++++++---------------------- 51 files changed, 96 insertions(+), 71 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2373984..ceca4cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2003-12-30 Glynn Foster + + * configure.in: Release 2.5.1, a ridiculous bump + so that we sync with the GNOME desktop releases. + +2003-12-30 Jan Arne Petersen + + * src/fileselection.c: (zenity_fileselection), + (zenity_fileselection_dialog_response): Replace + GtkFileSelection with GtkFileChooser. + 2003-12-30 Glynn Foster * configure.in: Release 1.8 diff --git a/NEWS b/NEWS index 295dd99..accd968 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 a5ba0ae..0e8361d 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 e5b2f5d..60a84ca 100644 --- a/po/ChangeLog +++ b/po/ChangeLog @@ -1,3 +1,7 @@ +2003-12-30 Glynn Foster + + * 2.5.1 version marker + 2003-12-30 Glynn Foster * 1.8 version marker diff --git a/po/am.po b/po/am.po index 4b9f971..03638e0 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 \n" "Language-Team: Amharic \n" diff --git a/po/ar.po b/po/ar.po index 8a34b43..bd7751e 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 \n" "Language-Team: Arabic \n" diff --git a/po/az.po b/po/az.po index 69ff495..f5b0cd8 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 \n" "Language-Team: Azerbaijan dili \n" diff --git a/po/be.po b/po/be.po index 3ee0c7d..f3e2d09 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 \n" "Language-Team: Belarusian \n" diff --git a/po/bn.po b/po/bn.po index fd38a9f..426d1d1 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 \n" "Language-Team: Bengali \n" diff --git a/po/ca.po b/po/ca.po index 40e9bf8..732c400 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 \n" "Language-Team: Catalan \n" diff --git a/po/cs.po b/po/cs.po index 9e735dc..6f8ad65 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 \n" "Language-Team: Czech \n" diff --git a/po/cy.po b/po/cy.po index aa8372c..c8552b7 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 \n" "Language-Team: Cymraeg \n" diff --git a/po/da.po b/po/da.po index 8541d66..62ca96b 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 \n" "Language-Team: Danish \n" diff --git a/po/de.po b/po/de.po index 3d00c60..9b110a5 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 \n" "Language-Team: German \n" diff --git a/po/el.po b/po/el.po index 5a118c9..278d2d1 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 \n" "Language-Team: Greek \n" diff --git a/po/en_GB.po b/po/en_GB.po index 02d4af1..e9f575e 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 \n" "Language-Team: British English \n" diff --git a/po/es.po b/po/es.po index e5b82da..ef06434 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 \n" "Language-Team: Spanish \n" diff --git a/po/et.po b/po/et.po index 5f4091f..a6e4ecc 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 \n" "Language-Team: Gnome eesti \n" diff --git a/po/eu.po b/po/eu.po index c2217f6..b84b684 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 \n" "Language-Team: basque \n" diff --git a/po/fi.po b/po/fi.po index adaf98a..58e50a2 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 \n" "Language-Team: Finnish \n" diff --git a/po/fr.po b/po/fr.po index a32382f..1e9ee15 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) \n" "Language-Team: GNOME French Team \n" diff --git a/po/ga.po b/po/ga.po index 37a8cea..588cd13 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 \n" "Language-Team: Irish\n" diff --git a/po/hi.po b/po/hi.po index 7bcc4b5..fb529cf 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 \n" "Language-Team: Gnome Hindi Team \n" "Language-Team: Hungarian \n" diff --git a/po/is.po b/po/is.po index 5e4a420..cd8c4e2 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 \n" "Language-Team: Icelandic \n" diff --git a/po/it.po b/po/it.po index 4f416bd..c043be3 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 \n" "Language-Team: Italian \n" diff --git a/po/ja.po b/po/ja.po index 197787a..2d229d4 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 \n" "Language-Team: Japanese \n" diff --git a/po/ko.po b/po/ko.po index 23a4773..6926601 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 \n" "Language-Team: GTP Korean \n" diff --git a/po/lt.po b/po/lt.po index ff9d04f..a88a88a 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 \n" "Language-Team: Lithuanian \n" diff --git a/po/ml.po b/po/ml.po index 237be78..85d7dea 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 \n" "Language-Team: Malayalam \n" diff --git a/po/mn.po b/po/mn.po index e6f9ac3..7b69ac2 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 \n" "Language-Team: Mongolian \n" diff --git a/po/ms.po b/po/ms.po index 55d5483..72d7884 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 \n" "Language-Team: Projek Gabai \n" diff --git a/po/ne.po b/po/ne.po index 84a3f78..e186af6 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 \n" "Language-Team: Nepali \n" diff --git a/po/nl.po b/po/nl.po index 1be0f3d..82e7325 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 \n" "Language-Team: Dutch \n" diff --git a/po/no.po b/po/no.po index 8772d1b..7d80236 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 \n" "Language-Team: Norwegian \n" diff --git a/po/pl.po b/po/pl.po index 34b1fc5..d2681aa 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 \n" "Language-Team: Polish \n" diff --git a/po/pt.po b/po/pt.po index 5507739..0c17969 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 \n" "Language-Team: Portuguese \n" diff --git a/po/pt_BR.po b/po/pt_BR.po index 4548afe..f5ed2ea 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 \n" "Language-Team: GNOME-BR \n" diff --git a/po/ru.po b/po/ru.po index c65c269..38fb967 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 \n" "Language-Team: Russian \n" diff --git a/po/sk.po b/po/sk.po index b80374c..50067a8 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 \n" "Language-Team: Slovak \n" diff --git a/po/sl.po b/po/sl.po index d6caa79..b2e55b2 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 \n" "Language-Team: Slovenian \n" diff --git a/po/sq.po b/po/sq.po index e837df2..0b6f87e 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 \n" "Language-Team: Albanian \n" diff --git a/po/sr.po b/po/sr.po index e537426..9bbbb14 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: Александар Урошевић \n" "Language-Team: Serbian (sr) \n" diff --git a/po/sr@Latn.po b/po/sr@Latn.po index bb595b1..471381c 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ć \n" "Language-Team: Serbian (sr) \n" diff --git a/po/sv.po b/po/sv.po index 04bed67..f301956 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 \n" "Language-Team: Swedish \n" diff --git a/po/ta.po b/po/ta.po index 1e069df..d44f5fb 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" "Language-Team: Tamil \n" diff --git a/po/uk.po b/po/uk.po index afbe82f..7ae29c9 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 \n" "Language-Team: Ukrainian \n" diff --git a/po/vi.po b/po/vi.po index f656003..74e38da 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 \n" "Language-Team: Gnome-Vi \n" diff --git a/po/zh_CN.po b/po/zh_CN.po index 3f565d8..e51b91b 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 \n" "Language-Team: zh_CN \n" diff --git a/po/zh_TW.po b/po/zh_TW.po index ff6bdd4..69f1ce7 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 \n" "Language-Team: Chinese (traditional) \n" diff --git a/src/fileselection.c b/src/fileselection.c index cfc966f..955226d 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 ();