Re: [E-devel] Entrance and sound authorisation

2005-01-11 Thread Sebastian Dransfeld
Corey Donohoe wrote:
I'll see about tending to this when I get home this evening.  Someone
recently mentioned that the pam_close_session is being called to
early, and should be called from entrance_login(which isn't possible).
Why isn't this possible? The documentation says that it should be 
possible to run pam_open_session and pam_close_session from two 
different processes.

Sebastian
---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] fix for Battery Module Alarm

2005-01-11 Thread nick hughart
Alarm trigger did not reset when the battery started charging again.  Oops.
Index: e_mod_main.c
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/battery/e_mod_main.c,v
retrieving revision 1.9
diff -u -r1.9 e_mod_main.c
--- e_mod_main.c	11 Jan 2005 07:08:37 -	1.9
+++ e_mod_main.c	11 Jan 2005 11:24:30 -
@@ -748,12 +748,15 @@
if ((charging) || (discharging))
  {
 ef-battery_prev_battery = 1;
-if ((charging )  (ef-battery_prev_ac != 1))
+if (charging)
   {
- edje_object_signal_emit(ef-bat_object, charge, );
- ef-battery_prev_ac = 1;
-	 edje_object_signal_emit(ef-bat_object, pulsestop, );
-	 ef-bat-alarm_triggered = 0;
+ if (ef-battery_prev_ac != 1)
+   {
+  edje_object_signal_emit(ef-bat_object, charge, );
+  ef-battery_prev_ac = 1;
+   }
+	edje_object_signal_emit(ef-bat_object, pulsestop, );
+	ef-bat-alarm_triggered = 0;
   }
 	else if (discharging)
   {


Re: [E-devel] Entrance and sound authorisation

2005-01-11 Thread Sebastian Dransfeld
Sebastian Dransfeld wrote:
Sebastian Dransfeld wrote:
Corey Donohoe wrote:
I'll see about tending to this when I get home this evening.  Someone
recently mentioned that the pam_close_session is being called to
early, and should be called from entrance_login(which isn't possible).

Why isn't this possible? The documentation says that it should be 
possible to run pam_open_session and pam_close_session from two 
different processes.

Sebastian

Seems to work here. See the applied patch. pam_console expects PAM_USER 
and PAM_TTY to be set.

Sebastian
Seems to be another issue to take care of. By using service dm restart 
in Mandrake, the script kills entranced which again kills entrance_login 
somehow. When this happends, the session isn't closed properly. Maybe 
end_user_session should be called regardless of the returnvalue from 
waitpid?

Sebastian
---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e16 actions

2005-01-11 Thread Michael Jennings
On Tuesday, 11 January 2005, at 10:03:48 (-0600),
Brian Mattern wrote:

 i also noticed some odd behavior on desktop sliding. the windows from 
 the destination desktop were not sliding at all

It's harder for the windows to slide in Texas.  Those big hats create
a large gravity well

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  [EMAIL PROTECTED]
n + 1, Inc., http://www.nplus1.net/   Author, Eterm (www.eterm.org)
---
 Kyrie eleison down the road that I must travel.  Kyrie eleison
  through the darkness of the night.  Kyrie eleison; where I'm going,
  will you follow? -- Mr. Mister, Kyrie


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Default Keybindings Suggestion

2005-01-11 Thread Kim Woelders
OK, I'll add these.
/Kim
A.J. Kehoe wrote:
Of all the useful keyboard keybindings in the default
set that come with E16, two things I use with great
frequency and would expect to find are not included:
__A_MAX_SIZE, conservative and __A_SHOW_MENU
taskmenu.
I personally think it would be a good idea to add the
following to the E16 distribution's default
keybindings.cfg file:
  __NEXT_ACTION
__KEY m
__EVENT __KEY_PRESS
__MODIFIER_KEY __CTRL_ALT
__ACTION __A_MAX_SIZE, conservative
  __NEXT_ACTION
__KEY t
__EVENT __KEY_PRESS
__MODIFIER_KEY __CTRL_ALT
__ACTION __A_SHOW_MENU taskmenu
Mind you, adding those to my keybindings.cfg file
every time I install E16 is no big deal at all. 
Still, others might benefit from this small addition,
plus it'd make the file a little more complete for
keyboard users like myself. :)



---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] e17 dev

2005-01-11 Thread The Rasterman
hey guys.. great work there.

for now can we hold off on new modules that put shit on the desktop? i need to
make a proper desktop "widget" management system - this will involve rip  tear
and i don't want to rip  tear more than i have to with an extra N modules.

we have enough to demo/test/use the stuff i have planned.

basically it will be a set of routines that handle moving, resizing etc. modules
on the desktop, with several policies available (free move, hug screen edges
(like ibar), resizable or not, how it can be resized, pack within a panel/zone
on the desktop etc. the module won't handle the move anymore instead it will
simply present its object(s) to this subsystem and set properties (min/max size,
freeform move, freeform resize, restricted move/resize, hug edges, retain aspect
or not, rotation, etc.)

so bear with me... :)

-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel