Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/modules/fileman Modified Files: e_fwin.c Log Message: Set correct window title when we navigate to different places. =================================================================== RCS file: /cvs/e/e17/apps/e/src/modules/fileman/e_fwin.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- e_fwin.c 12 Aug 2007 20:02:50 -0000 1.2 +++ e_fwin.c 12 Aug 2007 20:43:13 -0000 1.3 @@ -239,11 +239,13 @@ e_fm2_path_set(fwin->fm_obj, dev, path); + /* file = ecore_file_file_get(e_fm2_real_path_get(fwin->fm_obj)); if (file) snprintf(buf, sizeof(buf), "%s", file); else snprintf(buf, sizeof(buf), "%s", e_fm2_real_path_get(fwin->fm_obj)); + */ // return fwin; } @@ -509,6 +511,7 @@ E_Fwin *fwin; Efreet_Desktop *ef; char buf[PATH_MAX]; + const char *file; fwin = data; /* FIXME: first look in E config for a special override for this dir's bg @@ -566,6 +569,14 @@ e_fm2_custom_theme_set(obj, fwin->theme_file); else e_fm2_custom_theme_set(obj, NULL); + + if (fwin->zone) return; + file = ecore_file_file_get(e_fm2_real_path_get(fwin->fm_obj)); + if (file) + snprintf(buf, sizeof(buf), "%s", file); + else + snprintf(buf, sizeof(buf), "%s", e_fm2_real_path_get(fwin->fm_obj)); + e_win_title_set(fwin->win, buf); } static void ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs