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.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22817 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2013-03-01 21:38:08 +00:00
parent eb64b1008d
commit f65b2e1aa3
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -995,7 +995,7 @@ get_input(GncGWENGui *gui, guint32 flags, const gchar *title, const gchar *text,
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"));