Skip to content

Commit

Permalink
clapper-app: Add command line context params string
Browse files Browse the repository at this point in the history
Describe what kind of remaining (non-options) strings can
be passed when launching via command line.
  • Loading branch information
Rafostar committed May 12, 2024
1 parent 5a43481 commit 3e8fb91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bin/clapper-app/clapper-app-application.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ());

Expand Down

0 comments on commit 3e8fb91

Please sign in to comment.