Skip to content

Commit

Permalink
Merge pull request #174 from torikulhabib/master
Browse files Browse the repository at this point in the history
new style
  • Loading branch information
torikulhabib authored Aug 12, 2022
2 parents f550185 + 035dd7a commit f8fa680
Show file tree
Hide file tree
Showing 9 changed files with 130 additions and 66 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ This application prioritizes convenience, full of features and an attractive app
<p align="center">
<img src="Screenshot2.png" alt="Home">
</p>
<h1 align="center">👦 Torrent Peers of GabutDM 🙈</h1>
<p align="center">
<img src="Screenshot3.png" alt="Home">
<h1 align="center">🏡 Sharing of GabutDM 🙈</h1>
<p align="center">
<img src="Screenshot4.png" alt="Home">
Expand Down
Binary file modified Screenshot1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Screenshot2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Screenshot3.png
Binary file not shown.
6 changes: 6 additions & 0 deletions data/com.github.gabutakut.gabutdm.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@
<binary>com.github.gabutakut.gabutdm</binary>
</provides>
​ <releases>
<release version="1.9.0" date="2022-8-12">
<description>
<p>Servers and Peers</p>
<p>Menu Move to trash</p>
</description>
</release>
<release version="1.8.9" date="2022-8-1">
<description>
<p>Sorter Time And Date</p>
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project ('com.github.gabutakut.gabutdm','vala', 'c', version: '1.8.9')
project ('com.github.gabutakut.gabutdm','vala', 'c', version: '1.9.0')

i18n = import ('i18n')

Expand Down
4 changes: 3 additions & 1 deletion src/AddUrl.vala
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@ namespace Gabut {
construct {
hashoptions = new Gee.HashMap<string, string> ();
var view_mode = new ModeButton () {
hexpand = true
hexpand = true,
halign = Gtk.Align.CENTER,
valign = Gtk.Align.CENTER
};
view_mode.append_text (_("Address"));
view_mode.append_text (_("Proxy"));
Expand Down
172 changes: 113 additions & 59 deletions src/Downloader.vala

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions src/Utils.vala
Original file line number Diff line number Diff line change
Expand Up @@ -1889,7 +1889,7 @@ namespace Gabut {
}

private async void aria_start () throws Error {
string[] exec = {"aria2c", "--no-conf", "--enable-rpc", "--quiet=true"};
string[] exec = {"aria2c", "--no-conf", "--enable-rpc", "--quiet=true", "--pause"};
exec += @"--rpc-listen-port=$(get_dbsetting (DBSettings.RPCPORT))";
exec += @"--rpc-max-request-size=$(get_dbsetting (DBSettings.RPCSIZE))";
exec += @"--listen-port=$(get_dbsetting (DBSettings.BTLISTENPORT))";
Expand Down Expand Up @@ -2441,7 +2441,12 @@ namespace Gabut {
private Gtk.Box box_btn (string name, string labeln) {
var imginf = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 1);
imginf.append (image_btn (name, 16));
imginf.append (new Gtk.Label (labeln));
var title = new Gtk.Label (labeln) {
halign = Gtk.Align.CENTER,
wrap_mode = Pango.WrapMode.WORD_CHAR,
attributes = set_attribute (Pango.Weight.BOLD)
};
imginf.append (title);
return imginf;
}

Expand Down

0 comments on commit f8fa680

Please sign in to comment.