aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog9
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor-im.c2
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c5
3 files changed, 15 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index f7b1911d62..673cc79cff 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,12 @@
+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
+
+
2004-02-24 Hans petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-quick-add.c (quick_add_set_name):
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