After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 137952 - Missing file filters on gpdf choosers
Missing file filters on gpdf choosers
Status: VERIFIED FIXED
Product: gpdf
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Rémi Cohen-Scali
Rémi Cohen-Scali
: 140429 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-03-22 16:18 UTC by Rémi Cohen-Scali
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
Add filters 'pdf'/'*.*' to both choosers in gpdf (3.08 KB, patch)
2004-03-22 16:20 UTC, Rémi Cohen-Scali
none Details | Review
this is the good patch (3.15 KB, patch)
2004-03-22 16:41 UTC, Rémi Cohen-Scali
none Details | Review

Description Rémi Cohen-Scali 2004-03-22 16:18:57 UTC
No way to filter PDF documents exists when loading or saving in gpdf.
May I commit?
Comment 1 Rémi Cohen-Scali 2004-03-22 16:20:12 UTC
Created attachment 25886 [details] [review]
Add filters 'pdf'/'*.*' to both choosers in gpdf
Comment 2 Rémi Cohen-Scali 2004-03-22 16:41:38 UTC
Created attachment 25888 [details] [review]
this is the good patch
Comment 3 Martin Kretzschmar 2004-03-25 17:20:53 UTC
Looks good except:

 * "*.*" should be "*", no reason to require at least on dot.
 * It adds two strings, thus requires permission from translators.

But it should definitely be included in GNOME 2.6.1.

I'd like to use the delay of 2.6.0 to make another tarball for 2.6.0 which
includes the (at least) two new translations which were added since gpdf 0.130.
Thus gpdf is still in code freeze until Monday. Then we can get the permission
from gnome-i18n and you can check in.
Comment 4 Rémi Cohen-Scali 2004-03-26 03:09:03 UTC
Yes agreed
Comment 5 Martin Kretzschmar 2004-04-14 19:03:29 UTC
Can you commit a patch where the filter names _don't_ have to be translated, but
are simply "PDF" and "*" (and without _())? That will save us from asking for
permission from i18n. (But if you forget to remove the _(), we'll be blamed
publically on desktop-devel-list ;))

Don't close the bug to remind us to make the names translatable when gpdf is
branched.

I want to try to fix some crashers for stable before branching.
Comment 6 Martin Kretzschmar 2004-04-18 19:23:04 UTC
*** Bug 140429 has been marked as a duplicate of this bug. ***
Comment 7 Rémi Cohen-Scali 2004-05-01 09:49:24 UTC
Martin may I commit now ?
Comment 8 Martin Kretzschmar 2004-05-01 17:17:36 UTC
Yes, please commit to HEAD. If you want to commit to gnome-2-6 branch, too, do
what I wrote in comment #5.

Reassigned to you, so you can close the bug after committing.
Comment 9 Rémi Cohen-Scali 2004-05-03 01:05:44 UTC
commited:

2004-05-03  Remi Cohen-Scali  <rcoscali@cvs.gnome.org>
	Fix for Bug #137952.

	* xpdf/gpdf-control.cc (gpdf_control_get_filename) 
	Added file filters 'application/pdf' and '*' to
	file choosers.

	* shell/gpdf.c (gw_ask_for_uri): 
	Fixed badly updated *.* in filter (must be *)

	* shell/gpdf.c (gw_ask_for_uri): 
	Added file filters 'application/pdf' and '*.*' to
	file choosers.
Comment 10 Rémi Cohen-Scali 2004-05-03 01:07:43 UTC
Also commited to gnome-2-6 branch.
Comment 11 Rémi Cohen-Scali 2004-05-03 06:20:23 UTC
Verified on HEAD
Comment 12 Rémi Cohen-Scali 2004-05-03 06:59:36 UTC
Also verified on gnome-2-6.
Closing bug.
Comment 13 Christian Rose 2004-05-03 18:11:27 UTC
Committing this on the gnome-2-6 branch broke the string freeze in effect on
that branch. The string freeze is still in effect for GNOME 2.6 software. Thus
you still need to announce and ask for permission on string changes!
Comment 14 Rémi Cohen-Scali 2004-05-03 18:43:47 UTC
I'am sorry. I was about to send a warn on i18n list, but I looked at the shedule
and I thought 2.6.1 was released.
Again please apologize ! 
Comment 15 Martin Kretzschmar 2004-05-06 20:27:20 UTC
Christian wrote:

"Still, the patch and these additions look like they could be useful and
needed, so offhand I'm not requesting they be reverted."


Now 7 translations have already been updated. Should the patch be reverted or not?

I had that "PDF" and "*" (not beautiful UI but functional and not string-freeze
breaking) idea somewhere above. Doing that now means throwing the 7's work away.

How about this: I put "PDF" and "*" as "translations" into the po files of all
po files except those 7?
Comment 16 Christian Rose 2004-05-06 21:25:06 UTC
The patch need not reverting. I've approved it from a string freeze perspective
afterwards, after it was committed without notice. This is NOT the way it is
supposed to be, but the patch looked needed. So *no* changes in translatable
strings from now on is needed, or at all wanted, from a string freeze perspective.