[maemo-commits] [maemo-commits] r8517 - in projects/haf/trunk/maemo-af-desktop: . hildon-navigator

From: www-data at stage.maemo.org www-data at stage.maemo.org
Date: Thu Nov 30 18:46:00 EET 2006
Author: moimart
Date: 2006-11-30 18:45:59 +0200 (Thu, 30 Nov 2006)
New Revision: 8517

Modified:
   projects/haf/trunk/maemo-af-desktop/ChangeLog
   projects/haf/trunk/maemo-af-desktop/hildon-navigator/hn-app-button.c
   projects/haf/trunk/maemo-af-desktop/hildon-navigator/hn-wm.c
Log:

	* hildon-navigator/hn-wm.c
        * hildon-navigator/hn-app-button.c:
        - Set the focus properly.
	* ChangeLog updated.



Modified: projects/haf/trunk/maemo-af-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/maemo-af-desktop/ChangeLog	2006-11-30 16:36:46 UTC (rev 8516)
+++ projects/haf/trunk/maemo-af-desktop/ChangeLog	2006-11-30 16:45:59 UTC (rev 8517)
@@ -1,3 +1,9 @@
+2006-11-30  Moises Martinez <moises.martinzes at nokia.com>
+
+	* hildon-navigator/hn-wm.c
+	* hildon-navigator/hn-app-button.c:
+	- Set the focus properly. 
+
 2006-11-30  Johan Bilien <johan.bilien at nokia.com>
 
 	* hildon-home/hildon-home-applet.c: unref the close button and

Modified: projects/haf/trunk/maemo-af-desktop/hildon-navigator/hn-app-button.c
===================================================================
--- projects/haf/trunk/maemo-af-desktop/hildon-navigator/hn-app-button.c	2006-11-30 16:36:46 UTC (rev 8516)
+++ projects/haf/trunk/maemo-af-desktop/hildon-navigator/hn-app-button.c	2006-11-30 16:45:59 UTC (rev 8517)
@@ -562,9 +562,9 @@
               gtk_toggle_button_set_active (app_button->priv->prev_button, TRUE);
               gtk_toggle_button_toggled (app_button->priv->prev_button);
             }
-
-		  hn_wm_activate(HN_TN_ACTIVATE_KEY_FOCUS);
-		  gtk_widget_grab_focus (GTK_WIDGET (app_button));
+	  
+	  gtk_widget_grab_focus (GTK_WIDGET (app_button));
+	  hn_wm_activate(HN_TN_ACTIVATE_KEY_FOCUS);
         }
       
       return TRUE;

Modified: projects/haf/trunk/maemo-af-desktop/hildon-navigator/hn-wm.c
===================================================================
--- projects/haf/trunk/maemo-af-desktop/hildon-navigator/hn-wm.c	2006-11-30 16:36:46 UTC (rev 8516)
+++ projects/haf/trunk/maemo-af-desktop/hildon-navigator/hn-wm.c	2006-11-30 16:45:59 UTC (rev 8517)
@@ -1284,7 +1284,6 @@
             g_signal_emit_by_name(button, "toggled");
         }
 	hnwm.has_focus = TRUE;
-        hn_window_set_focus (tasknav,TRUE);
     }
 }
 


More information about the maemo-commits mailing list