[Gnucash-changes] Finish conversion of the hidden "first startup" preference.

David Hampton hampton at cvs.gnucash.org
Fri Sep 16 21:53:52 EDT 2005


Log Message:
-----------
Finish conversion of the hidden "first startup" preference.

Tags:
----
gnucash-gnome2-dev

Modified Files:
--------------
    gnucash:
        ChangeLog
    gnucash/src/app-utils:
        prefs.scm
    gnucash/src/gnome/schemas:
        apps_gnucash_dialog_common.schemas

Revision Data
-------------
Index: ChangeLog
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/ChangeLog,v
retrieving revision 1.1487.2.284
retrieving revision 1.1487.2.285
diff -LChangeLog -LChangeLog -u -r1.1487.2.284 -r1.1487.2.285
--- ChangeLog
+++ ChangeLog
@@ -1,3 +1,21 @@
+2005-09-16  David Hampton  <hampton at employees.org>
+
+	* src/app-utils/prefs.scm:
+	* src/gnome/schemas/apps_gnucash_dialog_common.schemas: Finish
+	conversion of the hidden "first startup" preference.
+
+	* src/gnome-utils/gnc-file.c:
+	* src/gnome-utils/gnc-plugin-file-history.c:
+	* src/gnome-utils/gw-gnome-utils-spec.scm: Clean up handling of
+	the return value from gnc_history_get_last().
+	
+	* src/core-utils/gnc-gconf-utils.c: Handle this undocumented case
+	where gconf_client_set_string() can return FALSE without setting
+	the error variable.  Also modify this function to return NULL if
+	gconf returns an empty string.  This is more in line with what all
+	the rest of GnuCash code expects.  Centralize error handling in
+	this file.
+
 2005-09-14  David Hampton  <hampton at employees.org>
 
 	* src/engine/gnc-date.[ch]: Fix function name.  Document
Index: prefs.scm
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/app-utils/prefs.scm,v
retrieving revision 1.28.4.12
retrieving revision 1.28.4.13
diff -Lsrc/app-utils/prefs.scm -Lsrc/app-utils/prefs.scm -u -r1.28.4.12 -r1.28.4.13
--- src/app-utils/prefs.scm
+++ src/app-utils/prefs.scm
@@ -305,8 +305,4 @@
 
 (gnc:register-configuration-option
  (gnc:make-internal-option
-  "__new_user" "first_startup" #t))
-
-(gnc:register-configuration-option
- (gnc:make-internal-option
   "__gnc_network" "uid" ""))
Index: apps_gnucash_dialog_common.schemas
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/gnome/schemas/Attic/apps_gnucash_dialog_common.schemas,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -Lsrc/gnome/schemas/apps_gnucash_dialog_common.schemas -Lsrc/gnome/schemas/apps_gnucash_dialog_common.schemas -u -r1.1.2.4 -r1.1.2.5
--- src/gnome/schemas/apps_gnucash_dialog_common.schemas
+++ src/gnome/schemas/apps_gnucash_dialog_common.schemas
@@ -119,6 +119,19 @@
       </locale>
     </schema>
 
+    <schema>
+      <key>/schemas/apps/gnucash/dialogs/new_user/first_startup</key>
+      <applyto>/apps/gnucash/dialogs/new_user/first_startup</applyto>
+      <owner>gnucash</owner>
+      <type>bool</type>
+      <default>TRUE</default>
+      <locale name="C">
+        <short>Show the new user dialog.</short>
+        <long>
+	 Show the new user dialog.
+	</long>
+      </locale>
+    </schema>
 
     <schema>
       <key>/schemas/apps/gnucash/dialogs/new_hierarchy/show_on_new_file</key>


More information about the gnucash-changes mailing list