nemiver r524 - trunk/src/persp/dbgperspective



Author: jjongsma
Date: 2007-06-19 04:59:15 +0100 (Tue, 19 Jun 2007)
New Revision: 524
ViewCVS link: http://svn.gnome.org/viewcvs/nemiver?rev=524&view=rev

Modified:
   trunk/src/persp/dbgperspective/nmv-dbg-perspective.cc
Log:
The 'toggle breakpoint' and 'enable/disable breakpoint' actions are now updated
to display context-sensitive text for the menu items.  In other words, if the
cursor is on a line with an enabled breakpoint, the actions will be called
'Remove breakpoint' and 'Disable breakpoint', on a line without a breakpoint,
the actions will be called 'Set breakpoint' and the enable/disable action will
be insensitive.
In order to get this right, I had to update the text of the toggle actions
whenever there were any changes to the breakpoints in addition to whenever the
cursor insertion point changed.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]