FMAObjectProfile

FMAObjectProfile — The Action Profile Class Definition

Functions

Properties

Types and Values

Object Hierarchy

    GObject
    ╰── FMAObject
        ╰── FMAObjectId
            ╰── FMAObjectProfile

Implemented Interfaces

FMAObjectProfile implements FMAIDuplicable, FMAIContext and FMAIFactoryObject.

Includes

#include <filemanager-actions/fma-object-item.h>

Description

Functions

FMA_OBJECT_PROFILE()

#define FMA_OBJECT_PROFILE( object )           ( G_TYPE_CHECK_INSTANCE_CAST( object, FMA_TYPE_OBJECT_PROFILE, FMAObjectProfile ))

FMA_IS_OBJECT_PROFILE()

#define FMA_IS_OBJECT_PROFILE( object )        ( G_TYPE_CHECK_INSTANCE_TYPE( object, FMA_TYPE_OBJECT_PROFILE ))

fma_object_profile_new ()

FMAObjectProfile *
fma_object_profile_new (void);

Allocates a new profile.

Returns

the newly allocated FMAObjectProfile profile.

Since: 2.30


fma_object_profile_new_with_defaults ()

FMAObjectProfile *
fma_object_profile_new_with_defaults (void);

Allocates a new profile, and set default values.

Returns

the newly allocated FMAObjectProfile profile.

Since: 2.30


fma_object_profile_convert_v2_to_last ()

void
fma_object_profile_convert_v2_to_last (FMAObjectProfile *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.

Parameters

profile

the FMAObjectProfile profile to be converted.

 

Since: 2.30

Types and Values

FMA_TYPE_OBJECT_PROFILE

#define FMA_TYPE_OBJECT_PROFILE                ( fma_object_profile_get_type())

FMAObjectProfile

typedef struct _FMAObjectProfile FMAObjectProfile;

Property Details

The “factory-data-all-mimetypes” property

  “factory-data-all-mimetypes” gboolean

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.

Flags: Read / Write

Default value: TRUE


The “factory-data-basenames” property

  “factory-data-basenames”   gpointer

Flags: Read / Write


The “factory-data-capabilitites” property

  “factory-data-capabilitites” gpointer

Flags: Read / Write


The “factory-data-descname” property

  “factory-data-descname”    gchar *

Flags: Read / Write

Default value: ""


The “factory-data-execute-as” property

  “factory-data-execute-as”  gchar *

Flags: Read / Write

Default value: ""


The “factory-data-execution-mode” property

  “factory-data-execution-mode” gchar *

Flags: Read / Write

Default value: "Normal"


The “factory-data-folders” property

  “factory-data-folders”     gpointer

Flags: Read / Write


The “factory-data-id” property

  “factory-data-id”          gchar *

Internal identifier of the FMAObjectId 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).

Flags: Read / Write

Default value: ""


The “factory-data-matchcase” property

  “factory-data-matchcase”   gboolean

Flags: Read / Write

Default value: TRUE


The “factory-data-mimetypes” property

  “factory-data-mimetypes”   gpointer

Flags: Read / Write


The “factory-data-not-show-in” property

  “factory-data-not-show-in” gpointer

Defaults to none.

Flags: Read / Write


The “factory-data-only-show-in” property

  “factory-data-only-show-in” gpointer

Defaults to all.

Flags: Read / Write


The “factory-data-parameters” property

  “factory-data-parameters”  gchar *

Flags: Read / Write

Default value: ""


The “factory-data-parent” property

  “factory-data-parent”      gpointer

The FMAObjectItem which is the parent of this object.

Flags: Read / Write


The “factory-data-path” property

  “factory-data-path”        gchar *

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.

Flags: Read / Write

Default value: ""


The “factory-data-schemes” property

  “factory-data-schemes”     gpointer

Flags: Read / Write


The “factory-data-selection-count” property

  “factory-data-selection-count” gchar *

Flags: Read / Write

Default value: ">0"


The “factory-data-show-if-registered” property

  “factory-data-show-if-registered” gchar *

Flags: Read / Write

Default value: ""


The “factory-data-show-if-running” property

  “factory-data-show-if-running” gchar *

Flags: Read / Write

Default value: ""


The “factory-data-show-if-true” property

  “factory-data-show-if-true” gchar *

Flags: Read / Write

Default value: ""


The “factory-data-startup-notify” property

  “factory-data-startup-notify” gboolean

Flags: Read / Write

Default value: FALSE


The “factory-data-startup-wm-class” property

  “factory-data-startup-wm-class” gchar *

Flags: Read / Write

Default value: ""


The “factory-data-try-exec” property

  “factory-data-try-exec”    gchar *

Flags: Read / Write

Default value: ""


The “factory-data-working-dir” property

  “factory-data-working-dir” gchar *

Flags: Read / Write

Default value: "%d"