Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gtk gui #10

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Gtk gui #10

wants to merge 8 commits into from

Conversation

rnestler
Copy link
Owner

Just searches for hard coded term and displays them in a ScrolledWindow.
Inspired by
https://mmstick.gitbooks.io/rust-programming-phoronix-reader-how-to/content/index.html

@rnestler
Copy link
Owner Author

Hmm it works locally for me. @ubruhin could you try to build it?

@ubruhin
Copy link
Contributor

ubruhin commented Dec 22, 2015

Compiling torrent-search v0.1.0
src/bin/torrent-search-gtk.rs:42:23: 42:42 error: no method named set_margin_start found for type gtk::widgets::link_button::LinkButton in the current scope
src/bin/torrent-search-gtk.rs:42 title_and_url.set_margin_start(0);
^~~~~~~~~~~~~~~~~~~
error: aborting due to previous error
Build failed, waiting for other jobs to finish...
Could not compile torrent-search.

@rnestler
Copy link
Owner Author

Hmm... That's the same error that travis gets. Why is it working for me 😕

@rnestler
Copy link
Owner Author

@ubruhin Does it work for you as well now?

@ubruhin
Copy link
Contributor

ubruhin commented Dec 22, 2015

Yeah, it seems to work 👍

torrent search_002

Since we want to split multiple user interfaces into multiple binaries,
we can't have a single main file.
Just searches for hard coded term and displays them in a ScrolledWindow.
Inspired by
https://mmstick.gitbooks.io/rust-programming-phoronix-reader-how-to/content/index.html
This seems to fail to compile on some systems with:
 Compiling torrent-search v0.1.0 (file:///media/Daten/Eigene_Dateien/Programmieren/rust/rust-torrent-search)
 src/bin/torrent-search-gtk.rs:42:23: 42:42 error: no method named `set_margin_start` found for type `gtk::widgets::link_button::LinkButton` in the current scope
 src/bin/torrent-search-gtk.rs:42 title_and_url.set_margin_start(0);
 ^~~~~~~~~~~~~~~~~~~
 error: aborting due to previous error
 Build failed, waiting for other jobs to finish...
 Could not compile `torrent-search`.

Since it doesn't do anything meaningful we can just remove it.
Since we provide our own toolchain we must not install the "Linker and
platform libraries".
@rnestler
Copy link
Owner Author

Woohoo! It builds on AppVeyor!

@ubruhin
Copy link
Contributor

ubruhin commented Jan 13, 2016

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants