Hello!
PCMan has written on Wednesday, 3 October, at 10:01:
>Thanks for the work.
>It looks ok at first glance.
>However, I indeed have some more opinions on the new way.
>I'm at work now.
>I'll test your code later and give you some more detailed comment.
Sure thing. It's why it's in separate branch - to make it as perfect
as possible before putting into master branch.
>BTW, do you mean that the search window is available only in detailed list
>mode?
>If that's the case, what's the rationale behind this? And if not, just
>ignore my question.
Nope. The format of search window is set in callback open_search_func
which is special variant of open_folder_func used on launch_search_simple
from main menu. Main difference is additional setup:
fm_standard_view_set_mode(FM_STANDARD_VIEW(win->folder_view),
FM_FV_LIST_VIEW);
fm_folder_view_set_columns(win->folder_view,
"name:200,desc,dirname,size,mtime");
so as you can see, it just chahges initial appearance of window with
search results and even this initial appearance can be configurable as
well, no such thing as "only" exists, it's more flex than ever. Only
FM_FV_LIST_VIEW of FmStandardView supports changing columns for now but
support for other modes can be added if required.
Cheers!
Andriy.
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Pcmanfm-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pcmanfm-develop