[glom/maemo5] Maemo: Fix the build for the latest hildonmm.



commit 0cdb34a70de50f16c899c6109a7ce65845ee7a05
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Oct 16 19:20:09 2009 +0200

    Maemo: Fix the build for the latest hildonmm.
    
    * glom/navigation/maemo/pickerbutton_table.cc:
    * glom/utility_widgets/comboentryglom.cc:
    * glom/utility_widgets/comboglom.cc: Adapt to changed (simpler) TouchSel
    ector
    API.

 ChangeLog                                   |    9 +++++++++
 glom/navigation/maemo/pickerbutton_table.cc |    2 +-
 glom/utility_widgets/comboentryglom.cc      |    2 +-
 glom/utility_widgets/comboglom.cc           |    2 +-
 4 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 47515d1..703da6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2009-10-16  Murray Cumming  <murrayc murrayc com>
 
+  Maemo: Fix the build for the latest hildonmm.
+  
+	* glom/navigation/maemo/pickerbutton_table.cc:
+	* glom/utility_widgets/comboentryglom.cc:
+	* glom/utility_widgets/comboglom.cc: Adapt to changed (simpler) TouchSelector 
+	API.
+
+2009-10-16  Murray Cumming  <murrayc murrayc com>
+
   Maemo: Fix my previous commit.
   
 	* glom/utility_widgets/datawidget.cc: set_child_size_by_field(): Move the 
diff --git a/glom/navigation/maemo/pickerbutton_table.cc b/glom/navigation/maemo/pickerbutton_table.cc
index 2ff4763..023f222 100644
--- a/glom/navigation/maemo/pickerbutton_table.cc
+++ b/glom/navigation/maemo/pickerbutton_table.cc
@@ -92,7 +92,7 @@ void PickerButton_Table::set_table_name(const Glib::ustring& table_name)
 
     if(this_text == table_name)
     {
-      m_touchselector.set_active(0, iter);
+      m_touchselector.set_selected(0, iter);
       return; //success
     }
   }
diff --git a/glom/utility_widgets/comboentryglom.cc b/glom/utility_widgets/comboentryglom.cc
index 08ee44a..0ba4f4e 100644
--- a/glom/utility_widgets/comboentryglom.cc
+++ b/glom/utility_widgets/comboentryglom.cc
@@ -258,7 +258,7 @@ void ComboEntryGlom::set_text(const Glib::ustring& text)
 
     if(this_text == text)
     {
-      m_maemo_selector.set_active(0, iter);
+      m_maemo_selector.set_selected(0, iter);
     }
   }
   #endif //GLOM_ENABLE_MAEMO
diff --git a/glom/utility_widgets/comboglom.cc b/glom/utility_widgets/comboglom.cc
index bd8b743..810cb7b 100644
--- a/glom/utility_widgets/comboglom.cc
+++ b/glom/utility_widgets/comboglom.cc
@@ -174,7 +174,7 @@ void ComboGlom::set_text(const Glib::ustring& text)
   #ifndef GLOM_ENABLE_MAEMO
   unset_active();
   #else
-  m_maemo_selector.unset_active(0);
+  m_maemo_selector.unselect_all(0);
   #endif
 }
 



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