[glom/maemo5] Maemo: Use Hildon::StackableWindow.



commit 52aae6f750fc898f59385057bb76b2c777cab002
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Sep 23 10:53:34 2009 +0200

    Maemo: Use Hildon::StackableWindow.
    
    * glom/bakery/app_withdoc_gtk.h:
    * glom/window_boxholder.h: Use Hildon::StackableWindow instead of just
    Hildon::Window because this always seems to be the right thing to do.

 ChangeLog                     |    8 ++++++++
 glom/bakery/app_withdoc_gtk.h |    6 +++---
 glom/window_boxholder.h       |    4 ++--
 3 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e296180..2d322e0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-09-23  Murray Cumming  <murrayc murrayc com
+
+	Maemo: Use Hildon::StackableWindow.
+
+	* glom/bakery/app_withdoc_gtk.h:
+	* glom/window_boxholder.h: Use Hildon::StackableWindow instead of just 
+	Hildon::Window because this always seems to be the right thing to do.
+
 2009-09-23  Murray Cumming  <murrayc murrayc com>
 
 	Renamed Dialog_Glom to Window_BoxHolder.
diff --git a/glom/bakery/app_withdoc_gtk.h b/glom/bakery/app_withdoc_gtk.h
index 34ef551..e7c0c2c 100644
--- a/glom/bakery/app_withdoc_gtk.h
+++ b/glom/bakery/app_withdoc_gtk.h
@@ -24,7 +24,7 @@
 #include <glom/bakery/app.h>
 
 #ifdef GLOM_ENABLE_MAEMO
-#include <hildonmm/window.h>
+#include <hildonmm/stackablewindow.h>
 #endif
 
 #include <gtkmm/menubar.h>
@@ -54,14 +54,14 @@ namespace GlomBakery
 class App_WithDoc_Gtk
   : public App_WithDoc,
 #ifdef GLOM_ENABLE_MAEMO
-    public Hildon::Window //inherit virtually to share sigc::trackable.
+    public Hildon::StackableWindow //inherit virtually to share sigc::trackable.
 #else
     public Gtk::Window //inherit virtually to share sigc::trackable.
 #endif
 {
 public:
 #ifdef GLOM_ENABLE_MAEMO
-  typedef Hildon::Window ParentWindow;
+  typedef Hildon::StackableWindow ParentWindow;
 #else
   typedef Gtk::Window ParentWindow;
 #endif
diff --git a/glom/window_boxholder.h b/glom/window_boxholder.h
index ecdf791..66d51b3 100644
--- a/glom/window_boxholder.h
+++ b/glom/window_boxholder.h
@@ -26,7 +26,7 @@
 #include <gtkmm/button.h>
 
 #ifdef GLOM_ENABLE_MAEMO
-#include <hildonmm/window.h>
+#include <hildonmm/stackablewindow.h>
 #endif
 
 namespace Glom
@@ -38,7 +38,7 @@ class Window_BoxHolder :
 #ifndef GLOM_ENABLE_MAEMO
   public Gtk::Window
 #else
-  public Hildon::Window
+  public Hildon::StackableWindow
 #endif
 {
 public: 



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