GNOME Bugzilla – Bug 303803
Add a common Save Confirmation dialogue
Last modified: 2018-05-02 14:09:49 UTC
Created attachment 46334 [details] Source Code to add confirmation box
Created attachment 46335 [details] Header File to add confirmation box
As suggested here: http://mail.gnome.org/archives/gtk-devel-list/2005-May/msg00061.html The attached code may need some love (I don't have access to a GNOME system to build it on, and have never written any GTK code before).
*** Bug 591661 has been marked as a duplicate of this bug. ***
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
Moving from NEEDINFO back to NEW, as I think this is still a reasonable RFE. For example gedit provides its own implementation of this: https://github.com/GNOME/gedit/blob/master/gedit/gedit-close-confirmation-dialog.c This seems like something that could be refactored and moved from gedit to a shared library, to avoid every app having to reimplement the wheel here.
(In reply to Dave Malcolm from comment #6) > Moving from NEEDINFO back to NEW, as I think this is still a reasonable RFE. > > > For example gedit provides its own implementation of this: > https://github.com/GNOME/gedit/blob/master/gedit/gedit-close-confirmation- > dialog.c > > This seems like something that could be refactored and moved from gedit to a > shared library, to avoid every app having to reimplement the wheel here. Thanks for your patience! This will not happen for GTK+ 3.x — at most for GTK+ 4.0, and if only three or more applications decide to share the same code. Additionally, you should provide a patch in the form of a file generated by `git format-patch`, `git bz`, or, better yet, as a merge request on https://gitlab.gnome.org/GNOME/gtk. The attached files do not conform to the coding style of GTK, so they will need to be modified. Finally, it's worth it to raise this bug with the GNOME design team, as they should be involved in a user-facing issue like this one.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/248.