gimp/app/menus
Jacob Boerema 257ac87e9f app: fix #13288 crash when opening a recently closed dock
When at least 3 recently closed docks were present in the Windows ->
Recently Closed Docks submenu, then clicking the middle one caused
a crash. Clicking the top or bottom one didn't cause a crash, but
the submenu was then removed so the other closed docks were not
visible anymore (until restarting GIMP).

It turns out we were removing the whole recent menu, instead of
picking the specific action that needed removing. So now we change
this to get the action_name and use that in the remove call.

Although this already fixes the crash, I added an extra check to
make sure action is valid, and if not we generate a critical. This
way we will notice something is wrong if this happens in the future,
without causing a crash here.
2025-04-04 19:29:04 +00:00
..
dockable-menu.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
dockable-menu.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
file-menu.c app, menus: remove all placeholder code. 2023-07-13 16:53:11 +02:00
file-menu.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
filters-menu.c app: also rename <Vectors> to <Paths> menu. 2024-08-07 19:33:48 +02:00
filters-menu.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
image-menu.c app: display shell popup menu now uses GMenuModel. 2023-04-12 22:07:08 +02:00
image-menu.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
menus-types.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
menus.c app/menus: Fix "vectors" group to "paths" 2024-08-10 20:32:25 +00:00
menus.h app: prevent multiple registrations of a same action. 2023-04-12 22:07:09 +02:00
meson.build app: serialize and deserialize the actions' accelerators. 2023-04-12 22:07:09 +02:00
plug-in-menus.c app: also rename <Vectors> to <Paths> menu. 2024-08-07 19:33:48 +02:00
plug-in-menus.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
shortcuts-rc.c app: be more forgiving in reading shortcutsrc. 2023-10-02 01:30:02 +02:00
shortcuts-rc.h app: serialize and deserialize the actions' accelerators. 2023-04-12 22:07:09 +02:00
tool-options-menu.c app/menus: update tool options menu while initializing menus 2024-04-18 10:22:11 +00:00
tool-options-menu.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
window-menu.c app, menus: remove all placeholder code. 2023-07-13 16:53:11 +02:00
window-menu.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
windows-menu.c app: fix #13288 crash when opening a recently closed dock 2025-04-04 19:29:04 +00:00
windows-menu.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00