[maemo-commits] [maemo-commits] r13124 - in projects/haf/trunk/hildon-desktop: . libhildondesktop

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Aug 10 17:40:41 EEST 2007
Author: jobi
Date: 2007-08-10 17:40:40 +0300 (Fri, 10 Aug 2007)
New Revision: 13124

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-home-item.h
   projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-home-area.c
Log:

2007-08-10  Johan Bilien  <johan.bilien at nokia.com>

	* libhildondesktop/hildon-desktop-home-item.h,
	  libhildondesktop/hildon-home-area.c:
	- move keyfile keys for applet layout where they belong



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-08-10 14:24:27 UTC (rev 13123)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-08-10 14:40:40 UTC (rev 13124)
@@ -1,5 +1,11 @@
 2007-08-10  Johan Bilien  <johan.bilien at nokia.com>
 
+	* libhildondesktop/hildon-desktop-home-item.h,
+	  libhildondesktop/hildon-home-area.c:
+	- move keyfile keys for applet layout where they belong
+
+2007-08-10  Johan Bilien  <johan.bilien at nokia.com>
+
 	* doc/hildon-desktop-docs.sgml: added template
 
 2007-08-10  Johan Bilien  <johan.bilien at nokia.com>

Modified: projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-home-item.h
===================================================================
--- projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-home-item.h	2007-08-10 14:24:27 UTC (rev 13123)
+++ projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-home-item.h	2007-08-10 14:40:40 UTC (rev 13124)
@@ -45,25 +45,6 @@
 #define HILDON_DESKTOP_TYPE_HOME_ITEM_RESIZE_TYPE \
                                         (hildon_desktop_home_item_resize_type_get_type())
 
-
- 
-/* FIXME: This will go in a style property, and use an alignment */
-#define APPLET_ADD_X_STEP 20
-#define APPLET_ADD_Y_STEP 20
-
-/* .desktop keys */
-#define HH_APPLET_GROUP                 "Desktop Entry"
-#define HH_APPLET_KEY_NAME              "Name"
-#define HH_APPLET_KEY_LIBRARY           "X-home-applet"
-#define HH_APPLET_KEY_X                 "X"
-#define HH_APPLET_KEY_Y                 "Y"
-#define HH_APPLET_KEY_WIDTH             "X-home-applet-width"
-#define HH_APPLET_KEY_HEIGHT            "X-home-applet-height"
-#define HH_APPLET_KEY_STACK_INDEX       "X-home-applet-stack-index"
-#define HH_APPLET_KEY_MINWIDTH          "X-home-applet-minwidth"
-#define HH_APPLET_KEY_MINHEIGHT         "X-home-applet-minheight"
-#define HH_APPLET_KEY_RESIZABLE         "X-home-applet-resizable"
-
 /**
  * HildonDesktopHomeItemResizeType:
  * @HILDON_DESKTOP_HOME_ITEM_RESIZE_NONE: cannot be resized.

Modified: projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-home-area.c
===================================================================
--- projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-home-area.c	2007-08-10 14:24:27 UTC (rev 13123)
+++ projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-home-area.c	2007-08-10 14:40:40 UTC (rev 13124)
@@ -42,6 +42,19 @@
 #include <string.h>
 #include <stdlib.h> /* malloc */
 
+/* .desktop keys */
+#define HH_APPLET_GROUP                 "Desktop Entry"
+#define HH_APPLET_KEY_NAME              "Name"
+#define HH_APPLET_KEY_LIBRARY           "X-home-applet"
+#define HH_APPLET_KEY_X                 "X"
+#define HH_APPLET_KEY_Y                 "Y"
+#define HH_APPLET_KEY_WIDTH             "X-home-applet-width"
+#define HH_APPLET_KEY_HEIGHT            "X-home-applet-height"
+#define HH_APPLET_KEY_STACK_INDEX       "X-home-applet-stack-index"
+#define HH_APPLET_KEY_MINWIDTH          "X-home-applet-minwidth"
+#define HH_APPLET_KEY_MINHEIGHT         "X-home-applet-minheight"
+#define HH_APPLET_KEY_RESIZABLE         "X-home-applet-resizable"
+
 enum
 {
   PROP_SNAP_TO_GRID = 1,


More information about the maemo-commits mailing list