1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

remove the old "isdownloading" notification for the current message.

This commit is contained in:
Jesse Vincent 2010-07-19 01:53:49 +00:00
parent ad7839e46e
commit 6d20c65778
2 changed files with 0 additions and 11 deletions

View File

@ -150,11 +150,6 @@
android:layout_width="22sp" android:layout_width="22sp"
android:layout_height="22sp" android:layout_height="22sp"
android:background="@drawable/ic_email_attachment_small" /> android:background="@drawable/ic_email_attachment_small" />
<View android:id="@+id/downloading"
android:layout_width="22sp"
android:layout_height="22sp"
android:background="@drawable/ic_menu_reverse_sort"
android:visibility="gone" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

View File

@ -101,7 +101,6 @@ public class MessageView extends K9Activity implements OnClickListener
private LinearLayout mCcContainerView; private LinearLayout mCcContainerView;
private TextView mAdditionalHeadersView; private TextView mAdditionalHeadersView;
private View mAttachmentIcon; private View mAttachmentIcon;
private View mDownloadingIcon;
private View mShowPicturesSection; private View mShowPicturesSection;
private Button mDownloadRemainder; private Button mDownloadRemainder;
@ -354,7 +353,6 @@ public class MessageView extends K9Activity implements OnClickListener
final int accountColor, final int accountColor,
final boolean unread, final boolean unread,
final boolean hasAttachments, final boolean hasAttachments,
final boolean isDownloading,
final boolean flagged, final boolean flagged,
final boolean answered) final boolean answered)
{ {
@ -388,7 +386,6 @@ public class MessageView extends K9Activity implements OnClickListener
mCcView.setText(cc); mCcView.setText(cc);
mAttachmentIcon.setVisibility(hasAttachments ? View.VISIBLE : View.GONE); mAttachmentIcon.setVisibility(hasAttachments ? View.VISIBLE : View.GONE);
mDownloadingIcon.setVisibility(isDownloading ? View.VISIBLE : View.GONE);
if (flagged) if (flagged)
{ {
mFlagged.setChecked(true); mFlagged.setChecked(true);
@ -720,7 +717,6 @@ public class MessageView extends K9Activity implements OnClickListener
mAttachments = (LinearLayout)findViewById(R.id.attachments); mAttachments = (LinearLayout)findViewById(R.id.attachments);
mAttachmentIcon = findViewById(R.id.attachment); mAttachmentIcon = findViewById(R.id.attachment);
mDownloadingIcon = findViewById(R.id.downloading);
mShowPicturesSection = findViewById(R.id.show_pictures_section); mShowPicturesSection = findViewById(R.id.show_pictures_section);
mDownloadRemainder = (Button)findViewById(R.id.download_remainder); mDownloadRemainder = (Button)findViewById(R.id.download_remainder);
@ -1888,7 +1884,6 @@ public class MessageView extends K9Activity implements OnClickListener
int color = mAccount.getChipColor(); int color = mAccount.getChipColor();
boolean hasAttachments = ((LocalMessage) message).getAttachmentCount() > 0; boolean hasAttachments = ((LocalMessage) message).getAttachmentCount() > 0;
boolean isDownloading = !message.isSet(Flag.X_DOWNLOADED_FULL);
boolean unread = !message.isSet(Flag.SEEN); boolean unread = !message.isSet(Flag.SEEN);
mHandler.setHeaders(subjectText, mHandler.setHeaders(subjectText,
@ -1900,7 +1895,6 @@ public class MessageView extends K9Activity implements OnClickListener
color, color,
unread, unread,
hasAttachments, hasAttachments,
isDownloading,
message.isSet(Flag.FLAGGED), message.isSet(Flag.FLAGGED),
message.isSet(Flag.ANSWERED)); message.isSet(Flag.ANSWERED));