source: trunk/gtk/tr-prefs.h @ 12578

Last change on this file since 12578 was 12578, checked in by jordan, 11 years ago

(trunk gtk) #4372 "make notification and system sounds configurable" -- fixed.

  • Property svn:keywords set to Date Rev Author Id
File size: 3.0 KB
Line 
1/*
2 * This file Copyright (C) Mnemosyne LLC
3 *
4 * This file is licensed by the GPL version 2. Works owned by the
5 * Transmission project are granted a special exemption to clause 2(b)
6 * so that the bulk of its code can remain under the MIT license.
7 * This exemption does not extend to derived works not owned by
8 * the Transmission project.
9 *
10 * $Id: tr-prefs.h 12578 2011-07-23 17:23:12Z jordan $
11 */
12
13#ifndef GTR_PREFS_H
14#define GTR_PREFS_H
15
16#include <gtk/gtk.h>
17
18GtkWidget * gtr_prefs_dialog_new( GtkWindow * parent, GObject * core );
19
20/* if you add a key here,  you /must/ add its
21 * default in tr_prefs_init_defaults( void ) */
22
23#define PREF_KEY_BLOCKLIST_UPDATES_ENABLED               "blocklist-updates-enabled"
24#define PREF_KEY_COMPACT_VIEW                            "compact-view"
25#define PREF_KEY_DIR_WATCH_ENABLED                       "watch-dir-enabled"
26#define PREF_KEY_DIR_WATCH                               "watch-dir"
27#define PREF_KEY_FILTERBAR                               "show-filterbar"
28#define PREF_KEY_INHIBIT_HIBERNATION                     "inhibit-desktop-hibernation"
29#define PREF_KEY_MAIN_WINDOW_HEIGHT                      "main-window-height"
30#define PREF_KEY_MAIN_WINDOW_IS_MAXIMIZED                "main-window-is-maximized"
31#define PREF_KEY_MAIN_WINDOW_WIDTH                       "main-window-width"
32#define PREF_KEY_MAIN_WINDOW_X                           "main-window-x"
33#define PREF_KEY_MAIN_WINDOW_Y                           "main-window-y"
34#define PREF_KEY_OPEN_DIALOG_FOLDER                      "open-dialog-dir"
35#define PREF_KEY_OPTIONS_PROMPT                          "show-options-window"
36#define PREF_KEY_SHOW_BACKUP_TRACKERS                    "show-backup-trackers"
37#define PREF_KEY_SHOW_MORE_PEER_INFO                     "show-extra-peer-details"
38#define PREF_KEY_SHOW_MORE_TRACKER_INFO                  "show-tracker-scrapes"
39#define PREF_KEY_SHOW_TRAY_ICON                          "show-notification-area-icon"
40#define PREF_KEY_SORT_MODE                               "sort-mode"
41#define PREF_KEY_SORT_REVERSED                           "sort-reversed"
42#define PREF_KEY_STATUSBAR                               "show-statusbar"
43#define PREF_KEY_STATUSBAR_STATS                         "statusbar-stats"
44#define PREF_KEY_TOOLBAR                                 "show-toolbar"
45#define PREF_KEY_TORRENT_ADDED_NOTIFICATION_COMMAND      "torrent-added-notification-command"
46#define PREF_KEY_TORRENT_ADDED_NOTIFICATION_ENABLED      "torrent-added-notification-enabled"
47#define PREF_KEY_TORRENT_COMPLETE_NOTIFICATION_COMMAND   "torrent-complete-notification-command"
48#define PREF_KEY_TORRENT_COMPLETE_NOTIFICATION_ENABLED   "torrent-complete-notification-enabled"
49#define PREF_KEY_TORRENT_COMPLETE_SOUND_COMMAND          "torrent-complete-sound-command"
50#define PREF_KEY_TORRENT_COMPLETE_SOUND_ENABLED          "torrent-complete-sound-enabled"
51#define PREF_KEY_USER_HAS_GIVEN_INFORMED_CONSENT         "user-has-given-informed-consent"
52
53enum
54{
55    MAIN_WINDOW_REFRESH_INTERVAL_SECONDS = 2,
56
57    SECONDARY_WINDOW_REFRESH_INTERVAL_SECONDS = 2
58};
59
60#endif /* GTR_PREFS_H */
Note: See TracBrowser for help on using the repository browser.