aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/e-contact-editor.c
diff options
context:
space:
mode:
authorSivaiah Nallagatla <snallagatla@novell.com>2004-02-25 22:18:50 +0800
committerSivaiah Nallagatla <siva@src.gnome.org>2004-02-25 22:18:50 +0800
commitfc42e2d8a79e93082c9965a157d665611a7d5529 (patch)
treea1d6d854262c5dbf6e449cf3716b47c84901b5e3 /addressbook/gui/contact-editor/e-contact-editor.c
parent6796eb660e52f5a807bf98801f70d4adc42f2451 (diff)
downloadgsoc2013-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/contact-editor/e-contact-editor.c')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c5
1 files changed, 4 insertions, 1 deletions
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