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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Sep 4 15:24:56 EEST 2007
Author: lucasr
Date: 2007-09-04 15:24:55 +0300 (Tue, 04 Sep 2007)
New Revision: 13576

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/src/hd-desktop.c
   projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c
Log:
2007-09-04  Lucas Rocha  <lucas.rocha at nokia.com>

	* src/hd-switcher-menu.c (hd_switcher_menu_clear_item_activated), 
	src/hd-desktop.c (hd_desktop_system_notifications_filter): fix 
	checking of notification category prefixes. Fixes: #NB65180.


Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-04 12:17:46 UTC (rev 13575)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-04 12:24:55 UTC (rev 13576)
@@ -1,5 +1,11 @@
 2007-09-04  Lucas Rocha  <lucas.rocha at nokia.com>
 
+	* src/hd-switcher-menu.c (hd_switcher_menu_clear_item_activated), 
+	src/hd-desktop.c (hd_desktop_system_notifications_filter): fix 
+	checking of notification category prefixes. Fixes: #NB65180.
+
+2007-09-04  Lucas Rocha  <lucas.rocha at nokia.com>
+
 	* src/hd-applications-menu.c (hd_applications_menu_button_toggled):
 	fix critical warning when popping down the window with no application
 	menu item is selected.

Modified: projects/haf/trunk/hildon-desktop/src/hd-desktop.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hd-desktop.c	2007-09-04 12:17:46 UTC (rev 13575)
+++ projects/haf/trunk/hildon-desktop/src/hd-desktop.c	2007-09-04 12:24:55 UTC (rev 13576)
@@ -1569,7 +1569,7 @@
   {
     return FALSE;
   }
-  else if (g_str_has_prefix (g_value_get_string (category), "system."))
+  else if (g_str_has_prefix (g_value_get_string (category), "system"))
   {
     return TRUE;
   } 

Modified: projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c	2007-09-04 12:17:46 UTC (rev 13575)
+++ projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c	2007-09-04 12:24:55 UTC (rev 13576)
@@ -1185,7 +1185,7 @@
       {	  
         category = g_value_get_string (hint);
 
-        if (g_str_has_prefix (category, "im."))
+        if (g_str_has_prefix (category, "im"))
         {
           need_confirmation = TRUE;
 	  break; 


More information about the maemo-commits mailing list