~sense/ubuntu/lucid/transmission/fix-497882

« back to all changes in this revision

Viewing changes to gtk/tr-prefs.h

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2008-11-28 15:33:48 UTC
  • mfrom: (1.1.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20081128153348-it70trfnxiroblmc
Tags: 1.40-0ubuntu1
* New upstream release (LP: #302672)
  - Tracker communication uses fewer resources
  - More accurate bandwidth limits
  - Reduce disk fragmentation by preallocating files (LP: #287726)
  - Stability, security and performance improvements to the RPC /
    Web UI server (closes LP: #290423)
  - Support compression when serving Web UI and RPC responses
  - Simplify the RPC whitelist
  - Fix bug that prevented handshakes with encrypted BitComet peers
  - Fix 1.3x bug that could re-download some data unnecessarily
    (LP: #295040)
  - Option to automatically update the blocklist weekly
  - Added off-hour bandwidth scheduling
  - Simplify file/priority selection in the details dialog
  - Fix a couple of crashes
  - New / updated translations
  - Don't inhibit hibernation by default (LP: #292929)
  - Use "close" animation when sending to notification area (LP: #130811)
  - Fix resize problems (LP: #269872)
  - Support "--version" option when launching from command line
    (LP: #292011)
  - Correctly parse announce URLs that have leading or trailing
    spaces (LP: #262411)
  - Display an error when "Open Torrent" fails (LP: #281463)
* Dropped 10_fix_crasher_from_upstream.dpatch: Fix is in this
  upstream release.
* debian/control: Don't just build-depend on libcurl-dev, which is
  a virtual package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 *
4
4
 * This file is licensed by the GPL version 2.  Works owned by the
5
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. 
 
6
 * so that the bulk of its code can remain under the MIT license.
7
7
 * This exemption does not extend to derived works not owned by
8
8
 * the Transmission project.
9
 
 * 
10
 
 * $Id: tr-prefs.h 6329 2008-07-15 01:03:03Z charles $
 
9
 *
 
10
 * $Id: tr-prefs.h 6870 2008-10-08 18:26:55Z charles $
11
11
 */
12
12
 
13
13
#ifndef TR_PREFS_H
15
15
 
16
16
#include <gtk/gtk.h>
17
17
 
18
 
GtkWidget * tr_prefs_dialog_new( GObject * core, GtkWindow * parent );
 
18
GtkWidget * tr_prefs_dialog_new( GObject *   core,
 
19
                                 GtkWindow * parent );
19
20
 
20
21
/* if you add a key here,  you /must/ add its
21
22
 * default in tr_prefs_init_global( void ) */
24
25
#define PREF_KEY_DL_LIMIT               "download-limit"
25
26
#define PREF_KEY_UL_LIMIT_ENABLED       "upload-limit-enabled"
26
27
#define PREF_KEY_UL_LIMIT               "upload-limit"
 
28
#define PREF_KEY_SCHED_LIMIT_ENABLED    "sched-limit-enabled"
 
29
#define PREF_KEY_SCHED_BEGIN            "sched-begin"
 
30
#define PREF_KEY_SCHED_END              "sched-end"
 
31
#define PREF_KEY_SCHED_DL_LIMIT         "sched-download-limit"
 
32
#define PREF_KEY_SCHED_UL_LIMIT         "sched-upload-limit"
27
33
#define PREF_KEY_OPTIONS_PROMPT         "show-options-window"
28
34
#define PREF_KEY_DOWNLOAD_DIR           "download-dir"
29
35
#define PREF_KEY_OPEN_DIALOG_FOLDER     "open-dialog-dir"
30
 
#define PREF_KEY_ALLOW_HIBERNATION      "allow-hibernation-even-when-torrents-are-active"
 
36
#define PREF_KEY_INHIBIT_HIBERNATION    "inhibit-desktop-hibernation"
31
37
#define PREF_KEY_DIR_WATCH              "watch-dir"
32
38
#define PREF_KEY_DIR_WATCH_ENABLED      "watch-dir-enabled"
33
 
#define PREF_KEY_SHOW_TRAY_ICON         "show-tray-icon"
 
39
#define PREF_KEY_SHOW_TRAY_ICON         "show-notification-area-icon"
34
40
#define PREF_KEY_START                  "start-added-torrents"
35
 
#define PREF_KEY_TRASH_ORIGINAL         "trash-original-torrent-files" 
 
41
#define PREF_KEY_TRASH_ORIGINAL         "trash-original-torrent-files"
36
42
#define PREF_KEY_PEER_SOCKET_TOS        "peer-socket-tos"
37
43
#define PREF_KEY_PORT                   "peer-port"
38
44
#define PREF_KEY_PORT_FORWARDING        "port-forwarding-enabled"
40
46
#define PREF_KEY_ASKQUIT                "prompt-before-exit"
41
47
#define PREF_KEY_ENCRYPTION             "encryption"
42
48
#define PREF_KEY_MSGLEVEL               "debug-message-level"
 
49
#define PREF_KEY_LAZY_BITFIELD          "lazy-bitfield-enabled"
43
50
#define PREF_KEY_SORT_MODE              "sort-mode"
44
51
#define PREF_KEY_SORT_REVERSED          "sort-reversed"
45
52
#define PREF_KEY_MINIMAL_VIEW           "minimal-view"
50
57
#define PREF_KEY_MAX_PEERS_GLOBAL       "max-peers-global"
51
58
#define PREF_KEY_MAX_PEERS_PER_TORRENT  "max-peers-per-torrent"
52
59
#define PREF_KEY_BLOCKLIST_ENABLED      "blocklist-enabled"
 
60
#define PREF_KEY_BLOCKLIST_UPDATES_ENABLED  "blocklist-updates-enabled"
53
61
#define PREF_KEY_MAIN_WINDOW_HEIGHT     "main-window-height"
54
62
#define PREF_KEY_MAIN_WINDOW_WIDTH      "main-window-width"
55
63
#define PREF_KEY_MAIN_WINDOW_X          "main-window-x"
56
64
#define PREF_KEY_MAIN_WINDOW_Y          "main-window-y"
57
65
#define PREF_KEY_RPC_PORT               "rpc-port"
58
66
#define PREF_KEY_RPC_ENABLED            "rpc-enabled"
59
 
#define PREF_KEY_RPC_ACL                "rpc-access-control-list"
 
67
#define PREF_KEY_RPC_WHITELIST          "rpc-whitelist"
 
68
#define PREF_KEY_RPC_WHITELIST_ENABLED  "rpc-whitelist-enabled"
60
69
#define PREF_KEY_RPC_AUTH_ENABLED       "rpc-authentication-required"
61
70
#define PREF_KEY_RPC_PASSWORD           "rpc-password"
62
71
#define PREF_KEY_RPC_USERNAME           "rpc-username"