[maemo-commits] [maemo-commits] r10060 - in projects/haf/branches/hildon-control-panel/refactoring: . src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Tue Feb 20 16:29:45 EET 2007
- Previous message: [maemo-commits] r10059 - projects/haf/trunk
- Next message: [maemo-commits] r10061 - in projects/haf/trunk/hildon-desktop: background-manager src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: lucasr Date: 2007-02-20 16:29:45 +0200 (Tue, 20 Feb 2007) New Revision: 10060 Modified: projects/haf/branches/hildon-control-panel/refactoring/ChangeLog projects/haf/branches/hildon-control-panel/refactoring/src/hcp-grid.c Log: 2007-02-20 Lucas Rocha <lucas.rocha at nokia.com> * src/hcp-grid.c: cursor should follow selection. Small fix on column width. Modified: projects/haf/branches/hildon-control-panel/refactoring/ChangeLog =================================================================== --- projects/haf/branches/hildon-control-panel/refactoring/ChangeLog 2007-02-20 14:27:22 UTC (rev 10059) +++ projects/haf/branches/hildon-control-panel/refactoring/ChangeLog 2007-02-20 14:29:45 UTC (rev 10060) @@ -1,3 +1,8 @@ +2007-02-20 Lucas Rocha <lucas.rocha at nokia.com> + + * src/hcp-grid.c: cursor should follow selection. Small fix on column + width. + 2007-02-19 Johan Bilie <johan.bilien at nokia.com> * src/*.c: replaced include <hildon-widgets/*> with <hildon/*> Modified: projects/haf/branches/hildon-control-panel/refactoring/src/hcp-grid.c =================================================================== --- projects/haf/branches/hildon-control-panel/refactoring/src/hcp-grid.c 2007-02-20 14:27:22 UTC (rev 10059) +++ projects/haf/branches/hildon-control-panel/refactoring/src/hcp-grid.c 2007-02-20 14:29:45 UTC (rev 10060) @@ -197,6 +197,8 @@ y = item_pos / HCP_GRID_NUM_COLUMNS; last_row = ceil ((double) n_items / HCP_GRID_NUM_COLUMNS) - 1; + gtk_icon_view_set_cursor (GTK_ICON_VIEW (widget), path, NULL, FALSE); + if ((y == 0 || y == last_row) && !priv->focused_in) { priv->can_move_focus = FALSE; @@ -481,7 +483,7 @@ /* FIXME: This should not be hardcoded. It should be defined based on HCPAppView width. */ - gtk_icon_view_set_item_width (GTK_ICON_VIEW (grid), 330); + gtk_icon_view_set_item_width (GTK_ICON_VIEW (grid), 320); g_signal_connect (G_OBJECT (grid), "selection-changed", G_CALLBACK (hcp_grid_selection_changed),
- Previous message: [maemo-commits] r10059 - projects/haf/trunk
- Next message: [maemo-commits] r10061 - in projects/haf/trunk/hildon-desktop: background-manager src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]