From a79ca073b75c2cdfa4bf74633d5c89c4c482bbd3 Mon Sep 17 00:00:00 2001 From: Dmitry Rantovov Date: Mon, 31 Aug 2026 02:00:08 +0300 Subject: [PATCH 1/2] docs: fix parameter names left from the nautilus era --- libnemo-private/nemo-program-choosing.c | 2 +- src/nemo-mime-actions.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libnemo-private/nemo-program-choosing.c b/libnemo-private/nemo-program-choosing.c index 97bb09a2ad..c2359b358e 100644 --- a/libnemo-private/nemo-program-choosing.c +++ b/libnemo-private/nemo-program-choosing.c @@ -69,7 +69,7 @@ nemo_launch_application_for_mount (GAppInfo *app_info, * parameter. Provide a parent window for error dialogs. * * @application: The application to be launched. - * @uris: The files whose locations should be passed as a parameter to the application. + * @files: The files whose locations should be passed as a parameter to the application. * @parent_window: A window to use as the parent for any error dialogs. */ void diff --git a/src/nemo-mime-actions.c b/src/nemo-mime-actions.c index 2f982f31f0..18a79ce1be 100644 --- a/src/nemo-mime-actions.c +++ b/src/nemo-mime-actions.c @@ -2235,7 +2235,7 @@ activation_start_mountables (ActivateParameters *parameters) * * Activate a list of files. Each one might launch with an application or * with a component. This is normally called only by subclasses. - * @view: FMDirectoryView in question. + * @parent_window: The window to parent dialogs on. * @files: A GList of NemoFiles to activate. * **/ @@ -2316,9 +2316,9 @@ nemo_mime_activate_files (GtkWindow *parent_window, * * Activate a file in this view. This might involve switching the displayed * location for the current window, or launching an application. - * @view: FMDirectoryView in question. + * @parent_window: The window to parent dialogs on. * @file: A NemoFile representing the file in this view to activate. - * @use_new_window: Should this item be opened in a new window? + * @flags: How the location should be opened. * **/ From eee6903153c99b1d5942116ecdf0f8f7e8563916 Mon Sep 17 00:00:00 2001 From: Dmitry Rantovov Date: Mon, 7 Sep 2026 17:21:05 +0300 Subject: [PATCH 2/2] docs: document all MIME activation parameters Signed-off-by: Dmitry Rantovov --- src/nemo-mime-actions.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/nemo-mime-actions.c b/src/nemo-mime-actions.c index 18a79ce1be..d619a28201 100644 --- a/src/nemo-mime-actions.c +++ b/src/nemo-mime-actions.c @@ -2232,11 +2232,15 @@ activation_start_mountables (ActivateParameters *parameters) /** * nemo_mime_activate_files: + * @parent_window: The window to parent dialogs on. + * @slot: The window slot to open locations in. + * @files: A GList of NemoFiles to activate. + * @launch_directory: Working directory for launching executable files, or NULL. + * @flags: How the location should be opened. + * @user_confirmation: Whether to request confirmation before opening multiple windows or tabs. * * Activate a list of files. Each one might launch with an application or * with a component. This is normally called only by subclasses. - * @parent_window: The window to parent dialogs on. - * @files: A GList of NemoFiles to activate. * **/ void @@ -2313,13 +2317,15 @@ nemo_mime_activate_files (GtkWindow *parent_window, /** * nemo_mime_activate_file: - * - * Activate a file in this view. This might involve switching the displayed - * location for the current window, or launching an application. * @parent_window: The window to parent dialogs on. + * @slot: The window slot to open locations in. * @file: A NemoFile representing the file in this view to activate. + * @launch_directory: Working directory for launching executable files, or NULL. * @flags: How the location should be opened. * + * Activate a file in this view. This might involve switching the displayed + * location for the current window, or launching an application. + * **/ void