GNOME Bugzilla – Bug 124236
Missing warning when downloading to not writable directory
Last modified: 2005-05-29 15:28:50 UTC
Epiphany 1.0 doesn't warn if user want to download a file to not writable directory (etc regular user "/"). File is downloaded.
Moving Target Milestone -> 1.6 since this requires string changes.
Mass reassigning of Epiphany bugs to epiphany-maint@b.g.o
Created attachment 46979 [details] [review] Add alerts. Patch adding two alerts: - one if the directory is not writable, - the other if the file the user wants to overwrite is not writable too.
Thanks for the patch! The dialogue needs a title. +if (parent != NULL) +{ + gtk_window_group_add_window ( + ephy_gui_ensure_window_group (GTK_WINDOW (parent)), + GTK_WINDOW (dialog)); +} ephy_gui_ensure_window_group (dialog); Same things apply to the 2nd dialogue.
Created attachment 46981 [details] [review] Title and icon This patch adds a title and sets the icon to the two added alerts.
- if (filename == NULL) return FALSE; + g_return_val_if_fail (filename != NULL, FALSE); Let's keep the normal return here, iirc I put it for some reason there (the filechoose sometimes returns NULL filenames).+ Ok to commit with that fixed.
Fixed to CVS HEAD.