Compare commits

..

No commits in common. "devs/rimmed/entrance2" and "master" have entirely different histories.

3 changed files with 54 additions and 7 deletions

View File

@ -1,7 +1,7 @@
#%PAM-1.0
auth required pam_securetty.so
auth requisite pam_nologin.so
auth include system-local-login
account include system-local-login
session include system-local-login
auth include system-login
-auth optional pam_gnome_keyring.so
account include system-login
password include system-login
session include system-login
-session optional pam_gnome_keyring.so auto_start

View File

@ -194,7 +194,27 @@ collections {
visible: 1;
}
}
/* */
part { name: "entrance.conf";
type: EXTERNAL;
source: "elm/button";
description { state: "default" 0.0;
fixed: 1 1;
visible: 1;
max: 0 0;
align: 1.0 1.0;
rel2.to_x: "entrance.actions";
rel2.relative: 0.0 1.0;
params {
string: "label" "Settings";
}
}
description { state: "enabled" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
/*
*/
}
programs {
program {
@ -225,6 +245,20 @@ collections {
action: STATE_SET "default" 0.0;
target: "entrance.users";
}
program {
name: "conf_enabled";
signal: "entrance,custom_conf,enabled";
source: "";
action: STATE_SET "enabled" 0.0;
target: "entrance.conf";
}
program {
name: "conf_disabled";
signal: "entrance,custom_conf,disabled";
source: "";
action: STATE_SET "default" 0.0;
target: "entrance.conf";
}
}
}

View File

@ -232,6 +232,19 @@ _entrance_main(const char *dname)
chown(ENTRANCE_CONFIG_HOME_PATH,
pwd->pw_uid, pwd->pw_gid);
}
else
{
if (!ecore_file_is_dir(ENTRANCE_CONFIG_HOME_PATH))
{
PT("Hum a file already exists here "
ENTRANCE_CONFIG_HOME_PATH" sorry but"
"I remove it, I need it ^^");
ecore_file_remove(ENTRANCE_CONFIG_HOME_PATH);
ecore_file_mkdir(ENTRANCE_CONFIG_HOME_PATH);
chown(ENTRANCE_CONFIG_HOME_PATH,
pwd->pw_uid, pwd->pw_gid);
}
}
}
else
{