/* Copyright (C) 2010 by Cristian Henzel * * forked from parcellite, which is * Copyright (C) 2007-2008 by Xyhthyx * * This file is part of ClipIt. * * ClipIt is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * ClipIt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef PREFERENCES_H #define PREFERENCES_H G_BEGIN_DECLS #define INIT_HISTORY_KEY NULL #define INIT_ACTIONS_KEY NULL #define INIT_MENU_KEY NULL #define INIT_SEARCH_KEY NULL #define DEF_USE_COPY TRUE #define DEF_USE_PRIMARY FALSE #define DEF_SYNCHRONIZE FALSE #define DEF_SHOW_INDEXES FALSE #define DEF_SAVE_HISTORY TRUE #define DEF_HISTORY_LIMIT 25 #define DEF_SMALL_HISTORY TRUE #define DEF_HISTORY_SMALL 25 #define DEF_HYPERLINKS_ONLY FALSE #define DEF_CONFIRM_CLEAR FALSE #define DEF_FULL_HIST_BUTTON FALSE #define DEF_SINGLE_LINE TRUE #define DEF_REVERSE_HISTORY FALSE #define DEF_ITEM_LENGTH 50 #define DEF_ELLIPSIZE 2 #define DEF_HISTORY_KEY "H" #define DEF_ACTIONS_KEY "A" #define DEF_MENU_KEY "P" #define DEF_SEARCH_KEY "F" #define DEF_NO_ICON FALSE #define ACTIONS_FILE ".local/share/clipit/actions" #define EXCLUDES_FILE ".local/share/clipit/excludes" #define PREFERENCES_FILE ".config/clipit/clipitrc" void read_preferences(); void show_preferences(gint tab); G_END_DECLS #endif