-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
File selector: Switch to TreeView (#206)
- Loading branch information
1 parent
6d8e23a
commit 2ddabd7
Showing
33 changed files
with
3,703 additions
and
3,191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gresources> | ||
<gresource prefix="/com/github/davidmhewitt/torrential"> | ||
<file alias="open-magnet.svg" compressed="true" preprocess="xml-stripblanks">icons/open-magnet.svg</file> | ||
<file compressed="true" preprocess="xml-stripblanks">icons/filter.svg</file> | ||
<file preprocess="xml-stripblanks">icons/open-magnet.svg</file> | ||
<file preprocess="xml-stripblanks">icons/filter.svg</file> | ||
<file compressed="true" preprocess="xml-stripblanks">ui/FileSelectFactory.ui</file> | ||
</gresource> | ||
</gresources> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<interface> | ||
<template class="GtkListItem"> | ||
<property name="child"> | ||
<object class="GtkTreeExpander" id="expander"> | ||
<binding name="list-row"> | ||
<lookup name="item">GtkListItem</lookup> | ||
</binding> | ||
<property name="child"> | ||
<object class="GtkBox"> | ||
<property name="orientation">horizontal</property> | ||
<property name="spacing">3</property> | ||
<child> | ||
<object class="GtkCheckButton"> | ||
<binding name="active"> | ||
<lookup name="download" type="FileSelectorModelTorrentFile"> | ||
<lookup name="item">expander</lookup> | ||
</lookup> | ||
</binding> | ||
<binding name="inconsistent"> | ||
<lookup name="inconsistent" type="FileSelectorModelTorrentFile"> | ||
<lookup name="item">expander</lookup> | ||
</lookup> | ||
</binding> | ||
<signal name="notify::active" handler="download_changed"/> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkImage"> | ||
<binding name="icon-name"> | ||
<lookup name="icon-name" type="FileSelectorModelTorrentFile"> | ||
<lookup name="item">expander</lookup> | ||
</lookup> | ||
</binding> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkLabel"> | ||
<property name="xalign">0</property> | ||
<binding name="label"> | ||
<lookup name="name" type="FileSelectorModelTorrentFile"> | ||
<lookup name="item">expander</lookup> | ||
</lookup> | ||
</binding> | ||
</object> | ||
</child> | ||
</object> | ||
</property> | ||
</object> | ||
</property> | ||
</template> | ||
</interface> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.