~ubuntu-branches/ubuntu/hardy/gnome-commander/hardy

« back to all changes in this revision

Viewing changes to src/gnome-cmd-types.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2006-06-13 15:39:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060613153948-gvrt3mb2ddk5u62o
Tags: 1.2.0-3
added --disable-scrollkeeper on build

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
    GNOME Commander - A GNOME based file manager 
 
2
    GNOME Commander - A GNOME based file manager
3
3
    Copyright (C) 2001-2006 Marcus Bjurman
4
4
 
5
5
    This program is free software; you can redistribute it and/or modify
15
15
    You should have received a copy of the GNU General Public License
16
16
    along with this program; if not, write to the Free Software
17
17
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
 
*/ 
 
18
*/
19
19
#ifndef __GNOME_CMD_TYPES_H__
20
20
#define __GNOME_CMD_TYPES_H__
21
21
 
27
27
 
28
28
typedef enum
29
29
{
30
 
        GNOME_CMD_LAYOUT_TEXT,
31
 
        GNOME_CMD_LAYOUT_TYPE_ICONS,
32
 
        GNOME_CMD_LAYOUT_MIME_ICONS
 
30
    GNOME_CMD_LAYOUT_TEXT,
 
31
    GNOME_CMD_LAYOUT_TYPE_ICONS,
 
32
    GNOME_CMD_LAYOUT_MIME_ICONS
33
33
} GnomeCmdLayout;
34
34
 
35
35
 
36
36
typedef enum
37
37
{
38
 
        GNOME_CMD_SIZE_DISP_MODE_PLAIN,
39
 
        GNOME_CMD_SIZE_DISP_MODE_GROUPED,
40
 
        GNOME_CMD_SIZE_DISP_MODE_POWERED
 
38
    GNOME_CMD_SIZE_DISP_MODE_PLAIN,
 
39
    GNOME_CMD_SIZE_DISP_MODE_GROUPED,
 
40
    GNOME_CMD_SIZE_DISP_MODE_POWERED
41
41
} GnomeCmdSizeDispMode;
42
42
 
43
43
 
44
44
typedef enum
45
45
{
46
 
        GNOME_CMD_PERM_DISP_MODE_TEXT,
47
 
        GNOME_CMD_PERM_DISP_MODE_NUMBER,
 
46
    GNOME_CMD_PERM_DISP_MODE_TEXT,
 
47
    GNOME_CMD_PERM_DISP_MODE_NUMBER,
48
48
} GnomeCmdPermDispMode;
49
49
 
50
50
 
51
51
typedef enum
52
52
{
53
 
        GNOME_CMD_EXT_DISP_WITH_FNAME,
54
 
        GNOME_CMD_EXT_DISP_STRIPPED,
55
 
        GNOME_CMD_EXT_DISP_BOTH
 
53
    GNOME_CMD_EXT_DISP_WITH_FNAME,
 
54
    GNOME_CMD_EXT_DISP_STRIPPED,
 
55
    GNOME_CMD_EXT_DISP_BOTH
56
56
} GnomeCmdExtDispMode;
57
57
 
58
58
 
59
59
typedef enum
60
60
{
61
 
        GNOME_CMD_COLOR_NONE,
62
 
        GNOME_CMD_COLOR_MODERN,
63
 
        GNOME_CMD_COLOR_CLASSIC,
64
 
        GNOME_CMD_COLOR_CUSTOM,
65
 
        GNOME_CMD_NUM_COLOR_MODES
 
61
    GNOME_CMD_COLOR_NONE,
 
62
    GNOME_CMD_COLOR_MODERN,
 
63
    GNOME_CMD_COLOR_FUSION,
 
64
    GNOME_CMD_COLOR_CLASSIC,
 
65
    GNOME_CMD_COLOR_CUSTOM,
 
66
    GNOME_CMD_NUM_COLOR_MODES
66
67
} GnomeCmdColorMode;
67
68
 
 
69
 
 
70
typedef enum  // The (reversed) order of following enums is significant
 
71
{
 
72
    GNOME_CMD_CONFIRM_OVERWRITE_SKIP_ALL,
 
73
    GNOME_CMD_CONFIRM_OVERWRITE_QUERY,
 
74
    GNOME_CMD_CONFIRM_OVERWRITE_SILENTLY
 
75
} GnomeCmdConfirmOverwriteMode;
 
76
 
 
77
 
68
78
typedef struct
69
79
{
70
 
        gboolean respect_theme;
71
 
        GdkColor *sel_fg, *sel_bg;
72
 
        GdkColor *norm_fg, *norm_bg;
73
 
        GdkColor *curs_fg, *curs_bg;
 
80
    gboolean respect_theme;
 
81
    GdkColor *sel_fg, *sel_bg;
 
82
    GdkColor *norm_fg, *norm_bg;
 
83
    GdkColor *curs_fg, *curs_bg;
74
84
} GnomeCmdColorTheme;
75
85
 
 
86
 
76
87
struct _GnomeCmdBookmarkGroup
77
88
{
78
 
        GList *bookmarks;
79
 
        GnomeCmdCon *con;
80
 
        gpointer *data;
 
89
    GList *bookmarks;
 
90
    GnomeCmdCon *con;
 
91
    gpointer *data;
81
92
};
82
93
 
83
94
 
84
95
typedef struct {
85
 
        gchar *name;
86
 
        gchar *path;
87
 
        GnomeCmdBookmarkGroup *group;
 
96
    gchar *name;
 
97
    gchar *path;
 
98
    GnomeCmdBookmarkGroup *group;
88
99
} GnomeCmdBookmark;
89
100
 
90
101