[prev in list] [next in list] [prev in thread] [next in thread] 

List:       enlightenment-svn
Subject:    E SVN: rui IN trunk/elmdentica: data/themes src
From:       "Enlightenment SVN" <no-reply () enlightenment ! org>
Date:       2010-09-30 20:39:27
Message-ID: 20100930203928.2F20D1180C6 () e2 ! enlightenment ! org
[Download RAW message or body]

Log:
  Still looks butt ugly, compared with before, and missing functionality but it's \
evolving...  
Author:       rui
Date:         2010-09-30 13:39:27 -0700 (Thu, 30 Sep 2010)
New Revision: 52929

Modified:
  trunk/elmdentica/data/themes/default.edc trunk/elmdentica/src/elmdentica.c \
trunk/elmdentica/src/statusnet.c 

Modified: trunk/elmdentica/data/themes/default.edc
===================================================================
--- trunk/elmdentica/data/themes/default.edc	2010-09-30 19:02:42 UTC (rev 52928)
+++ trunk/elmdentica/data/themes/default.edc	2010-09-30 20:39:27 UTC (rev 52929)
@@ -1,10 +1,8 @@
-styles
-{
-  style {
-    name: "elmdentica_status";
-base: "font=Sans font_size=10 align=left valign=bottom color=#000 wrap=word";
-  }
-
+styles {
+	style {
+		name: "elmdentica_status";
+		base: "font=Sans font_size=8 align=left valign=bottom color=#000 wrap=word";
+	}
 }
 
 collections {
@@ -41,6 +39,8 @@
 
    group { name: "elm/genlist/item/elmdentica/default";
           alias: "elm/genlist/item_odd/elmdentica/default";
+          alias: "elm/genlist/item_compress/elmdentica/default";
+          alias: "elm/genlist/item_compress_odd/elmdentica/default";
       data.item: "stacking" "above";
       data.item: "selectraise" "on";
       data.item: "labels" "elm.text elm.name elm.date";
@@ -155,7 +155,7 @@
 		scale: 1;
             description { state: "default" 0.0;
                fixed: 1 0;
-               align: 0.0 0.5;
+               align: 0.0 0.0;
 		min: 64 64;
                rel1 {
                   to_x: "elm.swallow.pad";
@@ -196,24 +196,24 @@
             description {
 	    fixed: 1 1;
                state: "default" 0.0;
-//               min: 16 16;
 		align: 0 0;
                rel1 {
                   to:     "elm.swallow.icon";
                   relative: 1.0  0.0;
+		offset: 5 0;
                }
                rel2 {
-                  to_y:     "elm.text";
-                  relative: 0.0  0.0;
+	       	to_x: "elm.date";
+                  relative: 0  0;
                }
                color: 0 0 0 255;
                color3: 0 0 0 0;
                text {
                   font: "Sans:style=Bold";
-                  size: 10;
+                  size: 8;
                   min: 1 1;
-//                  min: 0 0;
 		elipsis: 0;
+		max: 0.5 1;
                   align: 0.0 0.0;
                }
             }
@@ -232,21 +232,21 @@
             description {
 	    fixed: 1 1;
                state: "default" 0.0;
-//               min: 16 16;
-		align: 0 0;
+		align: 1 0;
                rel1 {
-                  to:     "elm.name";
-                  relative: 1.0  0.0;
+                  to:     "elm.swallow.end";
+                  relative: 0.0  0.0;
                }
                rel2 {
-                  to_y:     "elm.text";
+                  to:     "elm.swallow.end";
                   relative: 1.0  0.0;
                }
                color: 0 0 0 255;
                color3: 0 0 0 0;
                text {
-                  font: "Sans";
-                  size: 10;
+                  //font: "Sans";
+                  font: "Sans:style=Oblique";
+                  size: 8;
                   min: 1 1;
 //                  min: 0 0;
                   align: 0.0 0.0;
@@ -265,25 +265,27 @@
             mouse_events:   0;
             scale: 0;
             description {
-		align: 0 0.5;
+		align: 0 0;
 	    fixed: 1 1;
                state: "default" 0.0;
                rel1 {
-                  to:     "elm.swallow.icon";
-                  relative: 1.0  0.5;
-		  offset: 5 0;
+                  to_y:     "elm.name";
+                  to_x:     "elm.swallow.icon";
+                  relative: 1  1;
+		  offset: 5 5;
                }
                rel2 {
-                  to:     "elm.swallow.pad";
+                  to_y:     "elm.swallow.icon";
                   relative: 1.0  1.0;
                }
                color: 0 0 0 255;
                color3: 0 0 0 0;
                text {
 		style: "elmdentica_status";
-                  min: 1 1;
+                  min: 0 1;
+		max: 1 1;
                   align: 0.0 0.0;
-		text: "this is a long message that should be wrapped at some point bla bla bla";
+		//text: "this is a long message that should be wrapped at some point bla bla bla";
                }
             }
             description { state: "selected" 0.0;

Modified: trunk/elmdentica/src/elmdentica.c
===================================================================
--- trunk/elmdentica/src/elmdentica.c	2010-09-30 19:02:42 UTC (rev 52928)
+++ trunk/elmdentica/src/elmdentica.c	2010-09-30 20:39:27 UTC (rev 52929)
@@ -184,6 +184,8 @@
 	}
 
 	elm_win_title_set(win, label);
+
+	elm_genlist_clear(scroller);
 }
 
 void print_status(gpointer data, gpointer user_data) {
@@ -993,7 +995,6 @@
 			elm_notify_orient_set(notify, ELM_NOTIFY_ORIENT_TOP_RIGHT);
 			elm_notify_parent_set(notify, win);
 			elm_notify_timeout_set(notify, 5);
-			elm_notify_timer_init(notify);
 		evas_object_show(notify);
 
 		return;
@@ -2008,6 +2009,7 @@
 		evas_object_size_hint_align_set(scroller, -1, -1);
 		elm_genlist_bounce_set(scroller, EINA_FALSE, EINA_TRUE);
 		elm_genlist_no_select_mode_set(scroller, EINA_TRUE);
+		elm_genlist_compress_mode_set(scroller, EINA_TRUE);
 
 		evas_object_smart_callback_add(scroller, "longpressed", ed_status_action, NULL);
 		// Statuses list

Modified: trunk/elmdentica/src/statusnet.c
===================================================================
--- trunk/elmdentica/src/statusnet.c	2010-09-30 19:02:42 UTC (rev 52928)
+++ trunk/elmdentica/src/statusnet.c	2010-09-30 20:39:27 UTC (rev 52929)
@@ -894,7 +894,6 @@
 					elm_notify_orient_set(notify, ELM_NOTIFY_ORIENT_TOP_RIGHT);
 					elm_notify_parent_set(notify, win);
 					elm_notify_timeout_set(notify, 5);
-					elm_notify_timer_init(notify);
 				evas_object_show(notify);
 
 				free(notify_message);
@@ -1218,7 +1217,6 @@
 					elm_notify_orient_set(notify, ELM_NOTIFY_ORIENT_TOP_RIGHT);
 					elm_notify_parent_set(notify, win);
 					elm_notify_timeout_set(notify, 5);
-					elm_notify_timer_init(notify);
 				evas_object_show(notify);
 
 				free(notify_message);


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
enlightenment-svn mailing list
enlightenment-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic