mirror of
https://github.com/transmission/transmission
synced 2024-12-23 16:24:02 +00:00
586cff9506
* Add compat operator* for RefPtr * Rename `*_tree_view_*` button handling helpers to `*_item_view_*` * Move torrent item colors to CSS * Switch to list view for torrents list (GTK 4) * Bump Fedora image to 39 (current rawhide) for GTK 4.11 Enable deprecations as there're lots of them in 4.11 and I'm not keen on fixing them all right now. Disable warnings as errors due to -Warray-bounds issue somewhere in libfmt.
79 lines
2.9 KiB
XML
79 lines
2.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk" version="4.0"/>
|
|
<template class="GtkListItem">
|
|
<property name="child">
|
|
<object class="GtkBox">
|
|
<property name="orientation">horizontal</property>
|
|
<property name="spacing">3</property>
|
|
<binding name="css-classes">
|
|
<closure type="GStrv" function="gtr_strv_join">
|
|
<lookup name="css-classes" type="gtkmm__CustomObject_7Torrent">
|
|
<lookup name="item">GtkListItem</lookup>
|
|
</lookup>
|
|
<constant type="GStrv">tr-list-item
tr-compact</constant>
|
|
</closure>
|
|
</binding>
|
|
<binding name="sensitive">
|
|
<lookup name="sensitive" type="gtkmm__CustomObject_7Torrent">
|
|
<lookup name="item">GtkListItem</lookup>
|
|
</lookup>
|
|
</binding>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="pixel-size">16</property>
|
|
<property name="valign">0.5</property>
|
|
<property name="vexpand">1</property>
|
|
<binding name="gicon">
|
|
<lookup name="icon" type="gtkmm__CustomObject_7Torrent">
|
|
<lookup name="item">GtkListItem</lookup>
|
|
</lookup>
|
|
</binding>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="ellipsize">end</property>
|
|
<property name="xalign">0</property>
|
|
<property name="valign">0.5</property>
|
|
<property name="hexpand">1</property>
|
|
<property name="vexpand">1</property>
|
|
<binding name="label">
|
|
<lookup name="name" type="gtkmm__CustomObject_7Torrent">
|
|
<lookup name="item">GtkListItem</lookup>
|
|
</lookup>
|
|
</binding>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="valign">0.5</property>
|
|
<property name="xalign">0</property>
|
|
<property name="vexpand">1</property>
|
|
<binding name="label">
|
|
<lookup name="short-status" type="gtkmm__CustomObject_7Torrent">
|
|
<lookup name="item">GtkListItem</lookup>
|
|
</lookup>
|
|
</binding>
|
|
<style>
|
|
<class name="tr-small"/>
|
|
<class name="tr-status"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkProgressBar">
|
|
<property name="show-text">1</property>
|
|
<property name="valign">0.5</property>
|
|
<property name="vexpand">1</property>
|
|
<binding name="fraction">
|
|
<lookup name="percent-done" type="gtkmm__CustomObject_7Torrent">
|
|
<lookup name="item">GtkListItem</lookup>
|
|
</lookup>
|
|
</binding>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</property>
|
|
</template>
|
|
</interface>
|