Revision: 2687
http://skim-app.svn.sourceforge.net/skim-app/?rev=2687&view=rev
Author: hofman
Date: 2007-08-19 10:06:04 -0700 (Sun, 19 Aug 2007)
Log Message:
-----------
Add a sheet with preferences for the downloads window.
Modified Paths:
--------------
trunk/Dutch.lproj/DownloadsWindow.nib/classes.nib
trunk/Dutch.lproj/DownloadsWindow.nib/info.nib
trunk/Dutch.lproj/DownloadsWindow.nib/keyedobjects.nib
trunk/English.lproj/DownloadsWindow.nib/classes.nib
trunk/English.lproj/DownloadsWindow.nib/info.nib
trunk/English.lproj/DownloadsWindow.nib/keyedobjects.nib
trunk/French.lproj/DownloadsWindow.nib/classes.nib
trunk/French.lproj/DownloadsWindow.nib/info.nib
trunk/French.lproj/DownloadsWindow.nib/keyedobjects.nib
trunk/Italian.lproj/DownloadsWindow.nib/classes.nib
trunk/Italian.lproj/DownloadsWindow.nib/info.nib
trunk/Italian.lproj/DownloadsWindow.nib/keyedobjects.nib
trunk/SKDownloadController.h
trunk/SKDownloadController.m
trunk/Skim.xcodeproj/project.pbxproj
Added Paths:
-----------
trunk/Images/SmallPreferences.tiff
Modified: trunk/Dutch.lproj/DownloadsWindow.nib/classes.nib
===================================================================
--- trunk/Dutch.lproj/DownloadsWindow.nib/classes.nib 2007-08-19 12:19:32 UTC
(rev 2686)
+++ trunk/Dutch.lproj/DownloadsWindow.nib/classes.nib 2007-08-19 17:06:04 UTC
(rev 2687)
@@ -8,10 +8,20 @@
SUPERCLASS = NSObject;
},
{
- ACTIONS = {cancelDownload = id; clearDownloads = id;
removeDownload = id; };
+ ACTIONS = {
+ cancelDownload = id;
+ clearDownloads = id;
+ dismissDownloadsPreferences = id;
+ removeDownload = id;
+ showDownloadPreferences = id;
+ };
CLASS = SKDownloadController;
LANGUAGE = ObjC;
- OUTLETS = {clearButton = NSButton; tableView = NSTableView; };
+ OUTLETS = {
+ clearButton = NSButton;
+ preferencesSheet = NSWindow;
+ tableView = NSTableView;
+ };
SUPERCLASS = NSWindowController;
},
{CLASS = SKProgressCell; LANGUAGE = ObjC; SUPERCLASS =
NSTextFieldCell; }
Modified: trunk/Dutch.lproj/DownloadsWindow.nib/info.nib
===================================================================
--- trunk/Dutch.lproj/DownloadsWindow.nib/info.nib 2007-08-19 12:19:32 UTC
(rev 2686)
+++ trunk/Dutch.lproj/DownloadsWindow.nib/info.nib 2007-08-19 17:06:04 UTC
(rev 2687)
@@ -8,7 +8,7 @@
<string>446.1</string>
<key>IBOpenObjects</key>
<array>
- <integer>5</integer>
+ <integer>30</integer>
</array>
<key>IBSystem Version</key>
<string>8R218</string>
Modified: trunk/Dutch.lproj/DownloadsWindow.nib/keyedobjects.nib
===================================================================
(Binary files differ)
Modified: trunk/English.lproj/DownloadsWindow.nib/classes.nib
===================================================================
--- trunk/English.lproj/DownloadsWindow.nib/classes.nib 2007-08-19 12:19:32 UTC
(rev 2686)
+++ trunk/English.lproj/DownloadsWindow.nib/classes.nib 2007-08-19 17:06:04 UTC
(rev 2687)
@@ -8,10 +8,20 @@
SUPERCLASS = NSObject;
},
{
- ACTIONS = {cancelDownload = id; clearDownloads = id;
removeDownload = id; };
+ ACTIONS = {
+ cancelDownload = id;
+ clearDownloads = id;
+ dismissDownloadsPreferences = id;
+ removeDownload = id;
+ showDownloadPreferences = id;
+ };
CLASS = SKDownloadController;
LANGUAGE = ObjC;
- OUTLETS = {clearButton = NSButton; tableView = NSTableView; };
+ OUTLETS = {
+ clearButton = NSButton;
+ preferencesSheet = NSWindow;
+ tableView = NSTableView;
+ };
SUPERCLASS = NSWindowController;
},
{CLASS = SKProgressCell; LANGUAGE = ObjC; SUPERCLASS =
NSTextFieldCell; }
Modified: trunk/English.lproj/DownloadsWindow.nib/info.nib
===================================================================
--- trunk/English.lproj/DownloadsWindow.nib/info.nib 2007-08-19 12:19:32 UTC
(rev 2686)
+++ trunk/English.lproj/DownloadsWindow.nib/info.nib 2007-08-19 17:06:04 UTC
(rev 2687)
@@ -9,6 +9,7 @@
<key>IBOpenObjects</key>
<array>
<integer>5</integer>
+ <integer>30</integer>
</array>
<key>IBSystem Version</key>
<string>8R218</string>
Modified: trunk/English.lproj/DownloadsWindow.nib/keyedobjects.nib
===================================================================
(Binary files differ)
Modified: trunk/French.lproj/DownloadsWindow.nib/classes.nib
===================================================================
--- trunk/French.lproj/DownloadsWindow.nib/classes.nib 2007-08-19 12:19:32 UTC
(rev 2686)
+++ trunk/French.lproj/DownloadsWindow.nib/classes.nib 2007-08-19 17:06:04 UTC
(rev 2687)
@@ -8,10 +8,20 @@
SUPERCLASS = NSObject;
},
{
- ACTIONS = {cancelDownload = id; clearDownloads = id;
removeDownload = id; };
+ ACTIONS = {
+ cancelDownload = id;
+ clearDownloads = id;
+ dismissDownloadsPreferences = id;
+ removeDownload = id;
+ showDownloadPreferences = id;
+ };
CLASS = SKDownloadController;
LANGUAGE = ObjC;
- OUTLETS = {clearButton = NSButton; tableView = NSTableView; };
+ OUTLETS = {
+ clearButton = NSButton;
+ preferencesSheet = NSWindow;
+ tableView = NSTableView;
+ };
SUPERCLASS = NSWindowController;
},
{CLASS = SKProgressCell; LANGUAGE = ObjC; SUPERCLASS =
NSTextFieldCell; }
Modified: trunk/French.lproj/DownloadsWindow.nib/info.nib
===================================================================
--- trunk/French.lproj/DownloadsWindow.nib/info.nib 2007-08-19 12:19:32 UTC
(rev 2686)
+++ trunk/French.lproj/DownloadsWindow.nib/info.nib 2007-08-19 17:06:04 UTC
(rev 2687)
@@ -9,6 +9,7 @@
<key>IBOpenObjects</key>
<array>
<integer>5</integer>
+ <integer>30</integer>
</array>
<key>IBSystem Version</key>
<string>8R218</string>
Modified: trunk/French.lproj/DownloadsWindow.nib/keyedobjects.nib
===================================================================
(Binary files differ)
Added: trunk/Images/SmallPreferences.tiff
===================================================================
(Binary files differ)
Property changes on: trunk/Images/SmallPreferences.tiff
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/Italian.lproj/DownloadsWindow.nib/classes.nib
===================================================================
--- trunk/Italian.lproj/DownloadsWindow.nib/classes.nib 2007-08-19 12:19:32 UTC
(rev 2686)
+++ trunk/Italian.lproj/DownloadsWindow.nib/classes.nib 2007-08-19 17:06:04 UTC
(rev 2687)
@@ -8,10 +8,20 @@
SUPERCLASS = NSObject;
},
{
- ACTIONS = {cancelDownload = id; clearDownloads = id;
removeDownload = id; };
+ ACTIONS = {
+ cancelDownload = id;
+ clearDownloads = id;
+ dismissDownloadsPreferences = id;
+ removeDownload = id;
+ showDownloadPreferences = id;
+ };
CLASS = SKDownloadController;
LANGUAGE = ObjC;
- OUTLETS = {clearButton = NSButton; tableView = NSTableView; };
+ OUTLETS = {
+ clearButton = NSButton;
+ preferencesSheet = NSWindow;
+ tableView = NSTableView;
+ };
SUPERCLASS = NSWindowController;
},
{CLASS = SKProgressCell; LANGUAGE = ObjC; SUPERCLASS =
NSTextFieldCell; }
Modified: trunk/Italian.lproj/DownloadsWindow.nib/info.nib
===================================================================
--- trunk/Italian.lproj/DownloadsWindow.nib/info.nib 2007-08-19 12:19:32 UTC
(rev 2686)
+++ trunk/Italian.lproj/DownloadsWindow.nib/info.nib 2007-08-19 17:06:04 UTC
(rev 2687)
@@ -9,6 +9,7 @@
<key>IBOpenObjects</key>
<array>
<integer>5</integer>
+ <integer>30</integer>
</array>
<key>IBSystem Version</key>
<string>8R218</string>
Modified: trunk/Italian.lproj/DownloadsWindow.nib/keyedobjects.nib
===================================================================
(Binary files differ)
Modified: trunk/SKDownloadController.h
===================================================================
--- trunk/SKDownloadController.h 2007-08-19 12:19:32 UTC (rev 2686)
+++ trunk/SKDownloadController.h 2007-08-19 17:06:04 UTC (rev 2687)
@@ -42,6 +42,7 @@
@interface SKDownloadController : NSWindowController {
IBOutlet NSTableView *tableView;
IBOutlet NSButton *clearButton;
+ IBOutlet NSWindow *preferencesSheet;
NSMutableArray *downloads;
}
@@ -53,4 +54,7 @@
- (IBAction)removeDownload:(id)sender;
- (IBAction)cancelDownload:(id)sender;
+- (IBAction)showDownloadPreferences:(id)sender;
+- (IBAction)dismissDownloadsPreferences:(id)sender;
+
@end
Modified: trunk/SKDownloadController.m
===================================================================
--- trunk/SKDownloadController.m 2007-08-19 12:19:32 UTC (rev 2686)
+++ trunk/SKDownloadController.m 2007-08-19 17:06:04 UTC (rev 2687)
@@ -165,6 +165,15 @@
[self addDownloadForURL:theURL];
}
+- (IBAction)showDownloadPreferences:(id)sender {
+ [NSApp beginSheet:preferencesSheet modalForWindow:[self window]
modalDelegate:nil didEndSelector:NULL contextInfo:NULL];
+}
+
+- (IBAction)dismissDownloadsPreferences:(id)sender {
+ [NSApp endSheet:preferencesSheet returnCode:[sender tag]];
+ [preferencesSheet orderOut:self];
+}
+
#pragma mark SKDownloadDelegate
- (void)downloadDidStart:(SKDownload *)download {
Modified: trunk/Skim.xcodeproj/project.pbxproj
===================================================================
--- trunk/Skim.xcodeproj/project.pbxproj 2007-08-19 12:19:32 UTC (rev
2686)
+++ trunk/Skim.xcodeproj/project.pbxproj 2007-08-19 17:06:04 UTC (rev
2687)
@@ -177,6 +177,7 @@
CEF7175C0B90DEEF003A2771 /* ReleaseNotes.nib in Resources */ =
{isa = PBXBuildFile; fileRef = CEF717560B90DEEF003A2771 /* ReleaseNotes.nib */;
};
CEF7175F0B90DF10003A2771 /* SKReleaseNotesController.m in
Sources */ = {isa = PBXBuildFile; fileRef = CEF7175E0B90DF10003A2771 /*
SKReleaseNotesController.m */; };
CEF839B30C77742A00A3AD51 /* Files_SKExtensions.m in Sources */
= {isa = PBXBuildFile; fileRef = CEF839B10C77742A00A3AD51 /*
Files_SKExtensions.m */; };
+ CEF84C630C78A89A00A3AD51 /* SmallPreferences.tiff in Resources
*/ = {isa = PBXBuildFile; fileRef = CEF84C620C78A89900A3AD51 /*
SmallPreferences.tiff */; };
CEFD68740C01D4080027B933 /* SkimImporter.mdimporter in
CopyFiles */ = {isa = PBXBuildFile; fileRef = CEFD68690C01D3BB0027B933 /*
SkimImporter.mdimporter */; };
CEFDF8BE0B3848C40091C61A /* SKNavigationWindow.m in Sources */
= {isa = PBXBuildFile; fileRef = CEFDF8BD0B3848C40091C61A /*
SKNavigationWindow.m */; };
F92DB5AC0B36FE1F002A26E9 /* BDSKHeaderPopUpButtonCell.m in
Sources */ = {isa = PBXBuildFile; fileRef = F92DB5A90B36FE1F002A26E9 /*
BDSKHeaderPopUpButtonCell.m */; };
@@ -578,6 +579,7 @@
CEF7175E0B90DF10003A2771 /* SKReleaseNotesController.m */ =
{isa = PBXFileReference; fileEncoding = 30; lastKnownFileType =
sourcecode.c.objc; path = SKReleaseNotesController.m; sourceTree = "<group>"; };
CEF839B00C77742A00A3AD51 /* Files_SKExtensions.h */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path =
Files_SKExtensions.h; sourceTree = "<group>"; };
CEF839B10C77742A00A3AD51 /* Files_SKExtensions.m */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path
= Files_SKExtensions.m; sourceTree = "<group>"; };
+ CEF84C620C78A89900A3AD51 /* SmallPreferences.tiff */ = {isa =
PBXFileReference; lastKnownFileType = image.tiff; name = SmallPreferences.tiff;
path = Images/SmallPreferences.tiff; sourceTree = "<group>"; };
CEFD68610C01D3BB0027B933 /* SkimImporter.xcodeproj */ = {isa =
PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name =
SkimImporter.xcodeproj; path = SkimImporter/SkimImporter.xcodeproj; sourceTree
= "<group>"; };
CEFDF8BC0B3848C40091C61A /* SKNavigationWindow.h */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path =
SKNavigationWindow.h; sourceTree = "<group>"; };
CEFDF8BD0B3848C40091C61A /* SKNavigationWindow.m */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path
= SKNavigationWindow.m; sourceTree = "<group>"; };
@@ -996,6 +998,7 @@
CEAA56D20C6DEE83006BD633 /* Cancel.tiff */,
CEAA56D30C6DEE83006BD633 /* Delete.tiff */,
CEAA68EA0C71242F006BD633 /* Resume.tiff */,
+ CEF84C620C78A89900A3AD51 /*
SmallPreferences.tiff */,
CE0715890B8A3D6300733CC8 /* NoteDocument.icns
*/,
CE7C5D180BD8086C0011315D /*
ToolbarLineNote.tiff */,
CE4190C20B94963A00ECF819 /*
ToolbarCircleNote.tiff */,
@@ -1248,6 +1251,7 @@
CEAA56D40C6DEE83006BD633 /* Cancel.tiff in
Resources */,
CEAA56D50C6DEE83006BD633 /* Delete.tiff in
Resources */,
CEAA68EB0C71242F006BD633 /* Resume.tiff in
Resources */,
+ CEF84C630C78A89A00A3AD51 /*
SmallPreferences.tiff in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit