[Gnucash-changes] r11943 - gnucash/trunk - Pass the action variable to gtk_file_chooser_dialog_new() to get the

David Hampton hampton at cvs.gnucash.org
Tue Nov 15 00:07:15 EST 2005


Author: hampton
Date: 2005-11-15 00:07:13 -0500 (Tue, 15 Nov 2005)
New Revision: 11943
Trac: http://svn.gnucash.org/trac/changeset/11943

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/gnome-utils/gnc-file.c
Log:
Pass the action variable to gtk_file_chooser_dialog_new() to get the
right style of dialog (open, save. etc.).


Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2005-11-15 04:38:06 UTC (rev 11942)
+++ gnucash/trunk/ChangeLog	2005-11-15 05:07:13 UTC (rev 11943)
@@ -1,5 +1,9 @@
 2005-11-14    <david at hampton-pc.rainbolthampton.net>
 
+	* src/gnome-utils/gnc-file.c: Pass the action variable to
+	gtk_file_chooser_dialog_new() to get the right style of
+	dialog (open, save. etc.).
+
 	* src/gnome/glade/price.glade: Phil Longstaff's changes to set
 	GTK_SHADOW_IN in the commodities dialog scroll box and the account
 	dialog parent scroll box.  Also make the 'edit', 'remove' and

Modified: gnucash/trunk/src/gnome-utils/gnc-file.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-file.c	2005-11-15 04:38:06 UTC (rev 11942)
+++ gnucash/trunk/src/gnome-utils/gnc-file.c	2005-11-15 05:07:13 UTC (rev 11943)
@@ -117,7 +117,7 @@
   file_box = gtk_file_chooser_dialog_new(
 			  title,
 			  NULL,
-			  GTK_FILE_CHOOSER_ACTION_OPEN,
+			  action,
 			  GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
 			  okbutton, GTK_RESPONSE_ACCEPT,
 			  NULL);



More information about the gnucash-changes mailing list