nemiver r874 - in trunk: . src/persp/dbgperspective src/uicommon
- From: dodji svn gnome org
- To: svn-commits-list gnome org
- Subject: nemiver r874 - in trunk: . src/persp/dbgperspective src/uicommon
- Date: Sun, 22 Jun 2008 21:35:59 +0000 (UTC)
Author: dodji
Date: Sun Jun 22 21:35:59 2008
New Revision: 874
URL: http://svn.gnome.org/viewvc/nemiver?rev=874&view=rev
Log:
fix #515525 â Arrow keys don't work to navigate through source file
Modified:
trunk/ChangeLog
trunk/src/persp/dbgperspective/nmv-dbg-perspective.cc
trunk/src/uicommon/nmv-source-editor.cc
Modified: trunk/src/persp/dbgperspective/nmv-dbg-perspective.cc
==============================================================================
--- trunk/src/persp/dbgperspective/nmv-dbg-perspective.cc (original)
+++ trunk/src/persp/dbgperspective/nmv-dbg-perspective.cc Sun Jun 22 21:35:59 2008
@@ -4250,8 +4250,7 @@
append_source_editor (*source_editor, a_path) ;
if (!source_editor->source_view ().has_no_window ()) {
- source_editor->source_view ().add_events (Gdk::BUTTON3_MOTION_MASK
- |Gdk::KEY_PRESS_MASK) ;
+ source_editor->source_view ().add_events (Gdk::BUTTON3_MOTION_MASK) ;
source_editor->source_view ().signal_button_press_event ().connect
(sigc::mem_fun
(*this,
@@ -5441,7 +5440,8 @@
}
LOG_DD ("using debugger_dynmod_name: '" << debugger_dynmod_name << "'") ;
m_priv->debugger =
- module_manager->load_iface<IDebugger> (debugger_dynmod_name, "IDebugger") ;
+ module_manager->load_iface<IDebugger> (debugger_dynmod_name,
+ "IDebugger") ;
IConfMgrSafePtr conf_mgr = workbench ().get_configuration_manager () ;
m_priv->debugger->do_init (conf_mgr) ;
m_priv->debugger->set_event_loop_context
Modified: trunk/src/uicommon/nmv-source-editor.cc
==============================================================================
--- trunk/src/uicommon/nmv-source-editor.cc (original)
+++ trunk/src/uicommon/nmv-source-editor.cc Sun Jun 22 21:35:59 2008
@@ -85,8 +85,7 @@
void enable_events ()
{
add_events (Gdk::LEAVE_NOTIFY_MASK
- |Gdk::BUTTON_PRESS_MASK
- |Gdk::KEY_PRESS_MASK) ;
+ |Gdk::BUTTON_PRESS_MASK) ;
}
void do_custom_button_press_event_handling (GdkEventButton *a_event)
@@ -130,12 +129,6 @@
}
}
- bool on_key_press_event (GdkEventKey *a_event)
- {
- Gtk::Widget::on_key_press_event (a_event) ;
- return false ;
- }
-
sigc::signal<void, int>& marker_region_got_clicked_signal ()
{
return m_marker_region_got_clicked_signal ;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]