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

Last change on this file since 7685 was 7685, checked in by charles, 13 years ago

(trunk gtk) #1666: Option to disable notification bubbles

  • Property svn:keywords set to Date Rev Author Id
File size: 2.4 KB
Line 
1/*
2 * This file Copyright (C) 2007-2009 Charles Kerr <charles@transmissionbt.com>
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 7685 2009-01-12 18:48:20Z charles $
11 */
12
13#ifndef TR_PREFS_H
14#define TR_PREFS_H
15
16#include <gtk/gtk.h>
17
18GtkWidget * tr_prefs_dialog_new( GObject *   core,
19                                 GtkWindow * parent );
20
21/* if you add a key here,  you /must/ add its
22 * default in tr_prefs_init_global( void ) */
23
24#define PREF_KEY_SCHED_LIMIT_ENABLED        "sched-limit-enabled"
25#define PREF_KEY_SCHED_BEGIN                "sched-begin"
26#define PREF_KEY_SCHED_END                  "sched-end"
27#define PREF_KEY_SCHED_DL_LIMIT             "sched-download-limit"
28#define PREF_KEY_SCHED_UL_LIMIT             "sched-upload-limit"
29#define PREF_KEY_OPTIONS_PROMPT             "show-options-window"
30#define PREF_KEY_OPEN_DIALOG_FOLDER         "open-dialog-dir"
31#define PREF_KEY_INHIBIT_HIBERNATION        "inhibit-desktop-hibernation"
32#define PREF_KEY_DIR_WATCH                  "watch-dir"
33#define PREF_KEY_DIR_WATCH_ENABLED          "watch-dir-enabled"
34#define PREF_KEY_SHOW_TRAY_ICON             "show-notification-area-icon"
35#define PREF_KEY_SHOW_DESKTOP_NOTIFICATION  "show-desktop-notification"
36#define PREF_KEY_START                      "start-added-torrents"
37#define PREF_KEY_TRASH_ORIGINAL             "trash-original-torrent-files"
38#define PREF_KEY_ASKQUIT                    "prompt-before-exit"
39#define PREF_KEY_SORT_MODE                  "sort-mode"
40#define PREF_KEY_SORT_REVERSED              "sort-reversed"
41#define PREF_KEY_MINIMAL_VIEW               "minimal-view"
42#define PREF_KEY_FILTERBAR                  "show-filterbar"
43#define PREF_KEY_STATUSBAR                  "show-statusbar"
44#define PREF_KEY_STATUSBAR_STATS            "statusbar-stats"
45#define PREF_KEY_TOOLBAR                    "show-toolbar"
46#define PREF_KEY_BLOCKLIST_UPDATES_ENABLED  "blocklist-updates-enabled"
47#define PREF_KEY_MAIN_WINDOW_LAYOUT_ORDER   "main-window-layout-order"
48#define PREF_KEY_MAIN_WINDOW_HEIGHT         "main-window-height"
49#define PREF_KEY_MAIN_WINDOW_WIDTH          "main-window-width"
50#define PREF_KEY_MAIN_WINDOW_X              "main-window-x"
51#define PREF_KEY_MAIN_WINDOW_Y              "main-window-y"
52
53void tr_prefs_init_global( void );
54
55#endif
Note: See TracBrowser for help on using the repository browser.