layout is not part of conf_t type anymore, and becomes a static variable in wins.c
This commit is contained in:
parent
9ee3eecfa6
commit
8c8f3a56ff
@ -1,4 +1,4 @@
|
|||||||
/* $calcurse: vars.c,v 1.3 2007/07/21 19:30:55 culot Exp $ */
|
/* $calcurse: vars.c,v 1.4 2007/08/15 15:36:05 culot Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Calcurse - text-based organizer
|
* Calcurse - text-based organizer
|
||||||
@ -29,6 +29,7 @@
|
|||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
#include "calendar.h"
|
#include "calendar.h"
|
||||||
#include "custom.h"
|
#include "custom.h"
|
||||||
|
#include "wins.h"
|
||||||
#include "vars.h"
|
#include "vars.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -104,7 +105,7 @@ vars_init(conf_t *conf)
|
|||||||
conf->auto_save = true;
|
conf->auto_save = true;
|
||||||
conf->skip_system_dialogs = false;
|
conf->skip_system_dialogs = false;
|
||||||
conf->skip_progress_bar = false;
|
conf->skip_progress_bar = false;
|
||||||
conf->layout = 1;
|
wins_set_layout(1);
|
||||||
|
|
||||||
calendar_set_first_day_of_week(MONDAY);
|
calendar_set_first_day_of_week(MONDAY);
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $calcurse: vars.h,v 1.15 2007/07/28 13:11:43 culot Exp $ */
|
/* $calcurse: vars.h,v 1.16 2007/08/15 15:36:05 culot Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Calcurse - text-based organizer
|
* Calcurse - text-based organizer
|
||||||
@ -77,7 +77,6 @@ typedef struct {
|
|||||||
bool confirm_delete;
|
bool confirm_delete;
|
||||||
bool skip_system_dialogs;
|
bool skip_system_dialogs;
|
||||||
bool skip_progress_bar;
|
bool skip_progress_bar;
|
||||||
int layout;
|
|
||||||
} conf_t;
|
} conf_t;
|
||||||
|
|
||||||
extern int col, row;
|
extern int col, row;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user