diff options
author | fiaxh <git@lightrise.org> | 2019-09-11 01:19:24 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2019-09-11 16:20:48 +0200 |
commit | 43720d3d2fdf9d42771c6c0ae8bea5db8b33ca41 (patch) | |
tree | 3440644700d4522d8399e6133cf77c9e5220cca9 /main/data | |
parent | 2a70a4e83f8df7141672315504394295f1cdee3a (diff) | |
download | dino-43720d3d2fdf9d42771c6c0ae8bea5db8b33ca41.tar.gz dino-43720d3d2fdf9d42771c6c0ae8bea5db8b33ca41.zip |
Remove some use_markup usages, put skeleton header into .ui file
Diffstat (limited to 'main/data')
-rw-r--r-- | main/data/conversation_selector/conversation_row.ui | 1 | ||||
-rw-r--r-- | main/data/conversation_summary/item_metadata_header.ui | 55 |
2 files changed, 55 insertions, 1 deletions
diff --git a/main/data/conversation_selector/conversation_row.ui b/main/data/conversation_selector/conversation_row.ui index 99ae85e4..7772c907 100644 --- a/main/data/conversation_selector/conversation_row.ui +++ b/main/data/conversation_selector/conversation_row.ui @@ -83,7 +83,6 @@ </child> <child> <object class="GtkLabel" id="message_label"> - <property name="use_markup">True</property> <property name="max_width_chars">1</property> <property name="ellipsize">end</property> <property name="expand">True</property> diff --git a/main/data/conversation_summary/item_metadata_header.ui b/main/data/conversation_summary/item_metadata_header.ui new file mode 100644 index 00000000..93940c9a --- /dev/null +++ b/main/data/conversation_summary/item_metadata_header.ui @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <template class="DinoUiConversationSummaryItemMetaDataHeader"> + <property name="spacing">4</property> + <property name="orientation">horizontal</property> + <child> + <object class="GtkLabel" id="name_label"> + <property name="use_markup">True</property> + <property name="xalign">0</property> + <property name="valign">start</property> + <property name="visible">True</property> + <attributes> + <attribute name="scale" value="0.8"/> + </attributes> + </object> + </child> + <child> + <object class="GtkLabel" id="dot_label"> + <property name="label">ยท</property> + <property name="xalign">0</property> + <property name="valign">start</property> + <property name="visible">True</property> + <attributes> + <attribute name="scale" value="0.8"/> + </attributes> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + <child> + <object class="GtkLabel" id="time_label"> + <property name="xalign">0</property> + <property name="valign">start</property> + <property name="visible">True</property> + <attributes> + <attribute name="scale" value="0.8"/> + </attributes> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + <child> + <object class="GtkImage" id="encryption_image"> + <property name="opacity">0.4</property> + </object> + </child> + <child> + <object class="GtkImage" id="received_image"> + <property name="opacity">0.4</property> + </object> + </child> + </template> +</interface> |