Gimp/app/dialogs
Jehan cb81d5224b Issue #10872: welcome dialog does not behave like the usual "new image" action.
The alternative solution would be to call:

> image_new_dialog_set (dialog, NULL, NULL);

This would have reset to default template. But it's still not exactly like the
"new image" action which defaults to the active image's size if there is an
opened image.

In order to avoid complicating the code further, as well as code duplication,
hence code divergence, let's call the "image-new" action, making sure that this
button will always behave exactly like the "File > New" menu item.

Then since we need to process the return value of this dialog (either re-showing
the welcome dialog in case of new image creation cancelation, or destroying the
hidden welcome dialog otherwise), I check for the singleton pointer and connect
the handlers to it.

Moreover I made the "response" signal of ImageNewDialog be handled as
G_CONNECT_AFTER otherwise we nearly never had the possibility to handle its
responses properly (because the base handler was doing it first, then often
destroying the dialog).
2024-02-17 18:01:20 +01:00
..
about-dialog.c themes: Prevent system theme leak on stacks and viewports 2024-01-11 20:03:48 +00:00
about-dialog.h gui: Change Windows title bar based on theme 2023-10-18 16:48:25 +00:00
action-search-dialog.c app: Action Search does not use GimpUiManager anymore. 2023-04-12 22:07:07 +02:00
action-search-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
authors.xsl app: update/fix the About's authors.xsl. 2022-02-19 16:02:14 +01:00
channel-options-dialog.c app, libgimp*, plug-ins: GimpColorButton now space-invaded. 2024-02-11 23:28:03 +01:00
channel-options-dialog.h app, libgimp, pdb, plug-ins: move more code to GeglColor. 2024-02-11 23:28:02 +01:00
color-profile-dialog.c app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
color-profile-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
color-profile-import-dialog.c app: make the rotation import dialog more similar to profile import 2023-05-25 16:56:07 +02:00
color-profile-import-dialog.h app: make the rotation import dialog more similar to profile import 2023-05-25 16:56:07 +02:00
convert-indexed-dialog.c app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
convert-indexed-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
convert-precision-dialog.c app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
convert-precision-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
data-delete-dialog.c icons: Restore GIMP icons replaced by GTK defaults 2023-04-30 13:58:39 +00:00
data-delete-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
dialogs-constructors.c dialogs: Add configurations to Welcome Dialogue 2024-02-14 15:20:10 +00:00
dialogs-constructors.h app: new welcome dialog to appear only at first launch after a new… 2022-02-22 12:23:46 +01:00
dialogs-types.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
dialogs.c widgets: Add UI for pad configuration 2023-12-08 12:35:34 +00:00
dialogs.h app: prevent multiple registrations of a same action. 2023-04-12 22:07:09 +02:00
extensions-dialog.c dialogs: Fix header bar assumption 2023-05-31 03:19:24 +00:00
extensions-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
file-open-dialog.c Issue #8010: Help button in File Open dialog closes dialog and opens… 2022-03-25 15:51:50 +01:00
file-open-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
file-open-location-dialog.c Remove the second "raw-filename"/"raw-uri" parameter from file procedures 2019-09-11 00:21:03 +02:00
file-open-location-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
file-save-dialog.c Issue #8010: Help button in File Open dialog closes dialog and opens… 2022-03-25 15:51:50 +01:00
file-save-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
fill-dialog.c core: Add color/pattern only fill options 2023-06-24 19:42:58 +00:00
fill-dialog.h app: "Fill Paths" action, multi-paths aware. 2023-01-11 01:31:10 +01:00
grid-dialog.c app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
grid-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
image-merge-layers-dialog.c app, pdb: layers-merge-layers* and image-merge-layers multi-layer aware. 2020-05-17 18:57:32 +02:00
image-merge-layers-dialog.h app: merge layers in chunks, and show progress 2019-02-25 05:10:50 -05:00
image-new-dialog.c Issue #10872: welcome dialog does not behave like the usual "new image" action. 2024-02-17 18:01:20 +01:00
image-new-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
image-properties-dialog.c app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
image-properties-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
image-scale-dialog.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
image-scale-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
input-devices-dialog.c app: Input Devices "Reset" button should actually reset to defaults. 2020-06-13 20:36:37 +02:00
input-devices-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
item-options-dialog.c Issue #10812: New layer colors tag buttons are only white 2024-02-12 16:28:45 +00:00
item-options-dialog.h app: add "lock visibility" to the layer,channel,path property dialogs 2023-05-26 02:46:53 +02:00
keyboard-shortcuts-dialog.c app: remove the "Save" button from the "Configure Keyboard Shortcuts" dialog. 2023-04-12 22:07:09 +02:00
keyboard-shortcuts-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
layer-add-mask-dialog.c fix typo 2023-02-06 15:24:27 +00:00
layer-add-mask-dialog.h app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
layer-options-dialog.c app: add "lock visibility" to the layer,channel,path property dialogs 2023-05-26 02:46:53 +02:00
layer-options-dialog.h app: add "lock visibility" to the layer,channel,path property dialogs 2023-05-26 02:46:53 +02:00
lebl-dialog.c app: fix a super secret segfault 2020-01-30 18:28:48 +02:00
lebl-dialog.h Change a bazillion URLs to https:// 2018-07-14 14:19:27 +02:00
meson.build app, icons: use the Python executable found by pythonmod.find_installation(). 2023-07-04 19:00:55 +02:00
metadata-rotation-import-dialog.c app: make the rotation import dialog more similar to profile import 2023-05-25 16:56:07 +02:00
metadata-rotation-import-dialog.h app: make the rotation import dialog more similar to profile import 2023-05-25 16:56:07 +02:00
module-dialog.c app: fix build warning. 2023-06-24 18:42:44 +02:00
module-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
palette-import-dialog.c Issue #10385: fix CRITICAL when importing palettes via the Palette dockable. 2024-02-13 22:42:04 +01:00
palette-import-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
preferences-dialog-utils.c dialogs: Add configurations to Welcome Dialogue 2024-02-14 15:20:10 +00:00
preferences-dialog-utils.h dialogs: Add configurations to Welcome Dialogue 2024-02-14 15:20:10 +00:00
preferences-dialog.c Issue #10841: rename "Insane Options" to "Experimental". 2024-02-14 17:03:35 +01:00
preferences-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
print-size-dialog.c app: remove gtk_container_set_focus_chain(), it's deprecated and 2023-05-21 18:56:32 +02:00
print-size-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
quit-dialog.c app: save dialog now adjusts size up to monitor height 2023-10-20 14:28:30 +00:00
quit-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
resize-dialog.c Resize Canvas Problems (fixes issue #10225) 2023-12-13 18:31:38 +00:00
resize-dialog.h gui: Add pixel density selector to canvas size dialog ... 2021-04-08 22:09:26 +06:00
resolution-calibrate-dialog.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
resolution-calibrate-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
scale-dialog.c app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
scale-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
stroke-dialog.c app, plug-ins: mark missing strings as translatable 2023-12-13 17:44:35 +00:00
stroke-dialog.h app: make Stroke Paths actions multi-paths aware. 2023-01-11 01:56:29 +01:00
template-options-dialog.c app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
template-options-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
tips-dialog.c app: remove gtk_container_set_focus_chain(), it's deprecated and 2023-05-21 18:56:32 +02:00
tips-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
tips-parser.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
tips-parser.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
user-install-dialog.c app: config folder migration update for GIMP 3. 2021-08-23 13:37:11 +02:00
user-install-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
vectors-export-dialog.c actions, dialogs, widgets: Windows Dark Mode title bar fixes 2024-01-30 15:58:07 +00:00
vectors-export-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
vectors-import-dialog.c actions, dialogs, widgets: Windows Dark Mode title bar fixes 2024-01-30 15:58:07 +00:00
vectors-import-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
vectors-options-dialog.c app: add "lock visibility" to the layer,channel,path property dialogs 2023-05-26 02:46:53 +02:00
vectors-options-dialog.h app: add "lock visibility" to the layer,channel,path property dialogs 2023-05-26 02:46:53 +02:00
welcome-dialog.c Issue #10872: welcome dialog does not behave like the usual "new image" action. 2024-02-17 18:01:20 +01:00
welcome-dialog.h dialogs: Add configurations to Welcome Dialogue 2024-02-14 15:20:10 +00:00