[maemo-commits] [maemo-commits] r10573 - in projects/haf/trunk/hildon-desktop: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Mar 14 10:38:22 EET 2007
Author: lucasr
Date: 2007-03-14 10:38:21 +0200 (Wed, 14 Mar 2007)
New Revision: 10573

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/src/hd-desktop.c
   projects/haf/trunk/hildon-desktop/src/hn-others-button.c
Log:
2007-03-14  Lucas Rocha  <lucas.rocha at nokia.com>

	* src/hd-desktop.c: activate the "stretch" property for panel
	containers.
	* src/hn-others-button.c: replace some error with warnings as they are
	not critical errors.



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-03-14 08:25:29 UTC (rev 10572)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-03-14 08:38:21 UTC (rev 10573)
@@ -1,3 +1,10 @@
+2007-03-14  Lucas Rocha  <lucas.rocha at nokia.com>
+
+	* src/hd-desktop.c: activate the "stretch" property for panel
+	containers.
+	* src/hn-others-button.c: replace some error with warnings as they are
+	not critical errors.
+
 2007-03-09  Lucas Rocha  <lucas.rocha at nokia.com>
 
 	* src/hd-desktop.c: fix small bug when saving the container configuration 

Modified: projects/haf/trunk/hildon-desktop/src/hd-desktop.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hd-desktop.c	2007-03-14 08:25:29 UTC (rev 10572)
+++ projects/haf/trunk/hildon-desktop/src/hd-desktop.c	2007-03-14 08:38:21 UTC (rev 10573)
@@ -806,6 +806,7 @@
                                         "width", width,
                                         "height", height,
                                         "orientation", orientation,
+                                        "stretch", TRUE,
                                          NULL);
       }
       else if (!g_ascii_strcasecmp (type, HD_CONTAINER_TYPE_PANEL_EXPANDABLE))

Modified: projects/haf/trunk/hildon-desktop/src/hn-others-button.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hn-others-button.c	2007-03-14 08:25:29 UTC (rev 10572)
+++ projects/haf/trunk/hildon-desktop/src/hn-others-button.c	2007-03-14 08:38:21 UTC (rev 10573)
@@ -302,7 +302,7 @@
     }
     
     exec_field = g_object_get_data (G_OBJECT (item),
-    			              DESKTOP_ENTRY_EXEC_FIELD);
+    			            DESKTOP_ENTRY_EXEC_FIELD);
 
     if(exec_field)
     {
@@ -359,9 +359,8 @@
       
       if (error)
       {
-        g_error ("Others_menu_activate_item: failed to execute %s: %s.",
-                  exec_field, 
-      	    error->message);
+        g_warning ("Others_menu_activate_item: failed to execute %s: %s.",
+                   exec_field, error->message);
     
         g_clear_error (&error);
       }
@@ -386,9 +385,9 @@
        * have a path to the executable so it would be
        * quite difficult to launch the app.
        */
-      g_error ("hn_others_menu_activate_item: "
-               "both service name and binary path missing. "
-               "Unable to launch.");
+      g_warning ("hn_others_menu_activate_item: "
+                 "both service name and binary path missing. "
+                 "Unable to launch.");
     }
   }
   
@@ -1061,8 +1060,8 @@
     }
     else
     {
-      g_error ("Others_menu_initialize_menu: "
-    	       "failed to create directory '%s'", dir);
+      g_warning ("Others_menu_initialize_menu: "
+    	         "failed to create directory '%s'", dir);
     }
 
     g_free (dir);


More information about the maemo-commits mailing list