One day, maybe, I will not forget attaching files...
Hello!
This time 2 patches :
- e_fileman_segfault_on_64bits.patch corrects out of bounds access
when pointers
are not 32bits (case on x86_64)
- e_fileman_menu_entry_glow.patch is just for eye-candiness, when
selecting the
files entry, the icon will change to selected directories' one...
Cheers!
--
ilLogict
Website: http://illogict.online.fr
E-Mail: [EMAIL PROTECTED]
AIM/NIM: illogict
Yahoo: illogict
MSN: [EMAIL PROTECTED]
ICQ: #74274856
Infos: E17 rocks!
Le nettoyage de ligne, quelle chose efficace ! (1900->4700 @60dB)
--
ilLogict
Website: http://illogict.online.fr
E-Mail: [EMAIL PROTECTED]
AIM/NIM: illogict
Yahoo: illogict
MSN: [EMAIL PROTECTED]
ICQ: #74274856
Infos: E17 rocks!
Le nettoyage de ligne, quelle chose efficace ! (1900->4700 @60dB)
Index: e_fileman_file.c
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_fileman_file.c,v
retrieving revision 1.7
diff -u -r1.7 e_fileman_file.c
--- e_fileman_file.c 25 Oct 2005 14:49:41 -0000 1.7
+++ e_fileman_file.c 29 Oct 2005 06:45:47 -0000
@@ -178,7 +178,7 @@
int i;
D(("e_fm_file_can_preview: (%s) (%p)\n", file->name, file));
- for (i = 0; i < sizeof(file->preview_funcs); i++)
+ for (i = 0; i < sizeof(file->preview_funcs)/sizeof(E_Fm_File_Preview_Function); i++)
{
E_Fm_File_Preview_Function func;
func = file->preview_funcs[i];
Index: default_icons.edc
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/data/themes/default_icons.edc,v
retrieving revision 1.4
diff -u -r1.4 default_icons.edc
--- default_icons.edc 15 Oct 2005 05:38:27 -0000 1.4
+++ default_icons.edc 29 Oct 2005 06:40:51 -0000
@@ -418,8 +418,8 @@
name: "icons/enlightenment/fileman";
max: 64 64;
parts {
- part {
- name: "icon";
+ part {
+ name: "fileman_button";
mouse_events: 0;
description {
state: "default" 0.0;
@@ -430,6 +430,48 @@
}
}
}
+ part {
+ name: "fileman_button_glow";
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ to: "fileman_button";
+ }
+ rel2 {
+ to: "fileman_button";
+ }
+ color: 255 255 255 0;
+ image {
+ normal: "e17_icon_fileman_folder_clicked.png";
+ }
+ }
+ description {
+ state: "hilited" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "fileman_button_in";
+ signal: "active";
+ source: "";
+ action: STATE_SET "hilited" 0.0;
+ transition: LINEAR 0.5;
+ target: "fileman_button_glow";
+ }
+ program {
+ name: "fileman_button_out";
+ signal: "passive";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.5;
+ target: "fileman_button_glow";
+ }
}
}
group {