Nautilus: Unnecessary action to show help-overlay

Hi, I couldn’t find correct documentation, but as I remember from other GNOME applications, we don’t need to add an action to show help-overlay.

Actually changing app.show-help-overlay to win.show-help-overlay works the same with less code.

Do we have special case to use this action? Can we remove this action? I tested and seemed the same to me.

That is correct: GtkApplication will create a win.show-help-overlay action automatically if it can find a GResource at ui/help-overlay.ui which defines a GtkShortcutWindow. See the GtkApplication API reference.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.