[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-edu-devel
Subject:    Re: [kde-edu]: KNewStuff HOWTO?
From:       Anne-Marie Mahfouf <annemarie.mahfouf () free ! fr>
Date:       2004-04-15 15:03:55
Message-ID: 200404151103.55821.annemarie.mahfouf () free ! fr
[Download RAW message or body]

On April 15, 2004 10:40 am, Sebastian Stein wrote:
> annemarie.mahfouf@free.fr <annemarie.mahfouf@free.fr> [040415 16:29]:
> > In the code, I add a class KHNewStuff which derives from KNewStuff. An
> > instance of KHNewStuff is called when the File->Get New Language action
> > is clicked. This KHNewStuff class will install my data (for me it untars
> > the files and put them in ~/.kde/share/apps/khangman/data)
>
> But you ask the user before making an internet connection, don't you? (At
> the moment I'm short of time so I can't look at the code myself, sorry!)

If there's no connection, there's nothing to download anyway so the Get New 
Stuff dialog is empty. The lib itself does not *make* an internet connection. 
It uses one if there is one and if not, it's empty.
You need a connection for the dialog to populate as it has to connect to the 
website to find the knewstuff.xml file.

Cheers,

annma
_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic