diff options
author | Chris Toshok <toshok@ximian.com> | 2001-03-02 19:02:33 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-03-02 19:02:33 +0800 |
commit | 0d345b68bf4ab7f2d21f3387f11e1c42c335e0b4 (patch) | |
tree | b8ded202fd5216426089ddb3af49a0b73dd9a2d8 /addressbook/contact-editor/contact-editor.glade | |
parent | 3e7e23772816efd672b314bcf507609cea821dd5 (diff) | |
download | gsoc2013-evolution-0d345b68bf4ab7f2d21f3387f11e1c42c335e0b4.tar.gz gsoc2013-evolution-0d345b68bf4ab7f2d21f3387f11e1c42c335e0b4.tar.zst gsoc2013-evolution-0d345b68bf4ab7f2d21f3387f11e1c42c335e0b4.zip |
new function. (e_minicard_view_event): split out the creation of the
2001-03-02 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard-view.c (supported_fields_cb): new
function.
(e_minicard_view_event): split out the creation of the contact
editor to the supported_fields callback.
* gui/widgets/e-minicard.c (supported_fields_cb): new function.
(e_minicard_event): split out the creation of the contact editor
to the supported_fields callback.
* gui/widgets/e-addressbook-view.c (table_double_click): split
function into two functions, since e_book_get_supported_fields
requires a callback now.
(supported_fields_cb): new function.
* gui/component/addressbook.c (new_contact_cb): split this into
two functions, since e_book_get_supported_fields requires a
callback now.
(supported_fields_cb): new function.
* contact-editor/test-editor.c (main): track change to
e_contact_editor_new (pass NULL for the writable_fields arg.)
* contact-editor/contact-editor.glade: fix several labels so they
make better sense (since we look them up in e-contact-editor.c.)
* contact-editor/e-contact-editor.h (struct _EContactEditor): add
writable_fields. also, add it to e_contact_editor_new.
* contact-editor/e-contact-editor.c (e_contact_editor_class_init):
add writable_fields arg.
(e_contact_editor_destroy): unref the writable_fields list.
(e_contact_editor_new): pass @fields as the writable_fields arg.
(e_contact_editor_set_arg): add writable_fields support.
(enable_writable_fields): new (very hairy) function, to disable
everything and reenable just the fields listed in the
writable_fields list.
(_email_arrow_pressed): set label-email1, entry-email1, and
checkbutton-htmlmail to be sensitive since the only way to get
here is to activate a writable field in the menu.
(_address_arrow_pressed): set label-address, button-fulladdr, and
text-address to be sensitive for the same reason.
(_phone_arrow_pressed): sensitize the label and entry for the same
reason.
svn path=/trunk/; revision=8516
Diffstat (limited to 'addressbook/contact-editor/contact-editor.glade')
-rw-r--r-- | addressbook/contact-editor/contact-editor.glade | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/addressbook/contact-editor/contact-editor.glade b/addressbook/contact-editor/contact-editor.glade index ddcc058ab2..30f7feb1a5 100644 --- a/addressbook/contact-editor/contact-editor.glade +++ b/addressbook/contact-editor/contact-editor.glade @@ -1494,7 +1494,7 @@ <widget> <class>GtkLabel</class> - <name>label34</name> + <name>label-jobtitle</name> <cxx_use_heap>True</cxx_use_heap> <label>_Job title:</label> <justify>GTK_JUSTIFY_CENTER</justify> @@ -1691,7 +1691,7 @@ <widget> <class>GtkLabel</class> - <name>label35</name> + <name>label-company</name> <cxx_use_heap>True</cxx_use_heap> <label>_Company:</label> <justify>GTK_JUSTIFY_CENTER</justify> @@ -1767,7 +1767,7 @@ <widget> <class>GtkLabel</class> - <name>label21</name> + <name>label-department</name> <cxx_use_heap>True</cxx_use_heap> <label>_Department:</label> <justify>GTK_JUSTIFY_CENTER</justify> @@ -1795,7 +1795,7 @@ <widget> <class>GtkLabel</class> - <name>label22</name> + <name>label-office</name> <cxx_use_heap>True</cxx_use_heap> <label>_Office:</label> <justify>GTK_JUSTIFY_CENTER</justify> @@ -1823,7 +1823,7 @@ <widget> <class>GtkLabel</class> - <name>label23</name> + <name>label-profession</name> <cxx_use_heap>True</cxx_use_heap> <label>_Profession:</label> <justify>GTK_JUSTIFY_CENTER</justify> @@ -1851,7 +1851,7 @@ <widget> <class>GtkLabel</class> - <name>label24</name> + <name>label-nickname</name> <cxx_use_heap>True</cxx_use_heap> <label>_Nickname:</label> <justify>GTK_JUSTIFY_CENTER</justify> @@ -1879,7 +1879,7 @@ <widget> <class>GtkLabel</class> - <name>label25</name> + <name>label-spouse</name> <cxx_use_heap>True</cxx_use_heap> <label>_Spouse:</label> <justify>GTK_JUSTIFY_CENTER</justify> @@ -1907,7 +1907,7 @@ <widget> <class>GtkLabel</class> - <name>label31</name> + <name>label-birthday</name> <cxx_use_heap>True</cxx_use_heap> <label>_Birthday:</label> <justify>GTK_JUSTIFY_CENTER</justify> @@ -1934,7 +1934,7 @@ <widget> <class>GtkLabel</class> - <name>label30</name> + <name>label-assistant</name> <cxx_use_heap>True</cxx_use_heap> <label>_Assistant's name:</label> <justify>GTK_JUSTIFY_CENTER</justify> @@ -1962,7 +1962,7 @@ <widget> <class>GtkLabel</class> - <name>label29</name> + <name>label-manager</name> <cxx_use_heap>True</cxx_use_heap> <label>_Manager's Name:</label> <justify>GTK_JUSTIFY_CENTER</justify> @@ -1990,7 +1990,7 @@ <widget> <class>GtkLabel</class> - <name>label32</name> + <name>label-anniversary</name> <cxx_use_heap>True</cxx_use_heap> <label>Anni_versary:</label> <justify>GTK_JUSTIFY_CENTER</justify> @@ -2262,7 +2262,7 @@ <widget> <class>GtkLabel</class> - <name>label33</name> + <name>label-comments</name> <cxx_use_heap>True</cxx_use_heap> <label>No_tes:</label> <justify>GTK_JUSTIFY_CENTER</justify> |