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

From: moimart at stage.maemo.org moimart at stage.maemo.org
Date: Tue Nov 21 17:15:45 EET 2006
Author: moimart
Date: 2006-11-21 17:15:44 +0200 (Tue, 21 Nov 2006)
New Revision: 8236

Modified:
   projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog
   projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/desktop-panel-window.c
   projects/haf/branches/maemo-af-desktop/hildon-desktop/src/main.c
   projects/haf/branches/maemo-af-desktop/hildon-desktop/test/test3.c
Log:

	* src/main.c: added locale.h header
        * libhildondesktop/desktop-panel-window.c: Deleted debug messages.
	* ChangeLog updated.
	* test/test3.c updated



Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2006-11-21 15:07:42 UTC (rev 8235)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2006-11-21 15:15:44 UTC (rev 8236)
@@ -1,3 +1,8 @@
+2006-11-21  Moises Martinez  <moises.martinzes at nokia.com>
+
+	* src/main.c: added locale.h header
+	* libhildondesktop/desktop-panel-window.c: Deleted debug messages.
+
 2006-11-21  Lucas Rocha  <lucas.rocha at nokia.com>
 
 	* src/hd-desktop.c: use configuration file settings to define Desktop

Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/desktop-panel-window.c
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/desktop-panel-window.c	2006-11-21 15:07:42 UTC (rev 8235)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/desktop-panel-window.c	2006-11-21 15:15:44 UTC (rev 8236)
@@ -437,7 +437,6 @@
       return TRUE;
       break;
     default:
-      g_debug ("default motion event");
       break;
   }
   return FALSE;
@@ -635,6 +634,7 @@
       }
       break;
     default:
+      g_debug ("Unreachable");
       break;
   }
 
@@ -711,7 +711,7 @@
   if IS_TOP (window)
   {
     window->priv->geometry.y = 0;
-	  
+
     if (window->priv->stretch)
       window->priv->geometry.x = 0;
     else

Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/src/main.c
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/src/main.c	2006-11-21 15:07:42 UTC (rev 8235)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/src/main.c	2006-11-21 15:15:44 UTC (rev 8236)
@@ -25,7 +25,7 @@
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
-
+#include <locale.h>
 #include <glib/gi18n.h>
 #include <gtk/gtk.h>
 

Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/test/test3.c
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/test/test3.c	2006-11-21 15:07:42 UTC (rev 8235)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/test/test3.c	2006-11-21 15:15:44 UTC (rev 8236)
@@ -12,16 +12,16 @@
 		  	 "width",300,
 			 "height",100,
 			 "x",0,"y",0,
-			 "stretch",TRUE,
-			 "move",FALSE,
-			 "orientation",DPANEL_ORIENTATION_VERTICAL,
+			 "stretch",FALSE,
+			 "move",TRUE,
+			 "orientation",DPANEL_ORIENTATION_LEFT,
 			  NULL);
 
   button   = gtk_button_new_with_label ("button 1");
   a_button = gtk_button_new_with_label ("button 2");
 
-  gtk_box_pack_start (GTK_BOX (DESKTOP_PANEL_WINDOW (window)->panel), button,TRUE,TRUE,0); 
-  gtk_box_pack_start (GTK_BOX (DESKTOP_PANEL_WINDOW (window)->panel), a_button,TRUE,TRUE,0); 
+  gtk_box_pack_start (GTK_BOX (HILDON_DESKTOP_WINDOW (window)->container), button,TRUE,TRUE,0); 
+  gtk_box_pack_start (GTK_BOX (HILDON_DESKTOP_WINDOW (window)->container), a_button,TRUE,TRUE,0); 
   
   gtk_widget_show_all (window);
 


More information about the maemo-commits mailing list