~ubuntu-branches/ubuntu/utopic/pcmanfm/utopic

« back to all changes in this revision

Viewing changes to src/settings.h

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Lee
  • Date: 2006-10-16 16:47:04 UTC
  • Revision ID: james.westby@ubuntu.com-20061016164704-w8zobnrvdxc7rvm5
Tags: upstream-0.3.2.1
ImportĀ upstreamĀ versionĀ 0.3.2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _SETTINGS_H_
 
2
#define _SETTINGS_H_
 
3
 
 
4
#include <glib.h>
 
5
#include <gdk/gdk.h>
 
6
#include "ptk-bookmarks.h"
 
7
 
 
8
typedef struct
 
9
{
 
10
    /* General Settings */
 
11
    /* gboolean singleInstance; */
 
12
    gboolean showDesktop;
 
13
    gboolean showWallpaper;
 
14
    char* wallpaper;
 
15
    GdkColor desktopBg1;
 
16
    GdkColor desktopBg2;
 
17
    GdkColor desktopText;
 
18
    char encoding[ 32 ];
 
19
    gboolean showHiddenFiles;
 
20
    gboolean showSidePane;
 
21
    int sidePaneMode;
 
22
    gboolean showThumbnail;
 
23
    int maxThumbSize;
 
24
 
 
25
    int bigIconSize;
 
26
    int smallIconSize;
 
27
 
 
28
    /* char* iconTheme; */
 
29
    char* terminal;
 
30
 
 
31
    int openBookmarkMethod; /* 1: current tab, 2: new tab, 3: new window */
 
32
    int viewMode; /* icon view or detailed list view */
 
33
    int sortOrder; /* Sort by name, size, time */
 
34
    int sortType; /* ascending, descending */
 
35
 
 
36
    /* Window State */
 
37
    int splitterPos;
 
38
    int width;
 
39
    int height;
 
40
 
 
41
    /* Bookmarks */
 
42
    PtkBookmarks* bookmarks;
 
43
}
 
44
AppSettings;
 
45
 
 
46
extern AppSettings appSettings;
 
47
 
 
48
void load_settings();
 
49
void save_settings();
 
50
void free_settings();
 
51
 
 
52
 
 
53
#endif