[haiku-bugs] Re: [Haiku] #13463: adding a NeverDisableDefaultButton parameter to the BFilePanel constructor

  • From: "humdinger" <trac@xxxxxxxxxxxx>
  • Date: Sun, 30 Apr 2017 06:16:40 -0000

#13463: adding a NeverDisableDefaultButton parameter to the BFilePanel 
constructor
----------------------------------+---------------------------------
   Reporter:  owenca              |      Owner:  nobody
       Type:  enhancement         |     Status:  new
   Priority:  normal              |  Milestone:  Unscheduled
  Component:  Kits/libtracker.so  |    Version:  R1/Development
 Resolution:                      |   Keywords:  BFilePanel, Tracker
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+---------------------------------

Comment (by humdinger):

 Replying to [comment:1 axeld]:

And BTW, what do you need it for exactly?

 This is a solution for #8116. Instead of adding another button to the file
 panel to select the current folder, the standard select/add/open is simply
 always enabled. If no folder is selected, clicking the button takes the
 current folder. Not totally obvious, but beats the current drag of having
 to go up to the parent and selecting the folder there...

 Note, this change is only for the flavour B_DIRECTORY_NODE of an
 B_OPEN_PANEL.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13463#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: