![]() |
![]() |
![]() |
Nautilus-Actions™ Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#include <nautilus-actions/na-object-item.h> #define NA_TYPE_OBJECT_PROFILE #define NA_OBJECT_PROFILE (object) #define NA_IS_OBJECT_PROFILE (object) NAObjectProfile; NAObjectProfile * na_object_profile_new (void
); NAObjectProfile * na_object_profile_new_with_defaults (void
); void na_object_profile_convert_v2_to_last (NAObjectProfile *profile
);
"na-factory-data-all-mimetypes" gboolean : Read / Write "na-factory-data-basenames" gpointer : Read / Write "na-factory-data-capabilitites" gpointer : Read / Write "na-factory-data-descname" gchar* : Read / Write "na-factory-data-execute-as" gchar* : Read / Write "na-factory-data-execution-mode" gchar* : Read / Write "na-factory-data-folders" gpointer : Read / Write "na-factory-data-id" gchar* : Read / Write "na-factory-data-matchcase" gboolean : Read / Write "na-factory-data-mimetypes" gpointer : Read / Write "na-factory-data-not-show-in" gpointer : Read / Write "na-factory-data-only-show-in" gpointer : Read / Write "na-factory-data-parameters" gchar* : Read / Write "na-factory-data-parent" gpointer : Read / Write "na-factory-data-path" gchar* : Read / Write "na-factory-data-schemes" gpointer : Read / Write "na-factory-data-selection-count" gchar* : Read / Write "na-factory-data-show-if-registered" gchar* : Read / Write "na-factory-data-show-if-running" gchar* : Read / Write "na-factory-data-show-if-true" gchar* : Read / Write "na-factory-data-startup-notify" gboolean : Read / Write "na-factory-data-startup-wm-class" gchar* : Read / Write "na-factory-data-try-exec" gchar* : Read / Write "na-factory-data-working-dir" gchar* : Read / Write
#define NA_OBJECT_PROFILE( object ) ( G_TYPE_CHECK_INSTANCE_CAST( object, NA_TYPE_OBJECT_PROFILE, NAObjectProfile ))
#define NA_IS_OBJECT_PROFILE( object ) ( G_TYPE_CHECK_INSTANCE_TYPE( object, NA_TYPE_OBJECT_PROFILE ))
NAObjectProfile * na_object_profile_new (void
);
Allocates a new profile.
Returns : |
the newly allocated NAObjectProfile profile. |
Since 2.30
NAObjectProfile * na_object_profile_new_with_defaults (void
);
Allocates a new profile, and set default values.
Returns : |
the newly allocated NAObjectProfile profile. |
Since 2.30
void na_object_profile_convert_v2_to_last
(NAObjectProfile *profile
);
Converts a v2 profile to the last version, setting the defaults as needed.
This is called after having converted a pre-v2 action on the newly created profile, or just after having read a v2 profile. In all situations, defaults are supposed to have been set.
|
the NAObjectProfile profile to be converted. |
Since 2.30
"na-factory-data-all-mimetypes"
property"na-factory-data-all-mimetypes" gboolean : Read / Write
The generic wildcard may be coded as '*', or '*/*' or 'all' or 'all/*' or 'all/all'. In each case, we will try to spend as less time as possible to check selection mimetypes.
Default value: TRUE
"na-factory-data-capabilitites"
property"na-factory-data-capabilitites" gpointer : Read / Write
"na-factory-data-descname"
property"na-factory-data-descname" gchar* : Read / Write
Default value: ""
"na-factory-data-execute-as"
property"na-factory-data-execute-as" gchar* : Read / Write
Default value: ""
"na-factory-data-execution-mode"
property"na-factory-data-execution-mode" gchar* : Read / Write
Default value: "Normal"
"na-factory-data-id"
property"na-factory-data-id" gchar* : Read / Write
Internal identifier of the NAObjectId object. Historically a UUID used as a GConf directory (thus ASCII, case insensitive), it is also the basename of the .desktop file (thus UTF-8, case sensitive).
Default value: ""
"na-factory-data-matchcase"
property"na-factory-data-matchcase" gboolean : Read / Write
Default value: TRUE
"na-factory-data-not-show-in"
property"na-factory-data-not-show-in" gpointer : Read / Write
Defaults to none.
"na-factory-data-only-show-in"
property"na-factory-data-only-show-in" gpointer : Read / Write
Defaults to all.
"na-factory-data-parameters"
property"na-factory-data-parameters" gchar* : Read / Write
Default value: ""
"na-factory-data-parent"
property"na-factory-data-parent" gpointer : Read / Write
The NAObjectItem which is the parent of this object.
"na-factory-data-path"
property"na-factory-data-path" gchar* : Read / Write
The path of the command to be executed when the user select the menu item in the file manager context menu or in the toolbar.
Default value: ""
"na-factory-data-selection-count"
property"na-factory-data-selection-count" gchar* : Read / Write
Default value: ">0"
"na-factory-data-show-if-registered"
property"na-factory-data-show-if-registered" gchar* : Read / Write
Default value: ""
"na-factory-data-show-if-running"
property"na-factory-data-show-if-running" gchar* : Read / Write
Default value: ""
"na-factory-data-show-if-true"
property"na-factory-data-show-if-true" gchar* : Read / Write
Default value: ""
"na-factory-data-startup-notify"
property"na-factory-data-startup-notify" gboolean : Read / Write
Default value: FALSE
"na-factory-data-startup-wm-class"
property"na-factory-data-startup-wm-class" gchar* : Read / Write
Default value: ""
"na-factory-data-try-exec"
property"na-factory-data-try-exec" gchar* : Read / Write
Default value: ""
"na-factory-data-working-dir"
property"na-factory-data-working-dir" gchar* : Read / Write
Default value: "%d"