We do this heuristically, by noting which messages it is in reply to and seeing if it matches the unmodified reply or reply all states. This isn't perfect; notably forwarded messages are picked up. We hide the existing draft in the conversation viewer as soon as we open the composer. We also ensure that future versions of this draft will also be hidden. The list of emails to be hidden is cleared when the conversation viewer is, so we query all open composers at this point to see which email ids should be hidden. https://bugzilla.gnome.org/show_bug.cgi?id=743067
63 lines
2.2 KiB
HTML
63 lines
2.2 KiB
HTML
<html>
|
|
<head>
|
|
<title>Geary</title>
|
|
<style id="default_fonts"></style>
|
|
<style id="blacklist_ids"></style>
|
|
</head>
|
|
<body>
|
|
<div id="message_container"><span id="placeholder"></span></div>
|
|
<div id="multiple_messages"><div id="selection_counter" class="email"></div></div>
|
|
<div id="email_template" class="email">
|
|
<div class="compressed_note"><span><span></div>
|
|
<div class="geary_spacer"></div>
|
|
<div class="email_container">
|
|
<div class="email_warning"></div>
|
|
<div class="header_container">
|
|
<img src="" class="avatar" />
|
|
<div class="button_bar">
|
|
<div class="starred button"><img src="" class="icon" /></div>
|
|
<div class="unstarred button"><img src="" class="icon" /></div>
|
|
<div class="menu button"><img src="" class="icon" /></div>
|
|
</div>
|
|
<img src="" class="attachment icon" />
|
|
<div class="header"></div>
|
|
<div class="preview"></div>
|
|
</div>
|
|
<div class="remote_images"><img class="close_show_images button" /></div>
|
|
<div class="body"></div>
|
|
<div class="draft_edit"><span class="draft_edit_button button"></span></div>
|
|
</div>
|
|
</div>
|
|
<div id="attachment_template" class="attachment_container">
|
|
<div class="top_border"></div>
|
|
<table class="attachment"><tr>
|
|
<td class="preview"><img src="" /></td>
|
|
<td class="info">
|
|
<div class="filename"></div>
|
|
<div class="filesize"></div>
|
|
</td>
|
|
</tr></table>
|
|
</div>
|
|
<div id="link_warning_template" class="link_warning">
|
|
<img class="close_link_warning button" />
|
|
</div>
|
|
<div id="spinner">
|
|
<!--
|
|
Spinner code from CSSLoad.net
|
|
License: http://cssload.net/en/terms_of_use
|
|
-->
|
|
<div id="floatingCirclesG">
|
|
<div class="f_circleG" id="frotateG_01"></div>
|
|
<div class="f_circleG" id="frotateG_02"></div>
|
|
<div class="f_circleG" id="frotateG_03"></div>
|
|
<div class="f_circleG" id="frotateG_04"></div>
|
|
<div class="f_circleG" id="frotateG_05"></div>
|
|
<div class="f_circleG" id="frotateG_06"></div>
|
|
<div class="f_circleG" id="frotateG_07"></div>
|
|
<div class="f_circleG" id="frotateG_08"></div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|