Enlightenment CVS committal
Author : devilhorns
Project : e_modules
Module : mail
Dir : e_modules/mail
Modified Files:
e_mod_main.c mail.edc
Log Message:
Better labels for HandyAndE.. label will now show new/total, not seperate
labels for each.
===================================================================
RCS file: /cvs/e/e_modules/mail/e_mod_main.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_mod_main.c 8 Jun 2006 09:25:51 -0000 1.8
+++ e_mod_main.c 8 Jun 2006 10:35:17 -0000 1.9
@@ -832,11 +832,8 @@
ci = _mail_config_item_get(inst->gcc->id);
edje_object_part_text_set(inst->mail->mail_obj, "name", ci->user);
- snprintf(buf, sizeof(buf), "New: %d", n);
+ snprintf(buf, sizeof(buf), "%d/%d", n, t);
edje_object_part_text_set(inst->mail->mail_obj, "new_label", buf);
-
- snprintf(buf, sizeof(buf), "Total: %d", t);
- edje_object_part_text_set(inst->mail->mail_obj, "total_label", buf);
if (n > 0)
edje_object_signal_emit(inst->mail->mail_obj, "new_mail", "");
===================================================================
RCS file: /cvs/e/e_modules/mail/mail.edc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- mail.edc 7 Jun 2006 22:26:08 -0000 1.3
+++ mail.edc 8 Jun 2006 10:35:17 -0000 1.4
@@ -161,50 +161,6 @@
color3: 255 255 255 42;
}
}
- part
- {
- name: "total_label";
- type: TEXT;
- clip_to: "clip";
- effect: SOFT_SHADOW;
- mouse_events: 0;
- description
- {
- state: "default" 0.0;
- color: 0 0 0 255;
- color3: 255 255 255 42;
- visible: 0;
- rel1
- {
- relative: 0.0 0.6;
- offset: 0 0;
- to: "logo";
- }
- rel2
- {
- relative: 1.0 0.8;
- offset: -1 -1;
- to: "logo";
- }
- text
- {
- text: "Total:";
- 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;
- }
- }
}
programs
{
@@ -217,7 +173,6 @@
transition: SINUSOIDAL 0.5;
target: "name";
target: "new_label";
- target: "total_label";
}
program
{
@@ -236,7 +191,6 @@
transition: SINUSOIDAL 1.0;
target: "name";
target: "new_label";
- target: "total_label";
}
program
{
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs