diff options
author | Glynn Foster <glynn.foster@sun.com> | 2003-12-31 01:52:25 +0000 |
---|---|---|
committer | Glynn Foster <gman@src.gnome.org> | 2003-12-31 01:52:25 +0000 |
commit | 104a45c0f772ec07866c717861d8cbf1128b1e58 (patch) | |
tree | febf8bc252c53ce3a0ce050c61c0045283929345 | |
parent | Release 1.8 (diff) | |
download | zenity-104a45c0f772ec07866c717861d8cbf1128b1e58.tar.gz zenity-104a45c0f772ec07866c717861d8cbf1128b1e58.tar.bz2 zenity-104a45c0f772ec07866c717861d8cbf1128b1e58.zip |
Release 2.5.1, a ridiculous bump so that we sync with the GNOME desktop
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.
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | configure.in | 6 | ||||
-rw-r--r-- | po/ChangeLog | 4 | ||||
-rw-r--r-- | po/am.po | 2 | ||||
-rw-r--r-- | po/ar.po | 2 | ||||
-rw-r--r-- | po/az.po | 2 | ||||
-rw-r--r-- | po/be.po | 2 | ||||
-rw-r--r-- | po/bn.po | 2 | ||||
-rw-r--r-- | po/ca.po | 2 | ||||
-rw-r--r-- | po/cs.po | 2 | ||||
-rw-r--r-- | po/cy.po | 2 | ||||
-rw-r--r-- | po/da.po | 2 | ||||
-rw-r--r-- | po/de.po | 2 | ||||
-rw-r--r-- | po/el.po | 2 | ||||
-rw-r--r-- | po/en_GB.po | 2 | ||||
-rw-r--r-- | po/es.po | 2 | ||||
-rw-r--r-- | po/et.po | 2 | ||||
-rw-r--r-- | po/eu.po | 2 | ||||
-rw-r--r-- | po/fi.po | 2 | ||||
-rw-r--r-- | po/fr.po | 2 | ||||
-rw-r--r-- | po/ga.po | 2 | ||||
-rw-r--r-- | po/hi.po | 2 | ||||
-rw-r--r-- | po/hu.po | 2 | ||||
-rw-r--r-- | po/is.po | 2 | ||||
-rw-r--r-- | po/it.po | 2 | ||||
-rw-r--r-- | po/ja.po | 2 | ||||
-rw-r--r-- | po/ko.po | 2 | ||||
-rw-r--r-- | po/lt.po | 2 | ||||
-rw-r--r-- | po/ml.po | 2 | ||||
-rw-r--r-- | po/mn.po | 2 | ||||
-rw-r--r-- | po/ms.po | 2 | ||||
-rw-r--r-- | po/ne.po | 2 | ||||
-rw-r--r-- | po/nl.po | 2 | ||||
-rw-r--r-- | po/no.po | 2 | ||||
-rw-r--r-- | po/pl.po | 2 | ||||
-rw-r--r-- | po/pt.po | 2 | ||||
-rw-r--r-- | po/pt_BR.po | 2 | ||||
-rw-r--r-- | po/ru.po | 2 | ||||
-rw-r--r-- | po/sk.po | 2 | ||||
-rw-r--r-- | po/sl.po | 2 | ||||
-rw-r--r-- | po/sq.po | 2 | ||||
-rw-r--r-- | po/sr.po | 2 | ||||
-rw-r--r-- | po/sr@Latn.po | 2 | ||||
-rw-r--r-- | po/sv.po | 2 | ||||
-rw-r--r-- | po/ta.po | 2 | ||||
-rw-r--r-- | po/uk.po | 2 | ||||
-rw-r--r-- | po/vi.po | 2 | ||||
-rw-r--r-- | po/zh_CN.po | 2 | ||||
-rw-r--r-- | po/zh_TW.po | 2 | ||||
-rw-r--r-- | src/fileselection.c | 48 |
51 files changed, 96 insertions, 71 deletions
@@ -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> @@ -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 @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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." @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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 (); |