2007-09-27 20:57:58 +00:00
|
|
|
/*
|
2014-01-19 01:09:44 +00:00
|
|
|
* This file Copyright (C) 2007-2014 Mnemosyne LLC
|
2007-02-19 22:09:05 +00:00
|
|
|
*
|
2014-01-21 03:10:30 +00:00
|
|
|
* It may be used under the GNU GPL versions 2 or 3
|
2014-01-19 01:09:44 +00:00
|
|
|
* or any future license endorsed by Mnemosyne LLC.
|
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
|
|
|
|
2010-12-21 19:20:58 +00:00
|
|
|
#ifndef GTR_PREFS_H
|
|
|
|
#define GTR_PREFS_H
|
2007-02-19 22:09:05 +00:00
|
|
|
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
2012-12-05 17:29:46 +00:00
|
|
|
GtkWidget * gtr_prefs_dialog_new (GtkWindow * parent, GObject * core);
|
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
|
2012-12-05 17:29:46 +00:00
|
|
|
* default in tr_prefs_init_defaults (void) */
|
2007-09-28 00:46:22 +00:00
|
|
|
|
2011-07-23 17:23:12 +00:00
|
|
|
#define PREF_KEY_BLOCKLIST_UPDATES_ENABLED "blocklist-updates-enabled"
|
|
|
|
#define PREF_KEY_COMPACT_VIEW "compact-view"
|
|
|
|
#define PREF_KEY_DIR_WATCH_ENABLED "watch-dir-enabled"
|
|
|
|
#define PREF_KEY_DIR_WATCH "watch-dir"
|
|
|
|
#define PREF_KEY_FILTERBAR "show-filterbar"
|
|
|
|
#define PREF_KEY_INHIBIT_HIBERNATION "inhibit-desktop-hibernation"
|
|
|
|
#define PREF_KEY_MAIN_WINDOW_HEIGHT "main-window-height"
|
|
|
|
#define PREF_KEY_MAIN_WINDOW_IS_MAXIMIZED "main-window-is-maximized"
|
|
|
|
#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"
|
|
|
|
#define PREF_KEY_OPEN_DIALOG_FOLDER "open-dialog-dir"
|
|
|
|
#define PREF_KEY_OPTIONS_PROMPT "show-options-window"
|
|
|
|
#define PREF_KEY_SHOW_BACKUP_TRACKERS "show-backup-trackers"
|
|
|
|
#define PREF_KEY_SHOW_MORE_PEER_INFO "show-extra-peer-details"
|
|
|
|
#define PREF_KEY_SHOW_MORE_TRACKER_INFO "show-tracker-scrapes"
|
|
|
|
#define PREF_KEY_SHOW_TRAY_ICON "show-notification-area-icon"
|
|
|
|
#define PREF_KEY_SORT_MODE "sort-mode"
|
|
|
|
#define PREF_KEY_SORT_REVERSED "sort-reversed"
|
|
|
|
#define PREF_KEY_STATUSBAR "show-statusbar"
|
|
|
|
#define PREF_KEY_STATUSBAR_STATS "statusbar-stats"
|
|
|
|
#define PREF_KEY_TOOLBAR "show-toolbar"
|
|
|
|
#define PREF_KEY_TORRENT_ADDED_NOTIFICATION_ENABLED "torrent-added-notification-enabled"
|
|
|
|
#define PREF_KEY_TORRENT_COMPLETE_NOTIFICATION_ENABLED "torrent-complete-notification-enabled"
|
|
|
|
#define PREF_KEY_TORRENT_COMPLETE_SOUND_COMMAND "torrent-complete-sound-command"
|
|
|
|
#define PREF_KEY_TORRENT_COMPLETE_SOUND_ENABLED "torrent-complete-sound-enabled"
|
2011-08-13 22:58:49 +00:00
|
|
|
#define PREF_KEY_TRASH_CAN_ENABLED "trash-can-enabled"
|
2011-07-23 17:23:12 +00:00
|
|
|
#define PREF_KEY_USER_HAS_GIVEN_INFORMED_CONSENT "user-has-given-informed-consent"
|
2007-09-27 20:57:58 +00:00
|
|
|
|
2010-02-01 04:54:10 +00:00
|
|
|
enum
|
|
|
|
{
|
2010-02-02 08:10:28 +00:00
|
|
|
MAIN_WINDOW_REFRESH_INTERVAL_SECONDS = 2,
|
2010-02-01 04:54:10 +00:00
|
|
|
|
|
|
|
SECONDARY_WINDOW_REFRESH_INTERVAL_SECONDS = 2
|
|
|
|
};
|
|
|
|
|
2010-12-21 19:20:58 +00:00
|
|
|
#endif /* GTR_PREFS_H */
|