[nemiver] Small member renaming in nmv-set-breakpoint-dialog.cc
- From: Dodji Seketeli <dodji src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver] Small member renaming in nmv-set-breakpoint-dialog.cc
- Date: Fri, 15 Oct 2010 20:49:05 +0000 (UTC)
commit 097c94fb968ee3535ac65784230586db507351ca
Author: Dodji Seketeli <dodji seketeli org>
Date: Fri Oct 15 22:35:11 2010 +0200
Small member renaming in nmv-set-breakpoint-dialog.cc
* src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc
(SetBreakpointDialog::Priv::combo_event_cols): Renamed
combo_event_col_model into this.
(SetBreakpointDialog::Priv::Priv)
(SetBreakpointDialog::Priv::get_active_event): Adjust.
.../dbgperspective/nmv-set-breakpoint-dialog.cc | 26 ++++++++++----------
1 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc b/src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc
index 8816b08..28a25c4 100644
--- a/src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc
+++ b/src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc
@@ -56,7 +56,7 @@ public:
class SetBreakpointDialog::Priv {
public:
Gtk::ComboBox *combo_event;
- EventComboModelColumns combo_event_col_model;
+ EventComboModelColumns combo_event_cols;
Glib::RefPtr<Gtk::ListStore> combo_event_model;
Gtk::Entry *entry_filename;
Gtk::Entry *entry_line;
@@ -96,29 +96,29 @@ public:
combo_event =
ui_utils::get_widget_from_gtkbuilder<Gtk::ComboBox>
(a_gtkbuilder, "combo_event");
- combo_event_model = Gtk::ListStore::create (combo_event_col_model);
+ combo_event_model = Gtk::ListStore::create (combo_event_cols);
combo_event->set_model (combo_event_model);
Gtk::TreeModel::Row row;
row = *(combo_event_model->append ());
- row[combo_event_col_model.m_label] = _("Throw Exception");
- row[combo_event_col_model.m_command] = "throw";
+ row[combo_event_cols.m_label] = _("Throw Exception");
+ row[combo_event_cols.m_command] = "throw";
row = *(combo_event_model->append ());
- row[combo_event_col_model.m_label] = _("Catch Exception");
- row[combo_event_col_model.m_command] = "catch";
+ row[combo_event_cols.m_label] = _("Catch Exception");
+ row[combo_event_cols.m_command] = "catch";
row = *(combo_event_model->append ());
- row[combo_event_col_model.m_label] = _("fork system call");
- row[combo_event_col_model.m_command] = "fork";
+ row[combo_event_cols.m_label] = _("fork system call");
+ row[combo_event_cols.m_command] = "fork";
row = *(combo_event_model->append ());
- row[combo_event_col_model.m_label] = _("vfork system call");
- row[combo_event_col_model.m_command] = "vfork";
+ row[combo_event_cols.m_label] = _("vfork system call");
+ row[combo_event_cols.m_command] = "vfork";
row = *(combo_event_model->append ());
- row[combo_event_col_model.m_label] = _("exec system call");
- row[combo_event_col_model.m_command] = "exec";
+ row[combo_event_cols.m_label] = _("exec system call");
+ row[combo_event_cols.m_command] = "exec";
combo_event->set_active (false);
@@ -337,7 +337,7 @@ public:
UString get_active_event () const
{
Gtk::TreeModel::iterator iter = combo_event->get_active ();
- return (*iter)[combo_event_col_model.m_command];
+ return (*iter)[combo_event_cols.m_command];
}
void set_active_event (const UString &) const
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]