Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Pecan on March 09, 2006, 04:10:16 am

Title: "Opened Files" panel context menu
Post by: Pecan on March 09, 2006, 04:10:16 am
Does this context menu on the Opened Files panel make
sense?

Or, are there any suggestions I can can look into?

(http://img84.imageshack.us/img84/2530/graphic38200695925pm9yo.png)

The properties entry only works if a project is loaded.
The Toggle Breakpoint entry can actually set a breakpoint in the
wrong file.

If this context menu is in err here, I could have a look at what
it should actually be showing and make a patch. But I'm not clear
as to it's objective.

thanks
pecan
Title: Re: "Opened Files" panel context menu
Post by: rickg22 on March 16, 2006, 01:33:36 am
That context menu is a residue from the editor's context menu, it needs a revamp. Please file a bug or something.

Thx! :)
Title: Re: "Opened Files" panel context menu
Post by: sethjackson on March 16, 2006, 01:36:50 am
Umm so which context menu items need to stay (if any)?  :?
Title: Re: "Opened Files" panel context menu
Post by: Pecan on March 16, 2006, 02:28:43 am
That context menu is a residue from the editor's context menu, it needs a revamp. Please file a bug or something.

Thx! :)

Thanks Rick, I was thinking my question was so stupid noone
was going to embarrass me with an answer.

Actually, I'd rather file a patch. Things go faster that way.
Seem to me... Properties is the only thing on this menu that needs to be there.
And properties doesn't work if the file isn't in a project.

So I'll look into it. Although Seth may beat me to it. He's faster than I am. :-)

pecan
Title: Re: "Opened Files" panel context menu
Post by: Pecan on March 17, 2006, 07:34:01 pm
Patch submitted as:

http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=931&group_id=5358
 (http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=931&group_id=5358)