Author Topic: Make C::B use minimal layout when opening files from explorer  (Read 11396 times)

Offline ptDev

  • Almost regular
  • **
  • Posts: 222
Hi,

This is a small feature request.

I attach to this post a tiny patch that makes C::B adopt the "Code::Blocks minimal" layout when opening source code files directly from Windows Explorer.
Perhaps such a behavior should be optional?

Regards.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Make C::B use minimal layout when opening files from explorer
« Reply #1 on: May 26, 2012, 09:07:33 am »
Perhaps such a behavior should be optional?
Definitely. Because by default it would be an un-expected behaviour.
Also, please send such events through the event chain/handler. Never directly call the event's method - especially for SDK events.
« Last Edit: May 26, 2012, 09:09:56 am by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline p2rkw

  • Almost regular
  • **
  • Posts: 142
Re: Make C::B use minimal layout when opening files from explorer
« Reply #2 on: June 03, 2012, 12:40:12 am »
@ptDev: Maybe you can use personalities: http://wiki.codeblocks.org/index.php?title=Personalities