diff options
author | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-25 17:13:41 +0000 |
---|---|---|
committer | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-25 17:13:41 +0000 |
commit | de004cba3d752c7e5ab3eb6b45536c0879e6764a (patch) | |
tree | b8792a4dee668e0cb8c96f9c7a1bada047198ff3 /chrome/app | |
parent | 34ac70504d7090a9689c78fbcadd1a1224fc9cdd (diff) | |
download | chromium_src-de004cba3d752c7e5ab3eb6b45536c0879e6764a.zip chromium_src-de004cba3d752c7e5ab3eb6b45536c0879e6764a.tar.gz chromium_src-de004cba3d752c7e5ab3eb6b45536c0879e6764a.tar.bz2 |
OS X First run dialog: hide import option of nothing to import from.
* Modify the Mac First Run dialog so that if the system in question doesn't have any browser profiles to import from, we don't display the option.
* Modify SafariImporter to only be enabled if the current user's account actually has a profile attached to it.
Review URL: http://codereview.chromium.org/218039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27200 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/nibs/FirstRunDialog.xib | 44 |
1 files changed, 42 insertions, 2 deletions
diff --git a/chrome/app/nibs/FirstRunDialog.xib b/chrome/app/nibs/FirstRunDialog.xib index b18830e..8408fdf 100644 --- a/chrome/app/nibs/FirstRunDialog.xib +++ b/chrome/app/nibs/FirstRunDialog.xib @@ -587,7 +587,7 @@ <string key="label">enabled: importBookmarks</string> <reference key="source" ref="21765562"/> <reference key="destination" ref="1001"/> - <object class="NSNibBindingConnector" key="connector"> + <object class="NSNibBindingConnector" key="connector" id="760401606"> <reference key="NSSource" ref="21765562"/> <reference key="NSDestination" ref="1001"/> <string key="NSLabel">enabled: importBookmarks</string> @@ -638,6 +638,39 @@ </object> <int key="connectionID">92</int> </object> + <object class="IBConnectionRecord"> + <object class="IBBindingConnection" key="connection"> + <string key="label">hidden: browserImportListHidden</string> + <reference key="source" ref="690083374"/> + <reference key="destination" ref="1001"/> + <object class="NSNibBindingConnector" key="connector"> + <reference key="NSSource" ref="690083374"/> + <reference key="NSDestination" ref="1001"/> + <string key="NSLabel">hidden: browserImportListHidden</string> + <string key="NSBinding">hidden</string> + <string key="NSKeyPath">browserImportListHidden</string> + <int key="NSNibBindingConnectorVersion">2</int> + </object> + </object> + <int key="connectionID">94</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBBindingConnection" key="connection"> + <string key="label">hidden: browserImportListHidden</string> + <reference key="source" ref="21765562"/> + <reference key="destination" ref="1001"/> + <object class="NSNibBindingConnector" key="connector"> + <reference key="NSSource" ref="21765562"/> + <reference key="NSDestination" ref="1001"/> + <string key="NSLabel">hidden: browserImportListHidden</string> + <string key="NSBinding">hidden</string> + <string key="NSKeyPath">browserImportListHidden</string> + <reference key="NSPreviousConnector" ref="760401606"/> + <int key="NSNibBindingConnectorVersion">2</int> + </object> + </object> + <int key="connectionID">96</int> + </object> </object> <object class="IBMutableOrderedSet" key="objectRecords"> <object class="NSArray" key="orderedObjects"> @@ -1007,7 +1040,7 @@ </object> </object> <nil key="sourceID"/> - <int key="maxID">92</int> + <int key="maxID">96</int> </object> <object class="IBClassDescriber" key="IBDocument.Classes"> <object class="NSMutableArray" key="referencedPartialClassDescriptions"> @@ -1080,6 +1113,13 @@ <string key="minorKey">browser/cocoa/tab_strip_model_observer_bridge.h</string> </object> </object> + <object class="IBPartialClassDescription"> + <string key="className">NSWindow</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">browser/cocoa/nswindow_local_state.h</string> + </object> + </object> </object> </object> <int key="IBDocument.localizationMode">0</int> |