mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +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)
|
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);
|
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_main_option_entries (app, app_options);
|
||||||
g_application_add_option_group (app, gst_init_get_option_group ());
|
g_application_add_option_group (app, gst_init_get_option_group ());
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user