Skip to content

Commit

Permalink
Support for dark mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mento committed Oct 18, 2018
1 parent f025ba0 commit 74dd8a3
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 394 deletions.
1 change: 1 addition & 0 deletions Dependencies/MacOSX10.14.sdk
16 changes: 8 additions & 8 deletions GPGPreferences.xcodeproj/project.pbxproj
Expand Up @@ -170,8 +170,8 @@
30781C841D36494800A771AC /* pt */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt; path = pt.lproj/Localizable.strings; sourceTree = "<group>"; };
30781C861D36496000A771AC /* pt */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt; path = pt.lproj/GPGToolsPref.strings; sourceTree = "<group>"; };
30781C881D36496600A771AC /* pt */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt; path = pt.lproj/WarningView.strings; sourceTree = "<group>"; };
30783F76214FA050000AF958 /* zh_CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh_CN"; path = "zh_CN.lproj/GPGToolsPref.strings"; sourceTree = "<group>"; };
30783F78214FA052000AF958 /* zh_CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh_CN"; path = "zh_CN.lproj/WarningView.strings"; sourceTree = "<group>"; };
30783F76214FA050000AF958 /* zh_CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = zh_CN; path = zh_CN.lproj/GPGToolsPref.strings; sourceTree = "<group>"; };
30783F78214FA052000AF958 /* zh_CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = zh_CN; path = zh_CN.lproj/WarningView.strings; sourceTree = "<group>"; };
307B75191CB2A31C00002ACF /* GPGPreferencesTerms.searchTerms */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = GPGPreferencesTerms.searchTerms; sourceTree = "<group>"; };
30B455FE172D7BB500A04D4A /* Libmacgpg.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Libmacgpg.framework; path = /Library/Frameworks/Libmacgpg.framework; sourceTree = "<absolute>"; };
30B7416817A2EFC100E1D157 /* GPGTools+Text.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "GPGTools+Text.png"; path = "Images/GPGTools+Text.png"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -221,8 +221,8 @@
children = (
1B3EAB321A975FD3005A444E /* Libmacgpg.framework */,
3032EC8B1C637A3C00A4DFDB /* UnitTests.xctest */,
1B3EAB361A975FD3005A444E /* org.gpgtools.Libmacgpg.xpc */,
1B3EAB3A1A975FD3005A444E /* LeakFinder.app */,
1B3EAB361A975FD3005A444E /* org.gpgtools.Libmacgpg.xpc */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -452,7 +452,7 @@
};
1B3EAB361A975FD3005A444E /* org.gpgtools.Libmacgpg.xpc */ = {
isa = PBXReferenceProxy;
fileType = "compiled.mach-o.executable";
fileType = "wrapper.xpc-service";
path = org.gpgtools.Libmacgpg.xpc;
remoteRef = 1B3EAB351A975FD3005A444E /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
Expand Down Expand Up @@ -703,7 +703,7 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
MACOSX_DEPLOYMENT_TARGET = 10.12;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
Expand Down Expand Up @@ -731,7 +731,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
LLVM_LTO = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
MACOSX_DEPLOYMENT_TARGET = 10.12;
SDKROOT = macosx;
};
name = Release;
Expand All @@ -752,6 +752,7 @@
INSTALL_PATH = "$(HOME)/Library/PreferencePanes";
LD_RUNPATH_SEARCH_PATHS = "/Library/Frameworks $(HOME)/Library/Frameworks";
PRODUCT_NAME = "${TARGET_NAME}";
SDKROOT = Dependencies/MacOSX10.14.sdk;
WRAPPER_EXTENSION = prefPane;
};
name = Debug;
Expand All @@ -773,6 +774,7 @@
INSTALL_PATH = "$(HOME)/Library/PreferencePanes";
LD_RUNPATH_SEARCH_PATHS = "/Library/Frameworks $(HOME)/Library/Frameworks";
PRODUCT_NAME = "${TARGET_NAME}";
SDKROOT = Dependencies/MacOSX10.14.sdk;
WRAPPER_EXTENSION = prefPane;
};
name = Release;
Expand All @@ -794,7 +796,6 @@
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
};
Expand All @@ -815,7 +816,6 @@
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_NAME = "$(TARGET_NAME)";
};
Expand Down
6 changes: 3 additions & 3 deletions Resources/Base.lproj/GPGToolsPref.xib
Expand Up @@ -202,15 +202,15 @@
<rect key="frame" x="105" y="251" width="371" height="28"/>
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" title="Search key servers for public key when signatures can not be verified because the public key does not exist in GPG Keychain." id="9oN-AB-7Fa">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="disabledControlTextColor" catalog="System" colorSpace="catalog"/>
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="5n5-Zm-LhX">
<rect key="frame" x="105" y="134" width="383" height="28"/>
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" title="Sending in reports helps us fix problems. Occasionally we will contact users regarding a report when they allow this." id="Uyz-OV-Mnx">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="disabledControlTextColor" catalog="System" colorSpace="catalog"/>
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
Expand Down Expand Up @@ -315,7 +315,7 @@
<rect key="frame" x="105" y="15" width="377" height="28"/>
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" title="Beta builds are published more often. New features and improvements are less tested." id="NWt-L7-Mwu">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="disabledControlTextColor" catalog="System" colorSpace="catalog"/>
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
Expand Down

0 comments on commit 74dd8a3

Please sign in to comment.