Changeset 6166


Ignore:
Timestamp:
Jun 13, 2008, 12:52:55 AM (14 years ago)
Author:
charles
Message:

make the preference file keys more consistent.

Location:
trunk/gtk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/conf.c

    r6164 r6166  
    356356    } renamed[] = {
    357357        { "default-download-directory", "download-dir" },
     358        { "encrypted-connections-only", "encryption" },
    358359        { "listening-port", "peer-port" },
    359360        { "nat-traversal-enabled", "port-forwarding-enabled" },
    360         { "encrypted-connections-only", "encryption" }
     361        { "open-dialog-folder", "open-dialog-dir" },
     362        { "watch-folder", "watch-dir" },
     363        { "watch-folder-enabled", "watch-dir-enabled" }
    361364    };
    362365
  • trunk/gtk/tr-prefs.h

    r6162 r6166  
    2727#define PREF_KEY_OPTIONS_PROMPT         "show-options-window"
    2828#define PREF_KEY_DOWNLOAD_DIR           "download-dir"
    29 #define PREF_KEY_OPEN_DIALOG_FOLDER     "open-dialog-folder"
     29#define PREF_KEY_OPEN_DIALOG_FOLDER     "open-dialog-dir"
    3030#define PREF_KEY_ALLOW_HIBERNATION      "allow-hibernation"
    31 #define PREF_KEY_DIR_WATCH              "watch-folder"
    32 #define PREF_KEY_DIR_WATCH_ENABLED      "watch-folder-enabled"
     31#define PREF_KEY_DIR_WATCH              "watch-dir"
     32#define PREF_KEY_DIR_WATCH_ENABLED      "watch-dir-enabled"
    3333#define PREF_KEY_SHOW_TRAY_ICON         "show-tray-icon"
    3434#define PREF_KEY_START                  "start-added-torrents"
Note: See TracChangeset for help on using the changeset viewer.