Am Monday 09 June 2008 schrieb Olivier Goffart:
> Le dimanche 8 juin 2008, Cyrill Helg a écrit :
> > Hello
> >
> > What really annoyed me, was that kopete always connected with status
> > online after starting it. (yes of course when autoconnect was enabled,
> > but I wanted that)
> >
> > So I wrote this small patch to let the user choose that inital status.
> > Actually it would be nice if kopete would use that as well when failing
> > to restore a connection on a connection loss. (Sometimes it happens that
> > a protocol is just online)
> >
> > The code in the switch statement should be made cleaner, but I somehow
> > fail at that.
> >
> >
> > Cyrill Helg
>
> It's too bad you have to create another enum for that instead of just using
> the Kopete::OnlineStatusManager::Status one.
> But maybe it's forced by kcfg, which i don't know that much.

I don't understand what you mean with forced. Could I just pass the correct 
integer value?

If I create another enum, it maybe does not matcht the internal representation 
if that will be changed one day.

>
> I haven't seen the result (have you a screenshot)?
> But i wouldn't but that in a new groupbox.

There is the problem that now there is not enough space in the config dialog. 
But I like your idea to combine it with the actual setting of doing a 
connection at all. That need however more code changing in different 
locations. I hope to be able to do that correctly.

>
> And but instead of a checkbox and a combobox, i would do something like
> Initial Status: Disconnected/Online/....
>
> Thanks for the patch

You're welcome, thanks for the prompt answer.

Cyrill


_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to