[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/modules/importers import_gaim.c,1.2,1.3 impor
From: |
Philip S Tellis <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/modules/importers import_gaim.c,1.2,1.3 import_gnomeicu.c,1.2,1.3 importlicq.c,1.3,1.4 |
Date: |
Thu, 23 Jan 2003 01:34:28 -0500 |
Update of /cvsroot/ayttm/ayttm/modules/importers
In directory subversions:/tmp/cvs-serv7876/modules/importers
Modified Files:
import_gaim.c import_gnomeicu.c importlicq.c
Log Message:
added do_message_dialog - modal or modeless
Index: import_gaim.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/importers/import_gaim.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- import_gaim.c 27 Dec 2002 16:46:51 -0000 1.2
+++ import_gaim.c 23 Jan 2003 06:34:26 -0000 1.3
@@ -97,7 +97,7 @@
g_snprintf(buff, 1024, "%s/gaim.buddy", getenv("HOME"));
if( !(fp = fopen(buff, "r")) ) {
g_snprintf(c, 1024, "Unable to import gaim accounts from %s: %s", buff,
strerror(errno));
- do_error_dialog(c, "Error");
+ do_message_dialog(c, "Error", 0);
return;
}
AIM_ID=get_service_id("AIM");
@@ -125,7 +125,7 @@
eb_account * ea = eb_services[AIM_ID].sc->new_account(c+2);
if(!ea) {
g_snprintf(c, 1024, "Unable to create account for AIM
service. Aborting import.");
- do_error_dialog(c, "Error");
+ do_message_dialog(c, "Error", 0);
fclose(fp);
return;
}
@@ -141,5 +141,5 @@
}
}
fclose(fp);
- do_error_dialog("Successfully imported gaim BuddyList", "Success");
+ do_message_dialog("Successfully imported gaim BuddyList", "Success", 0);
}
Index: import_gnomeicu.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/importers/import_gnomeicu.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- import_gnomeicu.c 27 Dec 2002 16:46:52 -0000 1.2
+++ import_gnomeicu.c 23 Jan 2003 06:34:26 -0000 1.3
@@ -99,7 +99,7 @@
g_snprintf(buff, 1024, "%s/.gnome/GnomeICU", getenv("HOME"));
if( !(fp = fopen(buff, "r")) ) {
g_snprintf(c, 1024, "Unable to import GnomeICU accounts from
%s: %s", buff, strerror(errno));
- do_error_dialog( c, "Error");
+ do_message_dialog( c, "Error", 0);
return;
}
ICQ_ID=get_service_id("ICQ");
@@ -113,7 +113,7 @@
if(feof(fp))
{
fclose(fp);
- do_error_dialog("No GnomeICU contacts added", "Warning");
+ do_message_dialog("No GnomeICU contacts added", "Warning", 0);
return;
}
if(!find_grouplist_by_name("GnomeICU Users"))
@@ -147,5 +147,5 @@
g_strfreev (tokens);
}
fclose(fp);
- do_error_dialog("Successfully imported GnomeICU contacts list",
"Success");
+ do_message_dialog("Successfully imported GnomeICU contacts list",
"Success", 0);
}
Index: importlicq.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/importers/importlicq.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- importlicq.c 16 Jan 2003 09:51:03 -0000 1.3
+++ importlicq.c 23 Jan 2003 06:34:26 -0000 1.4
@@ -153,7 +153,7 @@
g_snprintf(c, 1024, "%s/.licq/conf/users.conf", getenv("HOME"));
if (!(fp = fopen(c, "r"))) {
g_snprintf(msg, 1024, "Unable to import licq accounts
from neither %s/.licq/users.conf, nor %s\n", getenv("HOME"), c);
- do_error_dialog(msg, "Error");
+ do_message_dialog(msg, "Error", 0);
return;
}
licq_version = 6;
@@ -169,7 +169,7 @@
if(feof(fp))
{
fclose(fp);
- do_error_dialog("No users found in licq file to import",
"Warning");
+ do_message_dialog("No users found in licq file to import",
"Warning", 0);
return;
}
@@ -183,7 +183,7 @@
if (feof(fp))
{
fclose(fp);
- do_error_dialog("No users found in licq file to import",
"Warning");
+ do_message_dialog("No users found in licq file to import",
"Warning", 0);
return;
}
@@ -192,7 +192,7 @@
if (num_users < 1)
{
fclose(fp);
- do_error_dialog("No users found in licq file to import",
"Warning");
+ do_message_dialog("No users found in licq file to import",
"Warning", 0);
return;
}
@@ -229,5 +229,5 @@
}
}
fclose(fp);
- do_error_dialog("Successfully imported licq contact list", "Success");
+ do_message_dialog("Successfully imported licq contact list", "Success",
0);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ayttm-commits] CVS: ayttm/modules/importers import_gaim.c,1.2,1.3 import_gnomeicu.c,1.2,1.3 importlicq.c,1.3,1.4,
Philip S Tellis <address@hidden> <=
- Prev by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.183,1.184 configure.in,1.179,1.180
- Next by Date:
[Ayttm-commits] CVS: ayttm/modules/yahoo2 yahoo.c,1.20,1.21
- Previous by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.183,1.184 configure.in,1.179,1.180
- Next by thread:
[Ayttm-commits] CVS: ayttm/modules/yahoo2 yahoo.c,1.20,1.21
- Index(es):