mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
62319b8cd9
This allows the user to suppress the display of some of the warning dialogs (like "Confirm before Push"). They can be reset with Reset Warnings in the General preferences.
45 lines
1.2 KiB
Objective-C
45 lines
1.2 KiB
Objective-C
//
|
|
// PBGitDefaults.h
|
|
// GitX
|
|
//
|
|
// Created by Jeff Mesnil on 19/10/08.
|
|
// Copyright 2008 Jeff Mesnil (http://jmesnil.net/). All rights reserved.
|
|
//
|
|
|
|
@interface PBGitDefaults : NSObject
|
|
{
|
|
|
|
}
|
|
|
|
+ (int) commitMessageViewVerticalLineLength;
|
|
+ (BOOL) commitMessageViewHasVerticalLine;
|
|
+ (BOOL) isGistEnabled;
|
|
+ (BOOL) isGravatarEnabled;
|
|
+ (BOOL) confirmPublicGists;
|
|
+ (BOOL) isGistPublic;
|
|
+ (BOOL)showWhitespaceDifferences;
|
|
+ (BOOL)openCurDirOnLaunch;
|
|
+ (BOOL)showOpenPanelOnLaunch;
|
|
+ (BOOL) shouldCheckoutBranch;
|
|
+ (void) setShouldCheckoutBranch:(BOOL)shouldCheckout;
|
|
+ (NSString *) recentCloneDestination;
|
|
+ (void) setRecentCloneDestination:(NSString *)path;
|
|
+ (BOOL) showStageView;
|
|
+ (void) setShowStageView:(BOOL)suppress;
|
|
+ (BOOL) openPreviousDocumentsOnLaunch;
|
|
+ (void) setPreviousDocumentPaths:(NSArray *)documentPaths;
|
|
+ (NSArray *) previousDocumentPaths;
|
|
+ (void) removePreviousDocumentPaths;
|
|
+ (NSInteger) branchFilter;
|
|
+ (void) setBranchFilter:(NSInteger)state;
|
|
+ (NSInteger)historySearchMode;
|
|
+ (void)setHistorySearchMode:(NSInteger)mode;
|
|
|
|
|
|
// Suppressed Dialog Warnings
|
|
+ (void)suppressDialogWarningForDialog:(NSString *)dialog;
|
|
+ (BOOL)isDialogWarningSuppressedForDialog:(NSString *)dialog;
|
|
+ (void)resetAllDialogWarnings;
|
|
|
|
@end
|