Offer GNOME Shell dash app launcher menu actions for creating or importing an event
Some apps like Builder, Evolution, Firefox, Epiphany and Ptyxis have custom menu actions available from their desktop launcher:
While not critical to have, it would be a neat integration feature if GNOME Calendar offered actions for:
- "Add Event" (directly opens the full Event Editor dialog, same as the "+" button in the toolbar)
- "Import Events from File" : this would open a file chooser portal (with filtered mimetypes, and probably pre-set to the XDG downloads folder) that would then throw the result at the
import-dialog
module, replacing the feature that was previously mis-placed in the Manage Calendars dialog (#390) and that needs to find a new home (#255)
In terms of implementation, this seems to be mostly a combination of .desktop file properties tied to commandline arguments/parameters, and then tying this together with the backend+GUI of GNOME Calendar. For example, GNOME Builder's .desktop file contains, among other things:
Actions=new-window;create-project;clone-repo;new-editor;dspy;
[Desktop Action new-window]
Name[ca]=Obre un projecte
Name[cs]=Otevřít projekt
Name[da]=Åbn et projekt
Name[de]=Ein Projekt öffnen
Name[el]=Άνοιγμα έργου
Name[en_GB]=Open a Project
(blah blah blah)
Name=Open a Project
Exec=gnome-builder --greeter
[Desktop Action create-project]
Name[ca]=Comença un projecte nou
Name[cs]=Začít nový projekt
Name[da]=Start nyt projekt
Name[de]=Neues Projekt beginnen
Name[el]=Έναρξη νέου έργου
Name[en_GB]=Start New Project
(blah blah blah)
Name=Start New Project
Exec=gnome-builder --create-project
Edited by Jeff Fortin