glom r1317 - in trunk: . glom glom/libglom glom/libglom/data_structure
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: glom r1317 - in trunk: . glom glom/libglom glom/libglom/data_structure
- Date: Tue, 27 Nov 2007 14:43:46 +0000 (GMT)
Author: murrayc
Date: 2007-11-27 14:43:45 +0000 (Tue, 27 Nov 2007)
New Revision: 1317
ViewCVS link: http://svn.gnome.org/viewcvs/glom?rev=1317&view=rev
Added:
trunk/glom/libglom/glade_utils.h
Modified:
trunk/ChangeLog
trunk/configure.in
trunk/glom/application.cc
trunk/glom/application.h
trunk/glom/dialog_connection.cc
trunk/glom/dialog_connection.h
trunk/glom/frame_glom.cc
trunk/glom/frame_glom.h
trunk/glom/libglom/Makefile.am
trunk/glom/libglom/connectionpool.cc
trunk/glom/libglom/data_structure/glomconversions.cc
Log:
2007-11-27 Murray Cumming <murrayc murrayc com>
* glom/libglom/connectionpool.cc:
on_publisher_document_authentication(): Try to connect to the database
with the username/password, so we know whether they are correct.
* glom/dialog_connection.cc:
* glom/dialog_connection.h: Added set_username() and
set_password(), so we can reuse this code to connect,
even without showing the dialog.
* glom/application.cc:
* glom/application.h: open_browsed_document():
Ask for the usernmame and password before trying to
get the document over the network. Store the
username and password temporarily so we do not need
to ask the user again in on_document_load().
* glom/frame_glom.cc:
* glom/frame_glom.h: connection_request_password_and_attempt():
Added known_username and known_password string parameters, and do not
show the dialog if they are known already.
This seems to work.
* glom/libglom/Makefile.am:
* glom/libglom/glade_utils.h: Added this and moved the
glade_* convenience templates into it.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]