Commit 38bc17a2 authored by Andrea Schaefer's avatar Andrea Schaefer

Add ellipsize 'end' to labels with dynamic content

parent 14729046
Pipeline #4012 passed with stages
in 4 minutes and 59 seconds
......@@ -1035,7 +1035,7 @@ chatty_blist_chat_list_add_columns (GtkTreeView *treeview)
g_object_set (renderer,
// TODO derive width-chars from screen width
"width-chars", 34,
"width-chars", 24,
"ellipsize", PANGO_ELLIPSIZE_END,
NULL);
......@@ -1783,12 +1783,12 @@ chatty_blist_chats_update_node (PurpleBuddy *buddy,
}
last_msg_text = g_strconcat ("<span color='#c0c0c0'>",
tag,
"</span>",
"<span color='#646464'>",
chatty_node->conv.last_message,
"</span>",
NULL);
tag,
"</span>",
"<span color='#646464'>",
chatty_node->conv.last_message,
"</span>",
NULL);
last_msg_ts = g_strconcat ("<span color='#646464'>",
"<small>",
......
......@@ -420,12 +420,13 @@
<child>
<object class="GtkLabel" id="label_account_id">
<property name="xalign">0</property>
<property name="ellipsize">end</property>
<property name="visible">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">0</property>
<property name="width">1</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
</child>
......@@ -445,12 +446,13 @@
<child>
<object class="GtkLabel" id="label_protocol">
<property name="xalign">0</property>
<property name="ellipsize">end</property>
<property name="visible">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
<property name="width">1</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
</child>
......@@ -470,12 +472,13 @@
<child>
<object class="GtkLabel" id="label_status">
<property name="xalign">0</property>
<property name="ellipsize">end</property>
<property name="visible">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">2</property>
<property name="width">1</property>
<property name="width">2</property>
<property name="height">1</property>
</packing>
</child>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment