[maemo-commits] [maemo-commits] r10569 - in projects/haf/branches/maemo-af-desktop/python-hildondesktop: . libhildondesktop

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Mar 14 10:06:12 EET 2007
Author: lucasr
Date: 2007-03-14 10:06:11 +0200 (Wed, 14 Mar 2007)
New Revision: 10569

Modified:
   projects/haf/branches/maemo-af-desktop/python-hildondesktop/ChangeLog
   projects/haf/branches/maemo-af-desktop/python-hildondesktop/libhildondesktop/Makefile.am
   projects/haf/branches/maemo-af-desktop/python-hildondesktop/libhildondesktop/hildondesktop.defs
   projects/haf/branches/maemo-af-desktop/python-hildondesktop/libhildondesktop/hildondesktop.override
Log:
2007-03-14  Lucas Rocha  <lucas.rocha at nokia.com>

	* libhildondesktop/Makefile.am, libhildondesktop/hildondesktop.defs,
	libhildondesktop/hildondesktop.override: update to match API changes.


Modified: projects/haf/branches/maemo-af-desktop/python-hildondesktop/ChangeLog
===================================================================
--- projects/haf/branches/maemo-af-desktop/python-hildondesktop/ChangeLog	2007-03-14 07:55:54 UTC (rev 10568)
+++ projects/haf/branches/maemo-af-desktop/python-hildondesktop/ChangeLog	2007-03-14 08:06:11 UTC (rev 10569)
@@ -1,3 +1,8 @@
+2007-03-14  Lucas Rocha  <lucas.rocha at nokia.com>
+
+	* libhildondesktop/Makefile.am, libhildondesktop/hildondesktop.defs,
+	libhildondesktop/hildondesktop.override: update to match API changes.
+
 2007-03-05  Lucas Rocha  <lucas.rocha at nokia.com>
 
 	* configure.ac: remove unused libhildonwm dependency.

Modified: projects/haf/branches/maemo-af-desktop/python-hildondesktop/libhildondesktop/Makefile.am
===================================================================
--- projects/haf/branches/maemo-af-desktop/python-hildondesktop/libhildondesktop/Makefile.am	2007-03-14 07:55:54 UTC (rev 10568)
+++ projects/haf/branches/maemo-af-desktop/python-hildondesktop/libhildondesktop/Makefile.am	2007-03-14 08:06:11 UTC (rev 10569)
@@ -37,7 +37,7 @@
 	$(hildondesktopincludedir)/libhildondesktop/hildon-home-window.h			\
 	$(hildondesktopincludedir)/libhildondesktop/hildon-home-area.h				\
 	$(hildondesktopincludedir)/libhildondesktop/hildon-home-titlebar.h			\
-	$(hildondesktopincludedir)/libhildondesktop/hildon-home-applet.h			\
+	$(hildondesktopincludedir)/libhildondesktop/hildon-desktop-home-item.h			\
 	$(hildondesktopincludedir)/libhildondesktop/hildon-desktop-item.h 			\
 	$(hildondesktopincludedir)/libhildondesktop/statusbar-item.h				\
 	$(hildondesktopincludedir)/libhildondesktop/tasknavigator-item.h 

Modified: projects/haf/branches/maemo-af-desktop/python-hildondesktop/libhildondesktop/hildondesktop.defs
===================================================================
--- projects/haf/branches/maemo-af-desktop/python-hildondesktop/libhildondesktop/hildondesktop.defs	2007-03-14 07:55:54 UTC (rev 10568)
+++ projects/haf/branches/maemo-af-desktop/python-hildondesktop/libhildondesktop/hildondesktop.defs	2007-03-14 08:06:11 UTC (rev 10569)
@@ -56,11 +56,11 @@
   (gtype-id "HILDON_DESKTOP_TYPE_PANEL_WINDOW_DIALOG")
 )
 
-(define-object HomeApplet
+(define-object HomeItem
   (in-module "HildonDesktop")
   (parent "HildonDesktopItem")
-  (c-name "HildonHomeApplet")
-  (gtype-id "HILDON_TYPE_HOME_APPLET")
+  (c-name "HildonDesktopHomeItem")
+  (gtype-id "HILDON_DESKTOP_TYPE_HOME_ITEM")
 )
 
 (define-object HomeArea
@@ -116,15 +116,15 @@
   )
 )
 
-(define-enum HomeAppletResizeType
+(define-enum HomeItemResizeType
   (in-module "HildonDesktop")
-  (c-name "HildonHomeAppletResizeType")
-  (gtype-id "HILDON_TYPE_HOME_APPLET_RESIZE_TYPE")
+  (c-name "HildonDesktopHomeItemResizeType")
+  (gtype-id "HILDON_DESKTOP_TYPE_HOME_ITEM_RESIZE_TYPE")
   (values
-    '("none" "HILDON_HOME_APPLET_RESIZE_NONE")
-    '("vertical" "HILDON_HOME_APPLET_RESIZE_VERTICAL")
-    '("horizontal" "HILDON_HOME_APPLET_RESIZE_HORIZONTAL")
-    '("both" "HILDON_HOME_APPLET_RESIZE_BOTH")
+    '("none" "HILDON_DESKTOP_HOME_ITEM_RESIZE_NONE")
+    '("vertical" "HILDON_DESKTOP_HOME_ITEM_RESIZE_VERTICAL")
+    '("horizontal" "HILDON_DESKTOP_HOME_ITEM_RESIZE_HORIZONTAL")
+    '("both" "HILDON_DESKTOP_HOME_ITEM_RESIZE_BOTH")
   )
 )
 
@@ -544,27 +544,27 @@
 
 
 
-;; From /usr/include/libhildondesktop/libhildondesktop/hildon-home-applet.h
+;; From /usr/include/libhildondesktop/libhildondesktop/hildon-desktop-home-item.h
 
-(define-function hildon_home_applet_resize_type_get_type
-  (c-name "hildon_home_applet_resize_type_get_type")
+(define-function hildon_desktop_home_item_resize_type_get_type
+  (c-name "hildon_desktop_home_item_resize_type_get_type")
   (return-type "GType")
 )
 
-(define-function hildon_home_applet_get_type
-  (c-name "hildon_home_applet_get_type")
+(define-function hildon_desktop_home_item_get_type
+  (c-name "hildon_desktop_home_item_get_type")
   (return-type "GType")
 )
 
-(define-function hildon_home_applet_new
-  (c-name "hildon_home_applet_new")
+(define-function hildon_desktop_home_item_new
+  (c-name "hildon_desktop_home_item_new")
   (is-constructor-of "HildonHomeApplet")
   (return-type "GtkWidget*")
 )
 
 (define-method set_layout_mode
   (of-object "HildonHomeApplet")
-  (c-name "hildon_home_applet_set_layout_mode")
+  (c-name "hildon_desktop_home_item_set_layout_mode")
   (return-type "none")
   (parameters
     '("gboolean" "layout_mode")
@@ -573,13 +573,13 @@
 
 (define-method get_layout_mode
   (of-object "HildonHomeApplet")
-  (c-name "hildon_home_applet_get_layout_mode")
+  (c-name "hildon_desktop_home_item_get_layout_mode")
   (return-type "gboolean")
 )
 
 (define-method set_resize_type
   (of-object "HildonHomeApplet")
-  (c-name "hildon_home_applet_set_resize_type")
+  (c-name "hildon_desktop_home_item_set_resize_type")
   (return-type "none")
   (parameters
     '("HildonHomeAppletResizeType" "rt")
@@ -588,19 +588,19 @@
 
 (define-method get_resize_type
   (of-object "HildonHomeApplet")
-  (c-name "hildon_home_applet_get_resize_type")
+  (c-name "hildon_desktop_home_item_get_resize_type")
   (return-type "HildonHomeAppletResizeType")
 )
 
 (define-method get_settings_menu_item
   (of-object "HildonHomeApplet")
-  (c-name "hildon_home_applet_get_settings_menu_item")
+  (c-name "hildon_desktop_home_item_get_settings_menu_item")
   (return-type "GtkWidget*")
 )
 
 (define-method save_position
   (of-object "HildonHomeApplet")
-  (c-name "hildon_home_applet_save_position")
+  (c-name "hildon_desktop_home_item_save_position")
   (return-type "none")
   (parameters
     '("GKeyFile*" "keyfile")
@@ -609,13 +609,13 @@
 
 (define-method get_overlaps
   (of-object "HildonHomeApplet")
-  (c-name "hildon_home_applet_get_overlaps")
+  (c-name "hildon_desktop_home_item_get_overlaps")
   (return-type "gboolean")
 )
 
 (define-method set_is_background
   (of-object "HildonHomeApplet")
-  (c-name "hildon_home_applet_set_is_background")
+  (c-name "hildon_desktop_home_item_set_is_background")
   (return-type "none")
   (parameters
     '("gboolean" "is_background")

Modified: projects/haf/branches/maemo-af-desktop/python-hildondesktop/libhildondesktop/hildondesktop.override
===================================================================
--- projects/haf/branches/maemo-af-desktop/python-hildondesktop/libhildondesktop/hildondesktop.override	2007-03-14 07:55:54 UTC (rev 10568)
+++ projects/haf/branches/maemo-af-desktop/python-hildondesktop/libhildondesktop/hildondesktop.override	2007-03-14 08:06:11 UTC (rev 10569)
@@ -12,7 +12,7 @@
 #include <libhildondesktop/hildon-home-window.h>
 #include <libhildondesktop/hildon-home-titlebar.h>
 #include <libhildondesktop/hildon-home-area.h>
-#include <libhildondesktop/hildon-home-applet.h>
+#include <libhildondesktop/hildon-desktop-home-item.h>
 #include <libhildondesktop/hildon-desktop-plugin.h>
 #include <libhildondesktop/hildon-desktop-item.h>
 #include <libhildondesktop/statusbar-item.h>


More information about the maemo-commits mailing list