Close #196
This commit is contained in:
parent
9b9d0dafef
commit
b65d23d6b5
|
@ -26,10 +26,10 @@
|
|||
<default>'public'</default>
|
||||
</key>
|
||||
<key name="timeline-page-size" type="i">
|
||||
<default>20</default>
|
||||
<default>12</default>
|
||||
</key>
|
||||
<key name="post-text-size" type="i">
|
||||
<default>120</default>
|
||||
<default>100</default>
|
||||
</key>
|
||||
<key name="live-updates" type="b">
|
||||
<default>true</default>
|
||||
|
@ -38,19 +38,6 @@
|
|||
<default>false</default>
|
||||
</key>
|
||||
|
||||
|
||||
|
||||
<key name="watched-users" type="s">
|
||||
<default>''</default>
|
||||
<summary>Watched Users</summary>
|
||||
</key>
|
||||
<key name="watched-hashtags" type="s">
|
||||
<default>''</default>
|
||||
<summary>Watched Hashtags</summary>
|
||||
</key>
|
||||
|
||||
|
||||
|
||||
<key name="window-x" type="i">
|
||||
<default>-1</default>
|
||||
</key>
|
||||
|
|
|
@ -220,6 +220,7 @@
|
|||
<property name="ellipsize">end</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="margin-bottom">8</property>
|
||||
<property name="track_visited_links">false</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
|
|
|
@ -78,7 +78,14 @@ public class Tootle.Widgets.Status : ListBoxRow {
|
|||
protected string date {
|
||||
owned get {
|
||||
var date = new GLib.DateTime.from_iso8601 (status.formal.created_at, null);
|
||||
return Granite.DateTime.get_relative_datetime (date);
|
||||
var humanized = Granite.DateTime.get_relative_datetime (date);
|
||||
return @"<small>$humanized</small>";
|
||||
}
|
||||
}
|
||||
|
||||
protected string handle {
|
||||
owned get {
|
||||
return @"<small>$(status.formal.account.handle)</small>";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -123,7 +130,7 @@ public class Tootle.Widgets.Status : ListBoxRow {
|
|||
bind_property ("escaped-spoiler", content, "text", BindingFlags.SYNC_CREATE);
|
||||
bind_property ("escaped-content", revealer_content, "text", BindingFlags.SYNC_CREATE);
|
||||
status.formal.account.bind_property ("avatar", avatar, "url", BindingFlags.SYNC_CREATE);
|
||||
status.formal.account.bind_property ("handle", handle_label, "label", BindingFlags.SYNC_CREATE);
|
||||
bind_property ("handle", handle_label, "label", BindingFlags.SYNC_CREATE);
|
||||
bind_property ("display_name", name_label, "text", BindingFlags.SYNC_CREATE);
|
||||
bind_property ("date", date_label, "label", BindingFlags.SYNC_CREATE);
|
||||
status.formal.bind_property ("pinned", pin_indicator, "visible", BindingFlags.SYNC_CREATE);
|
||||
|
|
Loading…
Reference in New Issue