Tweak spoofed email warning UI
This commit is contained in:
parent
10051e0354
commit
ffaa43cbfe
3 changed files with 10 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ public class ConversationMessage : Gtk.Grid, Geary.BaseInterface {
|
|||
|
||||
private const string FROM_CLASS = "geary-from";
|
||||
private const string MATCH_CLASS = "geary-match";
|
||||
private const string SPOOF_CLASS = "geary-spoofed";
|
||||
private const string INTERNAL_ANCHOR_PREFIX = "geary:body#";
|
||||
private const string REPLACED_CID_TEMPLATE = "replaced_%02u@geary";
|
||||
private const string REPLACED_IMAGE_CLASS = "geary_replaced_inline_image";
|
||||
|
|
@ -128,6 +129,7 @@ public class ConversationMessage : Gtk.Grid, Geary.BaseInterface {
|
|||
_("This email address may have been forged")
|
||||
);
|
||||
address_parts.add(spoof_img);
|
||||
get_style_context().add_class(SPOOF_CLASS);
|
||||
}
|
||||
|
||||
Gtk.Label primary = new Gtk.Label(null);
|
||||
|
|
|
|||
|
|
@ -249,7 +249,7 @@
|
|||
<object class="GtkImage">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="pixel_size">36</property>
|
||||
<property name="pixel_size">24</property>
|
||||
<property name="icon_name">dialog-warning-symbolic</property>
|
||||
</object>
|
||||
<packing>
|
||||
|
|
|
|||
|
|
@ -147,6 +147,13 @@ grid.geary-message-summary {
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
.geary-headers flowboxchild.geary-spoofed image:dir(ltr) {
|
||||
margin-right: 2px;
|
||||
}
|
||||
.geary-headers flowboxchild.geary-spoofed image:dir(rtl) {
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
.geary-headers label.geary-from {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue