convert GNC_ID_NONE to appropriate module in component_watch

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6686 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2002-02-04 18:55:11 +00:00
parent 5836537d92
commit 75bade2f8d
6 changed files with 6 additions and 6 deletions

View File

@ -576,7 +576,7 @@ gnc_customer_new_window (GtkWidget *parent, GNCBook *bookp,
}
gnc_gui_component_watch_entity_type (cw->component_id,
GNC_ID_NONE,
GNC_CUSTOMER_MODULE_NAME,
GNC_EVENT_MODIFY | GNC_EVENT_DESTROY);
gtk_widget_show_all (cw->dialog);

View File

@ -481,7 +481,7 @@ gnc_employee_new_window (GtkWidget *parent, GNCBook *bookp,
/* XXX: Set the ACL */
gnc_gui_component_watch_entity_type (ew->component_id,
GNC_ID_NONE,
GNC_EMPLOYEE_MODULE_NAME,
GNC_EVENT_MODIFY | GNC_EVENT_DESTROY);
gtk_widget_show_all (ew->dialog);

View File

@ -664,7 +664,7 @@ gnc_invoice_new_window (GtkWidget *parent, GNCBook *bookp,
}
gnc_gui_component_watch_entity_type (iw->component_id,
GNC_ID_NONE,
GNC_INVOICE_MODULE_NAME,
GNC_EVENT_MODIFY | GNC_EVENT_DESTROY);
gnc_table_realize_gui (gnc_entry_ledger_get_table (entry_ledger));

View File

@ -342,7 +342,7 @@ gnc_job_new_window (GtkWidget *parent, GNCBook *bookp, GncOwner *owner,
gnc_job_name_changed_cb (NULL, jw);
gnc_gui_component_watch_entity_type (jw->component_id,
GNC_ID_NONE,
GNC_JOB_MODULE_NAME,
GNC_EVENT_MODIFY | GNC_EVENT_DESTROY);
gtk_widget_show_all (jw->dialog);

View File

@ -553,7 +553,7 @@ gnc_order_new_window (GtkWidget *parent, GNCBook *bookp,
}
gnc_gui_component_watch_entity_type (ow->component_id,
GNC_ID_NONE,
GNC_ORDER_MODULE_NAME,
GNC_EVENT_MODIFY | GNC_EVENT_DESTROY);
gnc_table_realize_gui (gnc_entry_ledger_get_table (entry_ledger));

View File

@ -472,7 +472,7 @@ gnc_vendor_new_window (GtkWidget *parent, GNCBook *bookp,
}
gnc_gui_component_watch_entity_type (vw->component_id,
GNC_ID_NONE,
GNC_VENDOR_MODULE_NAME,
GNC_EVENT_MODIFY | GNC_EVENT_DESTROY);
gtk_widget_show_all (vw->dialog);