[glom] Fix non-mameo build after merge.
- From: Murray Cumming <murrayc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [glom] Fix non-mameo build after merge.
- Date: Wed, 7 Oct 2009 21:14:20 +0000 (UTC)
commit 59a49a96edbb31a7c10e103498b4095a61619e55
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Oct 7 23:14:03 2009 +0200
Fix non-mameo build after merge.
.../db_adddel/db_adddel_withbuttons.cc | 4 ++--
.../db_adddel/db_adddel_withbuttons.h | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/glom/utility_widgets/db_adddel/db_adddel_withbuttons.cc b/glom/utility_widgets/db_adddel/db_adddel_withbuttons.cc
index 6e195bf..7a02256 100644
--- a/glom/utility_widgets/db_adddel/db_adddel_withbuttons.cc
+++ b/glom/utility_widgets/db_adddel/db_adddel_withbuttons.cc
@@ -27,9 +27,9 @@ namespace Glom
DbAddDel_WithButtons::DbAddDel_WithButtons()
: m_HBox(false, Utils::DEFAULT_SPACING_SMALL),
#ifndef GLOM_ENABLE_MAEMO
- m_Button_Add(Gtk::Stock::ADD),
m_Button_Del(Gtk::Stock::DELETE),
- m_Button_Edit(Gtk::Stock::OPEN)
+ m_Button_Edit(Gtk::Stock::OPEN),
+ m_Button_Add(Gtk::Stock::ADD)
#else
m_Button_Add(Gtk::Hildon::SIZE_FINGER_HEIGHT, Hildon::BUTTON_ARRANGEMENT_HORIZONTAL)
#endif
diff --git a/glom/utility_widgets/db_adddel/db_adddel_withbuttons.h b/glom/utility_widgets/db_adddel/db_adddel_withbuttons.h
index 46e44a9..e009508 100644
--- a/glom/utility_widgets/db_adddel/db_adddel_withbuttons.h
+++ b/glom/utility_widgets/db_adddel/db_adddel_withbuttons.h
@@ -59,15 +59,15 @@ private:
Gtk::HBox m_HBox;
#ifndef GLOM_ENABLE_MAEMO
- typedef Gtk::Button type_button;
-#else
- typedef Hildon::Button type_button;
+ typedef Gtk::Button type_button;
//We don't need these buttons on Maemo because the user can
//- click to got to details.
//- go to the details and then del.
type_button m_Button_Del;
type_button m_Button_Edit;
+#else
+ typedef Hildon::Button type_button;
#endif
type_button m_Button_Add;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]