Re: [gnome-db] Egnima's status
- From: Malerba_Vivien stna dgac fr
- To: rodrigo gnome-db org
- Cc: gnome-db-list gnome org
- Subject: Re: [gnome-db] Egnima's status
- Date: 01 Aug 2002 12:13:10 +0200
Le jeu 01/08/2002 à 01:18, Rodrigo Moya a écrit :
> On Wed, 2002-07-31 at 09:17, Malerba_Vivien stna dgac fr wrote:
> > >
> > > > - include the SQL console window (Rodrigo?)
> > > >
> > > I'm about to commit the beginning of this.
> >
> > I've seen the result but I haven't managed to commit a query, how do you
> > do it (there was a toolbar in gnome-db to do it)?
> >
> yes, there was a toolbar/menu items for executing the command. I guess
> we should do the same for egnima, although as I wasn't sure, I just
> added the SQL window with no menu options.
I like how it is done in gnome-db: a small toolbar next to the the
textedit area (on top of it). Another idea is to use the toolbar present
in Egnima, and display icons if the SQL tab is selected, and hide them
otherwise. What do you think?
>
> > >
> > > > - start adding printing support
> > > > - more (I'll provide a kind of roadmap soon).
> > >
> > > I'll provide some things I've found about:
> > >
> > > * remove the dialog that asks for the password after selecting the data
> > > source, since the username and password can be retrieved from the
> > > GnomeDbLogin widget in the previous dialog.
> >
> > Ok, this is because you've changed libgda to allow for password storage
> > in the libgda config. I propose that the dialog be removed if there is
> > already a password, and kept present if none is present (maybe the user
> > does not want to store his password in the libgda config file but give
> > it at runtime). OK?
> >
> no, but the GnomeDbLogin does not store anything, it just prompts the
> user for a DSN/username/password, and then you just have to get it
> (gnome_db_login_get_dsn/username/password), so the second dialog is
> redundant, since it asks again for the password.
I see. My problem is that when an XML file is loaded, the GnomeDbLogin
dialog is not shown because the DSN and username are loaded from the XML
file, and so I need a password. What I can do is always display the
GnomeDbLogin dialog (with the fields preselected from what is in the XML
file), and remove the password dialog. Ok?
Also, I think it would be better, for the GnomeDbLogin button to have a
text like "Connect" instead of "gnome-db-connect" and a little pixmap
showing a connection as well.
>
> > >
> > > * I created a new MIME type in libgda, which uses .connection as
> > > extension and XML for defining parameters to open a connection (there's
> > > some work on a nautilus view in libgnomedb, which should work as of the
> > > docs, but doesn't :-( So, I was thinking that we could use this MIME
> > > type for Egnima also, extending the XML as needed by Egnima. Thus, we
> > > could easily associate that MIME type to Egnima and have it integrated
> > > in the rest of GNOME. So, what about extending this .connection file to
> > > support all Egnima needs, and use it?
> >
> > I have not heard about the .connection but the idea is good. Is there
> > any doc about that somewhere?
> >
> no, I just started it when we started the merge, to provide database
> views in nautilus. So far, it is very simple, and I've never managed to
> get nautilus to open correctly these files (activating a Bonobo
> component I made for this which just shows a GnomeDbBrowser widget) :-(
> But what I've done is a good start for a more complex format file to
> store info about connections. The start is in
> libgda/libgda/gda-xml-connection.[ch] and libgnomedb/components.
Ok. (I'm not really up to date with the bonobo things...)
Cheers,
Vivien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]