-
-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blueman-sendto: Do not try to send a file during discovery
It looks like there are controllers that cause a fail in that situation, so we need to wait until the discovery is done. Fixes #463
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 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
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
0951b20
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't use GLib function indirectly through GObject, it will work but produces warnings.
The timeout only ever wait a single second before call the function. Here [1] is a gist of what I was thinking about when I suggested it's use 😄 .
[1] https://gist.github.com/infirit/75402fc8fdbaa2d973f5
0951b20
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I got timeout_add wrong. Next try: f7c0f6a