SVN revision: 24010
This commit is contained in:
sebastid 2006-07-17 23:12:52 +00:00 committed by sebastid
parent 65fc746e8f
commit 961e23fb01
6 changed files with 10 additions and 13 deletions

View File

@ -80,8 +80,7 @@ static Evas_Object *
_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
{
Evas_Object *o, *of, *ob, *ot;
E_Radio_Group *rg;
o = e_widget_list_add(evas, 0, 0);
of = e_widget_framelist_add(evas, _("General Settings"), 0);
ob = e_widget_check_add(evas, _("Always Show Labels"), &(cfdata->show_label));

View File

@ -61,8 +61,7 @@ static void
_fill_data(Config_Box *cb, E_Config_Dialog_Data *cfdata)
{
char buf[1024];
char *ptr;
if (!cb)
{
cfdata->type = 0;

View File

@ -362,7 +362,7 @@ e_modapi_init(E_Module *m)
}
mail_config->module = m;
e_gadcon_provider_register(&_gc_class);
return 1;
return m;
}
EAPI int
@ -580,9 +580,10 @@ _mail_cb_exe_exit(void *data, int type, void *event)
Config_Box *cb;
cb = data;
if (!cb) return;
if (!cb) return 0;
cb->exe = NULL;
ecore_event_handler_del(exit_handler);
return 0;
}
void
@ -632,7 +633,7 @@ _mail_box_added(const char *ci_name, const char *box_name)
void
_mail_box_deleted(const char *ci_name, const char *box_name)
{
Evas_List *l, *d, *i;
Evas_List *d, *i;
Config_Box *cb;
int found = 0;

4
imap.c
View File

@ -123,7 +123,7 @@ _mail_imap_client_get(void *data)
int found = 0;
cb = data;
if (!cb) return;
if (!cb) return NULL;
if ((!iservers) || (evas_list_count(iservers) <= 0))
{
@ -218,7 +218,7 @@ _mail_imap_server_data(void *data, int type, void *event)
memcpy(in, ev->data, len);
in[len] = 0;
if (spc = strchr(in, ' '))
if ((spc = strchr(in, ' ')))
{
slen = strlen(spc);
if ((slen > 5) && (!strncmp(spc + 1, "NO ", 3)))

1
mbox.c
View File

@ -74,7 +74,6 @@ _mail_mbox_check_mail(void *data, Ecore_File_Monitor *monitor, Ecore_File_Event
Config_Box *cb;
FILE *f;
char buf[1024];
int total = 0, unread = 0;
int header;
mb = data;

5
pop.c
View File

@ -24,8 +24,7 @@ _mail_pop_check_mail(void *data)
for (l = pclients; l; l = l->next)
{
PopClient *pc;
Config_Box *cb;
pc = l->data;
if (!pc) continue;
pc->data = inst;
@ -128,7 +127,7 @@ _mail_pop_server_del(void *data, int type, void *event)
pc = _mail_pop_client_get_from_server(ev->server);
if (!pc) return 1;
if (pc->state = POP_STATE_DISCONNECTED)
if (pc->state == POP_STATE_DISCONNECTED)
printf("Pop Server Disconnected\n");
ecore_con_server_del(ev->server);