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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Oct 4 15:24:13 EEST 2007
Author: lucasr
Date: 2007-10-04 15:24:11 +0300 (Thu, 04 Oct 2007)
New Revision: 14319

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

	* src/hn-app-button.c, src/hd-switcher-menu-item.c: defined a default
	height for menu items and reduced x padding in order to bring more
	consistency to switcher area menu in relation to other tasknavigator
	menus. Fixes: NB#71584.


Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-10-04 12:13:41 UTC (rev 14318)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-10-04 12:24:11 UTC (rev 14319)
@@ -1,3 +1,10 @@
+2007-10-04  Lucas Rocha  <lucas.rocha at nokia.com>
+
+	* src/hn-app-button.c, src/hd-switcher-menu-item.c: defined a default
+	height for menu items and reduced x padding in order to bring more
+	consistency to switcher area menu in relation to other tasknavigator
+	menus. Fixes: NB#71584.
+
 2007-10-04  Johan Bilien  <johan.bilien at nokia.com>
 
 	* libhildonwm/hd-wm-window.c: the icons we should accept

Modified: projects/haf/trunk/hildon-desktop/src/hd-switcher-menu-item.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hd-switcher-menu-item.c	2007-10-04 12:13:41 UTC (rev 14318)
+++ projects/haf/trunk/hildon-desktop/src/hd-switcher-menu-item.c	2007-10-04 12:24:11 UTC (rev 14319)
@@ -338,7 +338,7 @@
   gtk_widget_show (hbox);
 
   priv->icon = gtk_image_new ();
-  gtk_box_pack_start (GTK_BOX (hbox), priv->icon, FALSE, FALSE, 10);
+  gtk_box_pack_start (GTK_BOX (hbox), priv->icon, FALSE, FALSE, 6);
   gtk_widget_show (priv->icon);
 
   vbox = gtk_vbox_new (FALSE, 0);

Modified: projects/haf/trunk/hildon-desktop/src/hn-app-button.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hn-app-button.c	2007-10-04 12:13:41 UTC (rev 14318)
+++ projects/haf/trunk/hildon-desktop/src/hn-app-button.c	2007-10-04 12:24:11 UTC (rev 14319)
@@ -431,6 +431,8 @@
     if (!active_item)
       active_item = menu_item;
 
+    gtk_widget_set_size_request (GTK_WIDGET (menu_item), -1, 66);
+    
     gtk_menu_shell_append (GTK_MENU_SHELL (menu), menu_item);
     gtk_widget_show (menu_item);
   }


More information about the maemo-commits mailing list