diff options
author | Sivaiah Nallagatla <snallagatla@novell.com> | 2004-02-25 22:18:50 +0800 |
---|---|---|
committer | Sivaiah Nallagatla <siva@src.gnome.org> | 2004-02-25 22:18:50 +0800 |
commit | fc42e2d8a79e93082c9965a157d665611a7d5529 (patch) | |
tree | a1d6d854262c5dbf6e449cf3716b47c84901b5e3 /addressbook/gui | |
parent | 6796eb660e52f5a807bf98801f70d4adc42f2451 (diff) | |
download | gsoc2013-evolution-fc42e2d8a79e93082c9965a157d665611a7d5529.tar gsoc2013-evolution-fc42e2d8a79e93082c9965a157d665611a7d5529.tar.gz gsoc2013-evolution-fc42e2d8a79e93082c9965a157d665611a7d5529.tar.bz2 gsoc2013-evolution-fc42e2d8a79e93082c9965a157d665611a7d5529.tar.lz gsoc2013-evolution-fc42e2d8a79e93082c9965a157d665611a7d5529.tar.xz gsoc2013-evolution-fc42e2d8a79e93082c9965a157d665611a7d5529.tar.zst gsoc2013-evolution-fc42e2d8a79e93082c9965a157d665611a7d5529.zip |
added groupwise im related label and icon image file name
2004-02-25 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/contact-editor/e-contact-editor-im.c : added
groupwise im related label and icon image file name
* gui/contact-editor/e-contact-editor.c :
(im_treeview_drag_data_get_cb), (im_treeview_drag_data_rcv_cb) :
(set_im_fields) : added code to add Gw Im id to contact-editor
svn path=/trunk/; revision=24864
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor-im.c | 2 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor-im.c b/addressbook/gui/contact-editor/e-contact-editor-im.c index f4932a79f2..a086d959e9 100644 --- a/addressbook/gui/contact-editor/e-contact-editor-im.c +++ b/addressbook/gui/contact-editor/e-contact-editor-im.c @@ -60,6 +60,7 @@ enum { static const char *im_labels[] = { N_("AOL Instant Messenger"), + N_("Novell Groupwise"), N_("Jabber"), N_("Yahoo Messenger"), N_("MSN Messenger"), @@ -68,6 +69,7 @@ static const char *im_labels[] = { static const char *im_images[] = { "im-aim.png", + "im-nov.png", "im-jabber.png", "im-yahoo.png", "im-msn.png", diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 8d295c132e..111ce093d3 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -530,7 +530,7 @@ im_treeview_drag_data_get_cb(GtkWidget *widget, GdkDragContext *dc, GString *str; char *mime_str; EContactField service_field; - static char *protocols[] = { "aim", "jabber", "yahoo", "msn", "icq" }; + static char *protocols[] = { "aim", "nov", "jabber", "yahoo", "msn", "icq" }; ref = g_object_get_data(G_OBJECT(dc), "gtk-tree-view-source-row"); sourcerow = gtk_tree_row_reference_get_path(ref); @@ -631,6 +631,8 @@ im_treeview_drag_data_rcv_cb(GtkWidget *widget, GdkDragContext *dc, if (!strcmp(protocol, "aim")) field = E_CONTACT_IM_AIM; + else if (!strcmp(protocol, "nov")) + field = E_CONTACT_IM_GROUPWISE; else if (!strcmp(protocol, "icq")) field = E_CONTACT_IM_ICQ; else if (!strcmp(protocol, "yahoo")) @@ -2853,6 +2855,7 @@ set_im_fields(EContactEditor *editor) add_im_field(editor, E_CONTACT_IM_YAHOO, "yahoo", _("Yahoo")); add_im_field(editor, E_CONTACT_IM_MSN, "msn", _("MSN")); add_im_field(editor, E_CONTACT_IM_ICQ, "icq", _("ICQ")); + add_im_field(editor, E_CONTACT_IM_GROUPWISE, "nov", _("GroupWise")); } static void |