Added grnet readme file. Bug fixes.
authorMiltiadis Vasilakis <mvasilak@gmail.com>
Wed, 14 Dec 2011 11:03:26 +0000 (13:03 +0200)
committerMiltiadis Vasilakis <mvasilak@gmail.com>
Wed, 14 Dec 2011 11:03:26 +0000 (13:03 +0200)
Classes/RSTextFieldCell.m
Classes/StorageObjectViewController.m
README2 [new file with mode: 0644]

index 0f8365e..09b0b0f 100755 (executable)
     } else if (style == UITableViewCellStyleValue2) {
         textField.font = [UIFont boldSystemFontOfSize:15.0];
     }
     } else if (style == UITableViewCellStyleValue2) {
         textField.font = [UIFont boldSystemFontOfSize:15.0];
     }
-    
-    textField.textColor = self.detailTextLabel.textColor;        
+
+    if (self.detailTextLabel) {
+        textField.textColor = self.detailTextLabel.textColor;        
+    }
     [self addSubview:textField];
     
     self.detailTextLabel.textColor = [UIColor clearColor];
     [self addSubview:textField];
     
     self.detailTextLabel.textColor = [UIColor clearColor];
index f43dd08..8fa0d76 100755 (executable)
                                 
                 self.documentInteractionController = [UIDocumentInteractionController interactionControllerWithURL:[NSURL fileURLWithPath:filePath]];
                 self.documentInteractionController.delegate = self;
                                 
                 self.documentInteractionController = [UIDocumentInteractionController interactionControllerWithURL:[NSURL fileURLWithPath:filePath]];
                 self.documentInteractionController.delegate = self;
-                
-                if (![self.documentInteractionController presentOptionsMenuFromRect:self.view.frame inView:self.view animated:YES]) {
+
+                UITableViewCell *openFileCell = [self.tableView cellForRowAtIndexPath:indexPath];
+                if (![self.documentInteractionController presentOptionsMenuFromRect:openFileCell.frame inView:self.view animated:YES]) {
                     if ([self.object isPlayableMedia]) {
                         MediaViewController *vc = [[MediaViewController alloc] initWithNibName:@"MediaViewController" bundle:nil];
                         vc.container = self.container;
                     if ([self.object isPlayableMedia]) {
                         MediaViewController *vc = [[MediaViewController alloc] initWithNibName:@"MediaViewController" bundle:nil];
                         vc.container = self.container;
diff --git a/README2 b/README2
new file mode 100644 (file)
index 0000000..c62e9d1
--- /dev/null
+++ b/README2
@@ -0,0 +1,4 @@
+This repository is a fork of https://github.com/rackspace/rackspace-ios 
+Merged changes up to 2011-11-21
+All new code is copyright of the Greek Research and Technology Network - GRNET (http://www.grnet.gr)
+