Ticket #1518 (assigned enhancement)

Opened 15 years ago

Last modified 8 years ago

The directory tree: add [+] / [-] or ▶ / ▼ labels

Reported by: sergey-feo Owned by:
Priority: minor Milestone: Future Releases
Component: mc-core Version: 4.7.0-pre1
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

(Excuse me for my bad English)

I suggest to mark closed directory tree nodes that contain subdirs with [+] or ▶ and mark opened directory tree nodes that contain subdirs with [-] or ▼ as many other applications do.

Change History

comment:1 Changed 15 years ago by andrew_b

  • Summary changed from director tree: add marks [+] / [-] or  ▶ / ▼ to director tree: add marks [+] / [-] or ▶ / ▼

Patches are welcome!

comment:2 Changed 14 years ago by Janek Kozicki

  • Status changed from new to assigned
  • Owner set to Janek Kozicki

this is fixed in my trac ticket #2202. Hmm, is there a way to see if the characters ▶ / ▼ are available for mc display? If yes, then I could replace + and - with ▶ / ▼

comment:3 follow-up: ↓ 4 Changed 14 years ago by andrew_b

This can be made using skin engine.

comment:4 in reply to: ↑ 3 Changed 14 years ago by Janek Kozicki

Replying to andrew_b:

This can be made using skin engine.

can you point me to some example in the code, where this skin engine
is used? If I see it used, then I'll know how to use it in my case.

comment:5 Changed 14 years ago by andrew_b

Look at panel_init() function as a start point to understand how some interface items defined in skin are used.

You can add new section to the featured.ini skin like following (just as an example):

[widget-tree]
# tree node without children;
node=─
# collapsed tree node with children
node-collapsed=▶
# expanded tree node with children
node-expanded=▼

comment:6 Changed 14 years ago by Janek Kozicki

I have that already done in some sort, I need to rework the patch for clarity, and add skin support.

comment:7 Changed 12 years ago by birdie

  • Branch state set to no branch
  • Summary changed from director tree: add marks [+] / [-] or ▶ / ▼ to The directory tree: add [+] / [-] or ▶ / ▼ labels

comment:8 Changed 8 years ago by andrew_b

  • Owner Janek Kozicki deleted
Note: See TracTickets for help on using tickets.