Comment 11 for bug 361735

Revision history for this message
Razzloss (razzloss) wrote :

Meh, I was afraid you were going to be like that ;P. Luckily it seems that commandline args can be passed directly to mainwindow after WulforManager::start and before entering the gtk main loop. (I was afraid that I have to store them in wulformanager for passing...). So this will be changed in the next commit.

arg description also in next commit. o_O we have a man page. Ok, just kidding I've noticed it before, but wouldn't have remembered it. I'll try to document them. No idea if we can synchronize them automatically with the code.

Grah, why can't glib/gtk doc. explicitly say that you have to free something. Or even a link to _free function from _new would be a plus. Anyway I'll add the free (and also freeing of the parsed args) in the next commit.

I was thinking at first to only allow one connect/magnet per command, because of the search limit of 5 seconds, but decided to add the extra argument parsing.. So yes multiple -c and -m are possible, and can be implemented, but I don't think we should remove the optionless method. Since the program 'can do the right thing', if passed well-formatted URI/magnet why shouldn't it be allowed without options?

N_() was for not translating and only mark it for text extraction? Since I believe the GLIB is supposed to translate these.

You'll need a better IRC-client :D. But anyway you're the native speaker, so if existing sounds better I don't really care.

--RZ