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

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

(trunk, gtk, qt) #2478: popup dialog for first-time users

  • Property svn:keywords set to Date Rev Author Id
File size: 2.6 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 9237 2009-10-02 22:53:19Z 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_defaults( void ) */
23
24#define PREF_KEY_USER_HAS_GIVEN_INFORMED_CONSENT   "user-has-given-informed-consent"
25#define PREF_KEY_OPTIONS_PROMPT                    "show-options-window"
26#define PREF_KEY_OPEN_DIALOG_FOLDER                "open-dialog-dir"
27#define PREF_KEY_INHIBIT_HIBERNATION               "inhibit-desktop-hibernation"
28#define PREF_KEY_DIR_WATCH                         "watch-dir"
29#define PREF_KEY_DIR_WATCH_ENABLED                 "watch-dir-enabled"
30#define PREF_KEY_SHOW_TRAY_ICON                    "show-notification-area-icon"
31#define PREF_KEY_SHOW_DESKTOP_NOTIFICATION         "show-desktop-notification"
32#define PREF_KEY_SHOW_MORE_TRACKER_INFO            "show-tracker-scrapes"
33#define PREF_KEY_SHOW_BACKUP_TRACKERS              "show-backup-trackers"
34#define PREF_KEY_START                             "start-added-torrents"
35#define PREF_KEY_TRASH_ORIGINAL                    "trash-original-torrent-files"
36#define PREF_KEY_ASKQUIT                           "prompt-before-exit"
37#define PREF_KEY_SORT_MODE                         "sort-mode"
38#define PREF_KEY_SORT_REVERSED                     "sort-reversed"
39#define PREF_KEY_FILTER_MODE                       "filter-mode"
40#define PREF_KEY_MINIMAL_VIEW                      "minimal-view"
41#define PREF_KEY_FILTERBAR                         "show-filterbar"
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_BLOCKLIST_UPDATES_ENABLED         "blocklist-updates-enabled"
46#define PREF_KEY_MAIN_WINDOW_LAYOUT_ORDER          "main-window-layout-order"
47#define PREF_KEY_MAIN_WINDOW_HEIGHT                "main-window-height"
48#define PREF_KEY_MAIN_WINDOW_WIDTH                 "main-window-width"
49#define PREF_KEY_MAIN_WINDOW_X                     "main-window-x"
50#define PREF_KEY_MAIN_WINDOW_Y                     "main-window-y"
51#define PREF_KEY_MAIN_WINDOW_IS_MAXIMIZED          "main-window-is-maximized"
52
53#endif
Note: See TracBrowser for help on using the repository browser.