Enlightenment CVS committal
Author : atmosphere
Project : e17
Module : apps/entrance
Dir : e17/apps/entrance/src/client
Modified Files:
entrance_session.c
Log Message:
Slightly more sane defaults I noticed while updating my theme.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/entrance_session.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- entrance_session.c 22 Oct 2003 12:09:57 -0000 1.17
+++ entrance_session.c 22 Oct 2003 15:44:24 -0000 1.18
@@ -140,6 +140,9 @@
evas_object_del(obj);
}
edje_object_signal_emit(e->edje, "In", "EntranceUserEntry");
+ /* FIXME: we shouldn't emit UserAuthFail here, but it gets us back to
+ the beginning */
+ edje_object_signal_emit(e->edje, "EntranceUserAuthFail", "");
}
}
@@ -231,7 +234,12 @@
ebuild for this distribution. Please comment. */
if ((session_key =
(char *) evas_hash_find(e->config->sessions.hash, e->session)))
- snprintf(buf, PATH_MAX, "%s %s", ENTRANCE_XSESSION, session_key);
+ {
+ if (!strcmp(session_key, "default"))
+ snprintf(buf, PATH_MAX, "%s", ENTRANCE_XSESSION);
+ else
+ snprintf(buf, PATH_MAX, "%s %s", ENTRANCE_XSESSION, session_key);
+ }
else
snprintf(buf, PATH_MAX, "%s", ENTRANCE_XSESSION); /* Default
session
@@ -509,6 +517,7 @@
char buf[PATH_MAX];
Evas_Object *o = NULL;
Evas_Object *edje = NULL;
+ Evas_Coord w, h;
if (!e || !e->edje || !key)
return (NULL);
@@ -523,10 +532,17 @@
e->config->theme);
if ((result = edje_object_file_set(edje, buf, "Session")) > 0)
{
- evas_object_move(edje, 0, 0);
- evas_object_resize(edje, 48, 48);
evas_object_layer_set(edje, 0);
+ evas_object_move(edje, -9999, -9999);
+ if (edje_object_part_exists(e->edje, "EntranceSession"))
+ {
+ edje_object_part_geometry_get(e->edje, "EntranceSession", NULL, NULL,
+ &w, &h);
+ evas_object_resize(edje, w, h);
+ }
+ else
+ evas_object_resize(edje, 48, 48);
if (edje_object_part_exists(edje, "EntranceSessionIcon"))
{
icon = (char *) evas_hash_find(e->config->sessions.icons, key);
-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs