Enlightenment CVS committal
Author : devilhorns
Project : e_modules
Module : mail
Dir : e_modules/mail
Modified Files:
e_mod_config.c e_mod_main.c mail.edc
Log Message:
Fix merge errors. Should build now.
===================================================================
RCS file: /cvs/e/e_modules/mail/e_mod_config.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- e_mod_config.c 8 Jun 2006 20:20:07 -0000 1.7
+++ e_mod_config.c 8 Jun 2006 20:37:03 -0000 1.8
@@ -18,7 +18,6 @@
static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas,
E_Config_Dialog_Data *cfdata);
static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data
*cfdata);
-//static void _use_exec_cb_change(void *data, Evas_Object *obj);
static void _load_boxes(E_Config_Dialog *cfd);
static int _ilist_header_exists(Evas_Object *il, const char *name);
static void _ilist_cb_selected(void *data);
@@ -50,14 +49,7 @@
_fill_data(Config_Item *ci, E_Config_Dialog_Data *cfdata)
{
cfdata->show_label = ci->show_label;
- //cfdata->use_exec = ci->use_exec;
-
- //cfdata->exec = NULL;
- //if (ci->exec)
- // cfdata->exec = strdup(ci->exec);
-
cfdata->check_time = ci->check_time;
-
cfdata->boxes = ci->boxes;
}
@@ -271,12 +263,7 @@
il = cfdata->il;
s = e_widget_ilist_selected_label_get(il);
-<<<<<<< e_mod_config.c
for (l = ci->boxes; l; l = l->next)
-=======
- cfdata = data;
- if (cfdata->type == 0)
->>>>>>> 1.5
{
Config_Box *cb;
@@ -288,7 +275,6 @@
break;
}
}
-<<<<<<< e_mod_config.c
}
static void
@@ -310,25 +296,6 @@
s = e_widget_ilist_selected_label_get(il);
for (l = ci->boxes; l; l = l->next)
-=======
- else if (cfdata->type == 1)
- {
- e_widget_disabled_set(cfdata->new_path_label, 0);
- e_widget_disabled_set(cfdata->new_path_entry, 0);
- e_widget_disabled_set(cfdata->cur_path_label, 1);
- e_widget_disabled_set(cfdata->cur_path_entry, 1);
- e_widget_entry_text_set(cfdata->cur_path_entry, "");
- }
- else if (cfdata->type == 3)
- {
- e_widget_disabled_set(cfdata->new_path_label, 0);
- e_widget_disabled_set(cfdata->new_path_entry, 0);
- e_widget_disabled_set(cfdata->cur_path_label, 1);
- e_widget_disabled_set(cfdata->cur_path_entry, 1);
- e_widget_entry_text_set(cfdata->cur_path_entry, "");
- }
- else if (cfdata->type == 2)
->>>>>>> 1.5
{
Config_Box *cb;
===================================================================
RCS file: /cvs/e/e_modules/mail/e_mod_main.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- e_mod_main.c 8 Jun 2006 20:20:07 -0000 1.12
+++ e_mod_main.c 8 Jun 2006 20:37:03 -0000 1.13
@@ -656,13 +656,6 @@
if (!ev) return;
if ((!mb->server) || (mb->server != ev->server)) return;
-<<<<<<< e_mod_main.c
-=======
- if ((!inst->server) || (inst->server != ev->server)) return;
-
- ci = _mail_config_item_get(inst->gcc->id);
-
->>>>>>> 1.10
len = sizeof(in) -1;
len = (((len) > (ev->size)) ? ev->size : len);
memcpy(in, ev->data, len);
@@ -758,13 +751,6 @@
if (!ev) return;
if ((!mb->server) || (mb->server != ev->server)) return;
-<<<<<<< e_mod_main.c
-=======
- if ((!inst->server) || (inst->server != ev->server)) return;
-
- ci = _mail_config_item_get(inst->gcc->id);
-
->>>>>>> 1.10
len = sizeof(in) -1;
len = (((len) > (ev->size)) ? ev->size : len);
memcpy(in, ev->data, len);
@@ -936,21 +922,10 @@
inst = data;
if (!inst) return;
- edje_object_part_text_set(inst->mail->mail_obj, "name", "");
-
-<<<<<<< e_mod_main.c
- snprintf(buf, sizeof(buf), "New: 0");
-=======
- snprintf(buf, sizeof(buf), "%d/%d", n, t);
->>>>>>> 1.10
- edje_object_part_text_set(inst->mail->mail_obj, "new_label", buf);
-<<<<<<< e_mod_main.c
+ edje_object_part_text_set(inst->mail->mail_obj, "name", "");
+ edje_object_signal_emit(inst->mail->mail_obj, "no_mail", "");
+ edje_object_part_text_set(inst->mail->mail_obj, "new_label", "");
- snprintf(buf, sizeof(buf), "Total: 0");
- edje_object_part_text_set(inst->mail->mail_obj, "total_label", buf);
-
- edje_object_signal_emit(inst->mail->mail_obj, "no_mail", "");
-
for (l = inst->mboxes; l; l = l->next)
{
Mailbox *mb;
@@ -965,21 +940,11 @@
snprintf(buf, sizeof(buf), "New: %d", mb->num_new);
edje_object_part_text_set(inst->mail->mail_obj, "new_label", buf);
- snprintf(buf, sizeof(buf), "Total: %d", mb->num_total);
- edje_object_part_text_set(inst->mail->mail_obj, "total_label",
buf);
-
edje_object_signal_emit(inst->mail->mail_obj, "new_mail", "");
break;
}
}
-=======
-
- if (n > 0)
- edje_object_signal_emit(inst->mail->mail_obj, "new_mail", "");
- else
- edje_object_signal_emit(inst->mail->mail_obj, "no_mail", "");
->>>>>>> 1.10
}
static int
===================================================================
RCS file: /cvs/e/e_modules/mail/mail.edc,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- mail.edc 8 Jun 2006 20:20:07 -0000 1.6
+++ mail.edc 8 Jun 2006 20:37:03 -0000 1.7
@@ -144,7 +144,6 @@
}
text
{
-<<<<<<< mail.edc
text: "";
font: "VeraBold";
size: 9;
@@ -162,25 +161,6 @@
color3: 255 255 255 42;
}
}
-=======
- text: "New:";
- font: "VeraBold";
- size: 9;
- min: 1 1;
- align: 1.0 0.5;
- text_class: "module_small";
- }
- }
- description
- {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 0 0 0 255;
- color3: 255 255 255 42;
- }
- }
->>>>>>> 1.4
}
programs
{
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs