[maemo-commits] [maemo-commits] r12322 - in projects/haf/branches/hildon-control-panel/refactoring: . src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Jun 15 18:01:31 EEST 2007
- Previous message: [maemo-commits] r12321 - in projects/haf/trunk/hildon-desktop: . src
- Next message: [maemo-commits] r12323 - in projects/haf/branches/hildon-control-panel/refactoring: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: lucasr Date: 2007-06-15 18:01:29 +0300 (Fri, 15 Jun 2007) New Revision: 12322 Modified: projects/haf/branches/hildon-control-panel/refactoring/ChangeLog projects/haf/branches/hildon-control-panel/refactoring/src/hcp-grid.c Log: 2007-06-15 Lucas Rocha <lucas.rocha at nokia.com> * src/hcp-grid.c: correctly set the row height by taking in to account the pixbuf cell padding. Modified: projects/haf/branches/hildon-control-panel/refactoring/ChangeLog =================================================================== --- projects/haf/branches/hildon-control-panel/refactoring/ChangeLog 2007-06-15 14:52:30 UTC (rev 12321) +++ projects/haf/branches/hildon-control-panel/refactoring/ChangeLog 2007-06-15 15:01:29 UTC (rev 12322) @@ -1,3 +1,8 @@ +2007-06-15 Lucas Rocha <lucas.rocha at nokia.com> + + * src/hcp-grid.c: correctly set the row height by taking in to account + the pixbuf cell padding. + 2007-06-01 Lucas Rocha <lucas.rocha at nokia.com> * configure.ac: release 1.9.1 Modified: projects/haf/branches/hildon-control-panel/refactoring/src/hcp-grid.c =================================================================== --- projects/haf/branches/hildon-control-panel/refactoring/src/hcp-grid.c 2007-06-15 14:52:30 UTC (rev 12321) +++ projects/haf/branches/hildon-control-panel/refactoring/src/hcp-grid.c 2007-06-15 15:01:29 UTC (rev 12322) @@ -123,6 +123,8 @@ { priv->row_height = gdk_pixbuf_get_height (icon_pixbuf); } + + priv->row_height += 2 * HCP_GRID_Y_PADDING; } gtk_list_store_set (GTK_LIST_STORE (model), iter, @@ -449,8 +451,6 @@ { req->height = num_rows * priv->row_height; } - - req->height += HCP_GRID_Y_PADDING * 4; } static void
- Previous message: [maemo-commits] r12321 - in projects/haf/trunk/hildon-desktop: . src
- Next message: [maemo-commits] r12323 - in projects/haf/branches/hildon-control-panel/refactoring: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]