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 130782 - UI enhancement in overwrite dialog
UI enhancement in overwrite dialog
Status: RESOLVED FIXED
Product: sound-juicer
Classification: Applications
Component: interface
2.20.x
Other Linux
: Normal enhancement
: ---
Assigned To: Sound Juicer Maintainers
Sound Juicer Maintainers
: 169465 366342 504589 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-01-07 14:53 UTC by Frederic Crozat
Modified: 2007-12-20 07:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The patch adds the actions like Overwrite All , Ignore All & Cancel Ripping in the Overwrite Dialog. (4.64 KB, patch)
2005-01-29 08:40 UTC, Nirmal kumar
needs-work Details | Review
this is a slightly modified patch in which the mode is a static variable in sj-extracting.c and the types is changed to be enum (4.42 KB, patch)
2005-02-07 07:37 UTC, Nirmal kumar
needs-work Details | Review
Add skip all / overwrite all (8.75 KB, patch)
2007-11-12 02:50 UTC, Michael Chudobiak
none Details | Review
Add skip all / overwrite all, correctly (8.75 KB, patch)
2007-11-12 03:08 UTC, Michael Chudobiak
needs-work Details | Review
overwrite/skip all (8.79 KB, patch)
2007-11-14 01:11 UTC, Michael Chudobiak
committed Details | Review

Description Frederic Crozat 2004-01-07 14:53:41 UTC
The following actions are missing in the overwrite track dialog :
-cancel ripping
-ignore all
-overwrite all
Comment 1 Havoc Pennington 2004-12-24 04:49:27 UTC
Better yet, detect the case where all tracks are already ripped and the files of
plausible size and say "you already ripped this CD, do you really want to do it
again?"
Comment 2 Nirmal kumar 2005-01-29 08:40:20 UTC
Created attachment 36679 [details] [review]
The patch adds the actions like Overwrite All , Ignore All & Cancel Ripping in the Overwrite Dialog.
Comment 3 Ross Burton 2005-02-06 16:58:41 UTC
Comment on attachment 36679 [details] [review]
The patch adds the actions like Overwrite All , Ignore All & Cancel Ripping in the Overwrite Dialog.

I'd prefer the mode to be a static variable in sj-extracting.c and the types to
be an enum.
Comment 4 Nirmal kumar 2005-02-07 07:37:15 UTC
Created attachment 37088 [details] [review]
this is a slightly modified patch in which the mode is a static variable in sj-extracting.c and the types is changed to be enum
Comment 5 Ross Burton 2005-03-07 08:16:07 UTC
*** Bug 169465 has been marked as a duplicate of this bug. ***
Comment 6 Ross Burton 2006-03-29 16:13:23 UTC
Sadly this patch has bit-rotted as it need to use gnome-vfs.
Comment 7 Michael Chudobiak 2007-10-13 21:15:45 UTC
*** Bug 366342 has been marked as a duplicate of this bug. ***
Comment 8 Michael Chudobiak 2007-11-12 02:50:44 UTC
Created attachment 98951 [details] [review]
Add skip all / overwrite all

This drives me crazy... so here's an updated patch. I think it's clearer than the previous versions. If it's OK, I have commit access.

- Mike
Comment 9 Michael Chudobiak 2007-11-12 03:08:47 UTC
Created attachment 98952 [details] [review]
Add skip all / overwrite all, correctly

Minor correction of previous patch.
Comment 10 Ross Burton 2007-11-13 17:50:33 UTC
Getting there, but gtk_dialog_run() can return GTK_RESPONSE_DELETED if it is closed by the window manager.  You'll have to handle that (and default: just for good measure) in the case statement, I guess as Overwrite (but I'd take arguments for why it should be something else).
Comment 11 Michael Chudobiak 2007-11-14 01:11:26 UTC
Created attachment 99066 [details] [review]
overwrite/skip all
Comment 12 Michael Chudobiak 2007-11-14 01:14:28 UTC
New patch above, adding default: and GTK_RESPONSE_DELETE_EVENT: explicity.

I made the default "skip" rather than "overwrite"- it feels more natural to me that way (i.e., if you close the dialog, it safely does nothing, rather than overwriting existing data).

- Mike
Comment 13 Ross Burton 2007-11-14 16:37:36 UTC
Thanks, please commit to trunk.
Comment 14 Michael Chudobiak 2007-11-14 16:49:48 UTC
Committed to svn rev 1901.

- Mike
Comment 15 Michael Chudobiak 2007-11-14 18:05:53 UTC
Hmm... trunk is marked as string frozen at http://l10n.gnome.org/module/sound-juicer... in which case this patch breaks the string freeze.

?
Comment 16 Ross Burton 2007-11-14 19:06:08 UTC
Doh, I forgot to branch.  One minute and I'll fix that. :)
Comment 17 Ross Burton 2007-12-20 07:28:07 UTC
*** Bug 504589 has been marked as a duplicate of this bug. ***