[maemo-commits] [maemo-commits] r9161 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Jan 17 12:03:03 EET 2007
Author: lucasr
Date: 2007-01-17 12:03:02 +0200 (Wed, 17 Jan 2007)
New Revision: 9161

Modified:
   projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog
   projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hd-config.h
   projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hd-desktop.c
Log:
2007-01-17  Lucas Rocha  <lucas.rocha at nokia.com>

	* src/hd-config.h, src/hd-desktop.c: use simpler TOP, BOTTOM, LEFT and RIGHT for
	container orientation instead of NORTH, SOUTH, WEST and EAST.


Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2007-01-17 09:54:28 UTC (rev 9160)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2007-01-17 10:03:02 UTC (rev 9161)
@@ -1,3 +1,8 @@
+2007-01-17  Lucas Rocha  <lucas.rocha at nokia.com>
+
+	* src/hd-config.h, src/hd-desktop.c: use simpler TOP, BOTTOM, LEFT and RIGHT for
+	container orientation instead of NORTH, SOUTH, WEST and EAST.
+
 2007-01-17  Johan Bilien  <johan.bilien at nokia.com>
 
 	* src/hd-home-window.c: Reverted disabling double-buffering of the

Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hd-config.h
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hd-config.h	2007-01-17 09:54:28 UTC (rev 9160)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hd-config.h	2007-01-17 10:03:02 UTC (rev 9161)
@@ -38,10 +38,10 @@
 #define HD_CONTAINER_TYPE_PANEL_FIXED       "panel_fixed"
 #define HD_CONTAINER_TYPE_PANEL_BOX         "panel_box"
 
-#define HD_WINDOW_ORIENTATION_NORTH         "north"
-#define HD_WINDOW_ORIENTATION_SOUTH         "south"
-#define HD_WINDOW_ORIENTATION_WEST          "west"
-#define HD_WINDOW_ORIENTATION_EAST          "east"
+#define HD_WINDOW_ORIENTATION_TOP           "top"
+#define HD_WINDOW_ORIENTATION_BOTTOM        "bottom"
+#define HD_WINDOW_ORIENTATION_LEFT          "left"
+#define HD_WINDOW_ORIENTATION_RIGHT         "right"
 
 #define HD_PLUGIN_CONFIG_GROUP              "Desktop Entry"
 #define HD_PLUGIN_CONFIG_KEY_NAME           "Name"

Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hd-desktop.c
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hd-desktop.c	2007-01-17 09:54:28 UTC (rev 9160)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hd-desktop.c	2007-01-17 10:03:02 UTC (rev 9161)
@@ -626,13 +626,13 @@
         continue;
       }
 
-      if (!g_ascii_strcasecmp (orientation_str, HD_WINDOW_ORIENTATION_NORTH))
+      if (!g_ascii_strcasecmp (orientation_str, HD_WINDOW_ORIENTATION_TOP))
         orientation = HILDON_DESKTOP_PANEL_WINDOW_ORIENTATION_TOP; 
-      else if (!g_ascii_strcasecmp (orientation_str, HD_WINDOW_ORIENTATION_SOUTH))
+      else if (!g_ascii_strcasecmp (orientation_str, HD_WINDOW_ORIENTATION_BOTTOM))
         orientation = HILDON_DESKTOP_PANEL_WINDOW_ORIENTATION_BOTTOM; 
-      else if (!g_ascii_strcasecmp (orientation_str, HD_WINDOW_ORIENTATION_WEST))
+      else if (!g_ascii_strcasecmp (orientation_str, HD_WINDOW_ORIENTATION_LEFT))
         orientation = HILDON_DESKTOP_PANEL_WINDOW_ORIENTATION_LEFT; 
-      else if (!g_ascii_strcasecmp (orientation_str, HD_WINDOW_ORIENTATION_EAST))
+      else if (!g_ascii_strcasecmp (orientation_str, HD_WINDOW_ORIENTATION_RIGHT))
         orientation = HILDON_DESKTOP_PANEL_WINDOW_ORIENTATION_RIGHT; 
       else 
         orientation = HILDON_DESKTOP_PANEL_WINDOW_ORIENTATION_LEFT; 


More information about the maemo-commits mailing list