r17528 - gnucash/trunk/src/gnome - Hide the sx from txn dialog und show it only when the txn is valid.
Andreas Köhler
andi5 at cvs.gnucash.org
Mon Sep 15 14:24:48 EDT 2008
Author: andi5
Date: 2008-09-15 14:24:48 -0400 (Mon, 15 Sep 2008)
New Revision: 17528
Trac: http://svn.gnucash.org/trac/changeset/17528
Modified:
gnucash/trunk/src/gnome/dialog-sx-from-trans.c
gnucash/trunk/src/gnome/glade/sched-xact.glade
Log:
Hide the sx from txn dialog und show it only when the txn is valid.
There is no reason for popping up a window under a modal error dialog and close
it once the user acknowledged the error.
Modified: gnucash/trunk/src/gnome/dialog-sx-from-trans.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-sx-from-trans.c 2008-09-15 17:36:59 UTC (rev 17527)
+++ gnucash/trunk/src/gnome/dialog-sx-from-trans.c 2008-09-15 18:24:48 UTC (rev 17528)
@@ -781,5 +781,5 @@
}
}
- gtk_widget_show_all(GTK_WIDGET(sxfti->dialog));
+ gtk_widget_show(GTK_WIDGET(sxfti->dialog));
}
Modified: gnucash/trunk/src/gnome/glade/sched-xact.glade
===================================================================
--- gnucash/trunk/src/gnome/glade/sched-xact.glade 2008-09-15 17:36:59 UTC (rev 17527)
+++ gnucash/trunk/src/gnome/glade/sched-xact.glade 2008-09-15 18:24:48 UTC (rev 17528)
@@ -2259,7 +2259,7 @@
</widget>
<widget class="GtkDialog" id="sx_from_real_trans">
- <property name="visible">True</property>
+ <property name="visible">False</property>
<property name="title" translatable="yes">Make Scheduled Transaction</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property>
More information about the gnucash-changes
mailing list