2007-09-27 20:57:58 +00:00
|
|
|
/*
|
2009-01-10 23:09:07 +00:00
|
|
|
* This file Copyright (C) 2007-2009 Charles Kerr <charles@transmissionbt.com>
|
2007-02-19 22:09:05 +00:00
|
|
|
*
|
2007-09-27 20:57:58 +00:00
|
|
|
* This file is licensed by the GPL version 2. Works owned by the
|
|
|
|
* Transmission project are granted a special exemption to clause 2(b)
|
2008-09-23 19:11:04 +00:00
|
|
|
* so that the bulk of its code can remain under the MIT license.
|
2007-09-27 20:57:58 +00:00
|
|
|
* This exemption does not extend to derived works not owned by
|
|
|
|
* the Transmission project.
|
2008-09-23 19:11:04 +00:00
|
|
|
*
|
2007-09-28 00:46:22 +00:00
|
|
|
* $Id$
|
2007-09-27 20:57:58 +00:00
|
|
|
*/
|
2007-02-19 22:09:05 +00:00
|
|
|
|
|
|
|
#ifndef TR_PREFS_H
|
|
|
|
#define TR_PREFS_H
|
|
|
|
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
2008-09-23 19:11:04 +00:00
|
|
|
GtkWidget * tr_prefs_dialog_new( GObject * core,
|
|
|
|
GtkWindow * parent );
|
2007-09-27 20:57:58 +00:00
|
|
|
|
2007-09-28 00:46:22 +00:00
|
|
|
/* if you add a key here, you /must/ add its
|
|
|
|
* default in tr_prefs_init_global( void ) */
|
|
|
|
|
2008-12-25 16:17:08 +00:00
|
|
|
#define PREF_KEY_SCHED_LIMIT_ENABLED "sched-limit-enabled"
|
|
|
|
#define PREF_KEY_SCHED_BEGIN "sched-begin"
|
|
|
|
#define PREF_KEY_SCHED_END "sched-end"
|
|
|
|
#define PREF_KEY_SCHED_DL_LIMIT "sched-download-limit"
|
|
|
|
#define PREF_KEY_SCHED_UL_LIMIT "sched-upload-limit"
|
|
|
|
#define PREF_KEY_OPTIONS_PROMPT "show-options-window"
|
|
|
|
#define PREF_KEY_OPEN_DIALOG_FOLDER "open-dialog-dir"
|
|
|
|
#define PREF_KEY_INHIBIT_HIBERNATION "inhibit-desktop-hibernation"
|
|
|
|
#define PREF_KEY_DIR_WATCH "watch-dir"
|
|
|
|
#define PREF_KEY_DIR_WATCH_ENABLED "watch-dir-enabled"
|
|
|
|
#define PREF_KEY_SHOW_TRAY_ICON "show-notification-area-icon"
|
2009-01-12 18:48:20 +00:00
|
|
|
#define PREF_KEY_SHOW_DESKTOP_NOTIFICATION "show-desktop-notification"
|
2008-12-25 16:17:08 +00:00
|
|
|
#define PREF_KEY_START "start-added-torrents"
|
|
|
|
#define PREF_KEY_TRASH_ORIGINAL "trash-original-torrent-files"
|
|
|
|
#define PREF_KEY_ASKQUIT "prompt-before-exit"
|
|
|
|
#define PREF_KEY_SORT_MODE "sort-mode"
|
|
|
|
#define PREF_KEY_SORT_REVERSED "sort-reversed"
|
|
|
|
#define PREF_KEY_MINIMAL_VIEW "minimal-view"
|
|
|
|
#define PREF_KEY_FILTERBAR "show-filterbar"
|
|
|
|
#define PREF_KEY_STATUSBAR "show-statusbar"
|
|
|
|
#define PREF_KEY_STATUSBAR_STATS "statusbar-stats"
|
|
|
|
#define PREF_KEY_TOOLBAR "show-toolbar"
|
2008-09-02 20:59:00 +00:00
|
|
|
#define PREF_KEY_BLOCKLIST_UPDATES_ENABLED "blocklist-updates-enabled"
|
2008-12-25 16:17:08 +00:00
|
|
|
#define PREF_KEY_MAIN_WINDOW_LAYOUT_ORDER "main-window-layout-order"
|
|
|
|
#define PREF_KEY_MAIN_WINDOW_HEIGHT "main-window-height"
|
|
|
|
#define PREF_KEY_MAIN_WINDOW_WIDTH "main-window-width"
|
|
|
|
#define PREF_KEY_MAIN_WINDOW_X "main-window-x"
|
|
|
|
#define PREF_KEY_MAIN_WINDOW_Y "main-window-y"
|
2007-09-27 20:57:58 +00:00
|
|
|
|
|
|
|
void tr_prefs_init_global( void );
|
|
|
|
|
2007-02-19 22:09:05 +00:00
|
|
|
#endif
|