mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Remove hardcoded /tmp paths.
They don't really work with the new file chooser anyways. Patch by Bill Nottingham <notting@redhat.com> git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15436 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
a929bcdf33
commit
af93db5b7a
@ -722,7 +722,7 @@ gnc_plugin_business_cmd_export_invoice (GtkAction *action, GncMainWindowActionDa
|
||||
chart_session = qof_session_new();
|
||||
success = FALSE;
|
||||
filename = gnc_file_dialog(_("Export Invoices to XML"), NULL,
|
||||
"/tmp/qsf-invoices.xml", GNC_FILE_DIALOG_EXPORT);
|
||||
NULL, GNC_FILE_DIALOG_EXPORT);
|
||||
if (filename)
|
||||
{
|
||||
qof_session_begin(chart_session, filename, TRUE, TRUE);
|
||||
@ -757,7 +757,7 @@ gnc_plugin_business_cmd_export_customer (GtkAction *action, GncMainWindowActionD
|
||||
chart_session = qof_session_new();
|
||||
success = FALSE;
|
||||
filename = gnc_file_dialog(_("Export Customers to XML"), NULL,
|
||||
"/tmp/qsf-customers.xml", GNC_FILE_DIALOG_EXPORT);
|
||||
NULL, GNC_FILE_DIALOG_EXPORT);
|
||||
if (filename)
|
||||
{
|
||||
qof_session_begin(chart_session, filename, TRUE, TRUE);
|
||||
@ -789,7 +789,7 @@ gnc_plugin_business_cmd_export_vendor (GtkAction *action, GncMainWindowActionDat
|
||||
chart_session = qof_session_new();
|
||||
success = FALSE;
|
||||
filename = gnc_file_dialog(_("Export Vendors to XML"), NULL,
|
||||
"/tmp/qsf-vendors.xml", GNC_FILE_DIALOG_EXPORT);
|
||||
NULL, GNC_FILE_DIALOG_EXPORT);
|
||||
if (filename)
|
||||
{
|
||||
qof_session_begin(chart_session, filename, TRUE, TRUE);
|
||||
@ -821,7 +821,7 @@ gnc_plugin_business_cmd_export_employee (GtkAction *action, GncMainWindowActionD
|
||||
chart_session = qof_session_new();
|
||||
success = FALSE;
|
||||
filename = gnc_file_dialog(_("Export Employees to XML"), NULL,
|
||||
"/tmp/qsf-employee.xml", GNC_FILE_DIALOG_EXPORT);
|
||||
NULL, GNC_FILE_DIALOG_EXPORT);
|
||||
if (filename)
|
||||
{
|
||||
qof_session_begin(chart_session, filename, TRUE, TRUE);
|
||||
|
@ -229,7 +229,6 @@ on_dateok_clicked (chart_data *data)
|
||||
data->chart_time_t = mktime(chart_tm);
|
||||
current_session = gnc_get_current_session();
|
||||
book = qof_session_get_book(current_session);
|
||||
filename = g_strdup("/tmp/qsf-chartofaccounts.xml");
|
||||
chart_session = qof_session_new();
|
||||
filename = gnc_file_dialog(_("Export Chart of Accounts to QSF XML"),
|
||||
NULL, NULL, GNC_FILE_DIALOG_EXPORT);
|
||||
|
Loading…
Reference in New Issue
Block a user