HotFix to add Send File option, after PR#311

This commit is contained in:
masensio 2014-02-17 09:16:29 +01:00
parent 29318f128d
commit a5db2c2f68
7 changed files with 7 additions and 7 deletions

View file

@ -29,6 +29,6 @@
<item android:id="@+id/action_rename_file" android:title="@string/common_rename" android:icon="@android:drawable/ic_menu_set_as" android:orderInCategory="1" />
<item android:id="@+id/action_remove_file" android:title="@string/common_remove" android:icon="@android:drawable/ic_menu_delete" android:orderInCategory="1" />
<item android:id="@+id/action_see_details" android:title="@string/actionbar_see_details" android:icon="@android:drawable/ic_menu_info_details" android:orderInCategory="1" />
<item android:id="@+id/action_share_file" android:title="@string/actionbar_share_file" android:icon="@android:drawable/ic_menu_info_details" android:orderInCategory="1" />
<item android:id="@+id/action_send_file" android:title="@string/actionbar_send_file" android:icon="@android:drawable/ic_menu_info_details" android:orderInCategory="1" />
</menu>

View file

@ -10,7 +10,7 @@
<string name="actionbar_mkdir">Ordner anlegen</string>
<string name="actionbar_settings">Einstellungen</string>
<string name="actionbar_see_details">Details</string>
<string name="actionbar_share_file">Freigeben</string>
<string name="actionbar_send_file">Freigeben</string>
<string name="prefs_category_general">Allgemein</string>
<string name="prefs_category_more">Mehr</string>
<string name="prefs_accounts">Konten</string>

View file

@ -10,7 +10,7 @@
<string name="actionbar_mkdir">Ordner anlegen</string>
<string name="actionbar_settings">Einstellungen</string>
<string name="actionbar_see_details">Details</string>
<string name="actionbar_share_file">Teilen</string>
<string name="actionbar_send_file">Teilen</string>
<string name="prefs_category_general">Allgemein</string>
<string name="prefs_category_more">Mehr</string>
<string name="prefs_accounts">Konten</string>

View file

@ -10,7 +10,7 @@
<string name="actionbar_mkdir">Ordner anlegen</string>
<string name="actionbar_settings">Einstellungen</string>
<string name="actionbar_see_details">Details</string>
<string name="actionbar_share_file">Teilen</string>
<string name="actionbar_send_file">Teilen</string>
<string name="prefs_category_general">Allgemein</string>
<string name="prefs_category_more">Mehr</string>
<string name="prefs_accounts">Konten</string>

View file

@ -11,7 +11,7 @@
<string name="actionbar_mkdir">Create directory</string>
<string name="actionbar_settings">Settings</string>
<string name="actionbar_see_details">Details</string>
<string name="actionbar_share_file">Share</string>
<string name="actionbar_send_file">Send</string>
<string name="prefs_category_general">General</string>
<string name="prefs_category_more">More</string>
<string name="prefs_accounts">Accounts</string>

View file

@ -361,7 +361,7 @@ public class OCFileListFragment extends ExtendedListFragment implements EditName
((FileFragment.ContainerActivity)getActivity()).showDetails(mTargetFile);
return true;
}
case R.id.action_share_file: {
case R.id.action_send_file: {
Intent sharingIntent = new Intent(android.content.Intent.ACTION_SEND);
// set MimeType
sharingIntent.setType(mTargetFile.getMimetype());

View file

@ -310,7 +310,7 @@ public class PreviewImageFragment extends FileFragment implements OnRemoteOper
seeDetails();
return true;
}
case R.id.action_share_file: {
case R.id.action_send_file: {
shareFile();
return true;
}