r14913 - gnucash/branches/sx-cleanup/src/gnome - Fix bug in viewing SLR-created transactions; add accel to Review option.
Joshua Sled
jsled at cvs.gnucash.org
Sat Sep 30 13:40:41 EDT 2006
Author: jsled
Date: 2006-09-30 13:40:40 -0400 (Sat, 30 Sep 2006)
New Revision: 14913
Trac: http://svn.gnucash.org/trac/changeset/14913
Modified:
gnucash/branches/sx-cleanup/src/gnome/dialog-sx-since-last-run.c
gnucash/branches/sx-cleanup/src/gnome/glade/sched-xact.glade
Log:
Fix bug in viewing SLR-created transactions; add accel to Review option.
Modified: gnucash/branches/sx-cleanup/src/gnome/dialog-sx-since-last-run.c
===================================================================
--- gnucash/branches/sx-cleanup/src/gnome/dialog-sx-since-last-run.c 2006-09-30 16:56:41 UTC (rev 14912)
+++ gnucash/branches/sx-cleanup/src/gnome/dialog-sx-since-last-run.c 2006-09-30 17:40:40 UTC (rev 14913)
@@ -40,6 +40,7 @@
#include "gnc-ledger-display.h"
#include "gnc-plugin-page-register.h"
#include "gnc-main-window.h"
+#include "gnc-component-manager.h"
static QofLogModule log_module = GNC_MOD_GUI;
@@ -964,12 +965,16 @@
return;
}
}
+ gnc_suspend_gui_refresh();
gnc_sx_slr_model_effect_change(app_dialog->editing_model, FALSE, &created_txns, NULL);
- if (gtk_toggle_button_get_active(app_dialog->review_created_txns_toggle))
+ gnc_resume_gui_refresh();
+ if (gtk_toggle_button_get_active(app_dialog->review_created_txns_toggle)
+ && g_list_length(created_txns) > 0)
{
_show_created_transactions(app_dialog, created_txns);
}
g_list_free(created_txns);
+ created_txns = NULL;
/* FALLTHROUGH */
case GTK_RESPONSE_CANCEL:
case GTK_RESPONSE_DELETE_EVENT:
Modified: gnucash/branches/sx-cleanup/src/gnome/glade/sched-xact.glade
===================================================================
--- gnucash/branches/sx-cleanup/src/gnome/glade/sched-xact.glade 2006-09-30 16:56:41 UTC (rev 14912)
+++ gnucash/branches/sx-cleanup/src/gnome/glade/sched-xact.glade 2006-09-30 17:40:40 UTC (rev 14913)
@@ -8614,7 +8614,7 @@
<widget class="GtkCheckButton" id="review_txn_toggle">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">Review created transactions</property>
+ <property name="label" translatable="yes">_Review created transactions</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
More information about the gnucash-changes
mailing list