projects
/
cinaest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
066c914
)
IMDb download dialog: use new syntax to connect signals
author
Philipp Zabel
<philipp.zabel@gmail.com>
Fri, 6 Aug 2010 16:16:40 +0000
(18:16 +0200)
committer
Philipp Zabel
<philipp.zabel@gmail.com>
Fri, 6 Aug 2010 16:38:59 +0000
(18:38 +0200)
src/plugins/imdb-download-dialog.vala
patch
|
blob
|
history
diff --git
a/src/plugins/imdb-download-dialog.vala
b/src/plugins/imdb-download-dialog.vala
index
8173c0d
..
0811b74
100644
(file)
--- a/
src/plugins/imdb-download-dialog.vala
+++ b/
src/plugins/imdb-download-dialog.vala
@@
-35,9
+35,8
@@
class IMDbDownloadDialog : Note {
public new void run (dynamic DBus.Object server, string mirror) {
int res;
try {
- server.Progress += this.on_progress;
- server.DescriptionChanged += this.on_description_changed;
-
+ server.Progress.connect (this.on_progress);
+ server.DescriptionChanged.connect (this.on_description_changed);
int flags = IMDbDownloader.MOVIES | IMDbDownloader.GENRES | IMDbDownloader.RATINGS | IMDbDownloader.AKAS;
if (plots)
flags |= IMDbDownloader.PLOTS;