1 /* logjam - a GTK client for LiveJournal.
2 * Copyright (C) 2000-2003 Evan Martin <evan@livejournal.com>
4 * vim: tabstop=4 shiftwidth=4 noexpandtab :
10 #include "liblj/livejournal.h"
14 #include "jamview.h" /* need META_COUNT */
18 #include "checkfriends.h"
21 int x
, y
, width
, height
;
22 int panedpos
; /* optional; for windows with panes. */
25 /* this should match the geometry_names[] array in conf_xml.c */
43 gboolean useproxyauth
;
46 gboolean usespellcheck
;
48 gboolean revertusejournal
;
54 gboolean cffloatraise
;
55 gboolean cffloat_decorate
;
56 gboolean friends_hidestats
;
57 gboolean allowmultipleinstances
;
59 gboolean smartquotes_russian
;
60 gboolean showmeta
[JAM_VIEW_META_COUNT
];
75 /* configuration file */
79 Geometry geometries
[GEOM_COUNT
];
85 gchar
*spell_language
;
93 char *proxyuser
, *proxypass
;
96 LJSecurity defaultsecurity
;
101 /* run-time settings. */
107 gchar
*conf_dir
; /* may be null, which means <home>/.logjam/ */
109 gboolean cli
; /* true if there's no gui */
113 GtkTooltips
*tooltips
;
121 gint autosave
; /* timeout id */
128 JamHost
* conf_host_by_name(Configuration
*c
, const char *hostname
);
130 extern Configuration conf
;
131 extern Application app
;
133 int conf_verify_dir(void);
134 void conf_make_path(char *file
, char *buf
, int len
);
136 char* conf_make_account_path(JamAccount
*acc
, const char *path
);
138 void conf_verify_a_host_exists();
140 gboolean
conf_rename_host(JamHost
*host
, const char *newname
, GError
**err
);