mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
5836537d92
commit
75bade2f8d
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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));
|
||||
|
@ -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);
|
||||
|
@ -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));
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user