mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 15:22:11 +02:00
clapper-app: Add command line context params string
Describe what kind of remaining (non-options) strings can be passed when launching via command line.
This commit is contained in:
@@ -666,6 +666,8 @@ clapper_app_application_constructed (GObject *object)
|
||||
for (i = 0; i < G_N_ELEMENTS (app_shortcuts); ++i)
|
||||
gtk_application_set_accels_for_action (GTK_APPLICATION (app), app_shortcuts[i].action, app_shortcuts[i].accels);
|
||||
|
||||
g_application_set_option_context_parameter_string (app, "[URI1|FILE1] [URI2|FILE2] …");
|
||||
|
||||
g_application_add_main_option_entries (app, app_options);
|
||||
g_application_add_option_group (app, gst_init_get_option_group ());
|
||||
|
||||
|
Reference in New Issue
Block a user