r22817 - gnucash/trunk/src/import-export/aqbanking - Fix erroneous widget lookup after a widget in the glade file has been renamed

Christian Stimming cstim at code.gnucash.org
Fri Mar 1 16:38:08 EST 2013


Author: cstim
Date: 2013-03-01 16:38:08 -0500 (Fri, 01 Mar 2013)
New Revision: 22817
Trac: http://svn.gnucash.org/trac/changeset/22817

Modified:
   gnucash/trunk/src/import-export/aqbanking/dialog-ab.glade
   gnucash/trunk/src/import-export/aqbanking/gnc-gwen-gui.c
Log:
Fix erroneous widget lookup after a widget in the glade file has been renamed

This is a result of the glorious idea of glade to have all widget names
in one file have unique names, but not verifying that we really can
continue to do the lookup as before. Oh well.

Modified: gnucash/trunk/src/import-export/aqbanking/dialog-ab.glade
===================================================================
--- gnucash/trunk/src/import-export/aqbanking/dialog-ab.glade	2013-03-01 21:28:01 UTC (rev 22816)
+++ gnucash/trunk/src/import-export/aqbanking/dialog-ab.glade	2013-03-01 21:38:08 UTC (rev 22817)
@@ -671,7 +671,7 @@
             <property name="border_width">5</property>
             <property name="spacing">18</property>
             <child>
-              <object class="GtkLabel" id="heading_label2">
+              <object class="GtkLabel" id="heading_pw_label">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="label" translatable="yes">Enter your password</property>

Modified: gnucash/trunk/src/import-export/aqbanking/gnc-gwen-gui.c
===================================================================
--- gnucash/trunk/src/import-export/aqbanking/gnc-gwen-gui.c	2013-03-01 21:28:01 UTC (rev 22816)
+++ gnucash/trunk/src/import-export/aqbanking/gnc-gwen-gui.c	2013-03-01 21:38:08 UTC (rev 22817)
@@ -995,7 +995,7 @@
     gnc_builder_add_from_file (builder, "dialog-ab.glade", "Password Dialog");
     dialog = GTK_WIDGET(gtk_builder_get_object (builder, "Password Dialog"));
 
-    heading_label = GTK_WIDGET(gtk_builder_get_object (builder, "heading_label"));
+    heading_label = GTK_WIDGET(gtk_builder_get_object (builder, "heading_pw_label"));
     input_entry = GTK_WIDGET(gtk_builder_get_object (builder, "input_entry"));
     confirm_entry = GTK_WIDGET(gtk_builder_get_object (builder, "confirm_entry"));
     confirm_label = GTK_WIDGET(gtk_builder_get_object (builder, "confirm_label"));



More information about the gnucash-changes mailing list