gnome-main-menu r416 - trunk/main-menu/src
- From: federico svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-main-menu r416 - trunk/main-menu/src
- Date: Sat, 5 Apr 2008 00:40:58 +0100 (BST)
Author: federico
Date: Sat Apr 5 00:40:57 2008
New Revision: 416
URL: http://svn.gnome.org/viewvc/gnome-main-menu?rev=416&view=rev
Log:
Checkpoint tile_table_reload()
Signed-off-by: Federico Mena Quintero <federico gnu org>
Modified:
trunk/main-menu/src/tile-table.c
Modified: trunk/main-menu/src/tile-table.c
==============================================================================
--- trunk/main-menu/src/tile-table.c (original)
+++ trunk/main-menu/src/tile-table.c Sat Apr 5 00:40:57 2008
@@ -22,6 +22,7 @@
#include "tile.h"
#include "nameplate-tile.h"
+#include "libslab-utils.h"
G_DEFINE_TYPE (TileTable, tile_table, GTK_TYPE_TABLE)
@@ -135,11 +136,15 @@
}
}
+ libslab_checkpoint ("tile_table_reload(): created %d tiles", n_tiles);
+
for (node = priv->tiles; node; node = node->next)
gtk_widget_destroy (GTK_WIDGET (node->data));
g_list_free (priv->tiles);
+ libslab_checkpoint ("tile_table_reload(): destroyed old tiles");
+
priv->tiles = NULL;
icon_size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
@@ -164,6 +169,8 @@
g_list_free (tiles);
+ libslab_checkpoint ("tile_table_reload(): updating bins");
+
update_bins (this, priv->tiles);
g_object_notify (G_OBJECT (this), TILE_TABLE_TILES_PROP);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]