Clipboard/src/preferences.h
Cristian Henzel 3ed97a051e ClipIt-v1.1.0-09112010001-beta
+ Added: Option to show index numbers in history.
+ Fixed: Search window now gets properly focused when launched with the hotkey.
+ Fixed: Search window is now resizable.
+ Fixed: Double casting when calling 'item_selected'.
+ Fixed: Removed some unnecessary comments and fixed some of the others.
+ Fixed: Moved search dialog and functions to manage.c, as this dialog will
                become "Manage Clipboard" in the next version.

Changes to be committed:

	modified:   ChangeLog
	modified:   TODO
	modified:   configure.in
	modified:   src/Makefile.am
	modified:   src/main.c
	modified:   src/main.h
	new file:   src/manage.c
	new file:   src/manage.h
	modified:   src/preferences.c
	modified:   src/preferences.h
2010-12-22 22:15:41 +02:00

66 lines
2.0 KiB
C

/* Copyright (C) 2010 by Cristian Henzel <oss@web-tm.com>
*
* forked from parcellite, which is
* Copyright (C) 2007-2008 by Xyhthyx <xyhthyx@gmail.com>
*
* 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 <http://www.gnu.org/licenses/>.
*/
#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 "<Ctrl><Alt>H"
#define DEF_ACTIONS_KEY "<Ctrl><Alt>A"
#define DEF_MENU_KEY "<Ctrl><Alt>P"
#define DEF_SEARCH_KEY "<Ctrl><Alt>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