anjuta r3428 - in trunk: . plugins/profiler
- From: naba svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r3428 - in trunk: . plugins/profiler
- Date: Sun, 6 Jan 2008 17:23:54 +0000 (GMT)
Author: naba
Date: Sun Jan 6 17:23:53 2008
New Revision: 3428
URL: http://svn.gnome.org/viewvc/anjuta?rev=3428&view=rev
Log:
* plugins/profiler/gprof-call-graph-view.c:
(gprof_call_graph_view_create_columns):
* plugins/profiler/gprof-flat-profile-view.c:
(gprof_flat_profile_view_create_columns):
* plugins/profiler/gprof-function-call-tree-view.c:
(gprof_function_call_tree_view_create_columns): Made all
of the columns resizable and reorderable.
Modified:
trunk/ChangeLog
trunk/plugins/profiler/gprof-call-graph-view.c
trunk/plugins/profiler/gprof-flat-profile-view.c
trunk/plugins/profiler/gprof-function-call-tree-view.c
Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog (original)
+++ trunk/ChangeLog Sun Jan 6 17:23:53 2008
@@ -1,3 +1,14 @@
+2008-01-06 Naba Kumar <naba kumar gnome org>
+
+ Patches from James Liggett:
+ * plugins/profiler/gprof-call-graph-view.c:
+ (gprof_call_graph_view_create_columns):
+ * plugins/profiler/gprof-flat-profile-view.c:
+ (gprof_flat_profile_view_create_columns):
+ * plugins/profiler/gprof-function-call-tree-view.c:
+ (gprof_function_call_tree_view_create_columns): Made all
+ of the columns resizable and reorderable.
+
2008-01-06 Johannes Schmid <jhs gnome org>
* libanjuta/anjuta-launcher.c: (anjuta_launcher_initialize),
@@ -19,7 +30,7 @@
Fixed #348854 â invisible cursor in certain themes
-2008-01-06 Naba Kumar <naba kumar gnome org>
+2008-01-06 Naba Kumar <naba gnome org>
* libanjuta/anjuta-preferences.c:
(anjuta_preferences_register_property_custom): Fixed a crash bug on
Modified: trunk/plugins/profiler/gprof-call-graph-view.c
==============================================================================
--- trunk/plugins/profiler/gprof-call-graph-view.c (original)
+++ trunk/plugins/profiler/gprof-call-graph-view.c Sun Jan 6 17:23:53 2008
@@ -288,6 +288,7 @@
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "stock-id",
FUNCTIONS_COL_RECURSIVE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
col = gtk_tree_view_column_new ();
gtk_tree_view_append_column (GTK_TREE_VIEW (called_list_view), col);
@@ -295,6 +296,8 @@
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "stock-id",
CALLED_COL_RECURSIVE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
+
col = gtk_tree_view_column_new ();
gtk_tree_view_append_column (GTK_TREE_VIEW (called_by_list_view), col);
@@ -302,6 +305,7 @@
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "stock-id",
CALLED_COL_RECURSIVE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
/* Function Name */
col = gtk_tree_view_column_new ();
@@ -311,6 +315,8 @@
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "text",
FUNCTIONS_COL_NAME);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
col = gtk_tree_view_column_new ();
gtk_tree_view_column_set_title (col, _("Function Name"));
@@ -319,6 +325,8 @@
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "text",
CALLED_COL_NAME);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
col = gtk_tree_view_column_new ();
gtk_tree_view_column_set_title (col, _("Function Name"));
@@ -327,6 +335,8 @@
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "text",
CALLED_COL_NAME);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
/* Time */
@@ -338,6 +348,8 @@
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "text",
FUNCTIONS_COL_TIME);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
/* Self */
col = gtk_tree_view_column_new ();
@@ -347,6 +359,8 @@
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "text",
FUNCTIONS_COL_SELF);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
col = gtk_tree_view_column_new ();
gtk_tree_view_column_set_title (col, _("Self"));
@@ -355,6 +369,8 @@
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "text",
CALLED_COL_SELF);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
col = gtk_tree_view_column_new ();
gtk_tree_view_column_set_title (col, _("Self"));
@@ -363,6 +379,8 @@
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "text",
CALLED_COL_SELF);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
/* Children */
col = gtk_tree_view_column_new ();
@@ -372,6 +390,8 @@
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "text",
FUNCTIONS_COL_CHILDREN);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
col = gtk_tree_view_column_new ();
gtk_tree_view_column_set_title (col, _("Children"));
@@ -380,6 +400,8 @@
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "text",
CALLED_COL_CHILDREN);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
col = gtk_tree_view_column_new ();
gtk_tree_view_column_set_title (col, _("Children"));
@@ -388,6 +410,8 @@
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "text",
CALLED_COL_CHILDREN);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
/* Calls */
col = gtk_tree_view_column_new ();
@@ -397,6 +421,8 @@
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "text",
FUNCTIONS_COL_CALLS);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
col = gtk_tree_view_column_new ();
gtk_tree_view_column_set_title (col, _("Calls"));
@@ -405,6 +431,8 @@
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "text",
CALLED_COL_CALLS);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
col = gtk_tree_view_column_new ();
gtk_tree_view_column_set_title (col, _("Calls"));
@@ -413,6 +441,8 @@
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "text",
CALLED_COL_CALLS);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
/* Model setup */
gtk_tree_view_set_model (GTK_TREE_VIEW (functions_list_view),
Modified: trunk/plugins/profiler/gprof-flat-profile-view.c
==============================================================================
--- trunk/plugins/profiler/gprof-flat-profile-view.c (original)
+++ trunk/plugins/profiler/gprof-flat-profile-view.c Sun Jan 6 17:23:53 2008
@@ -60,6 +60,8 @@
renderer = gtk_cell_renderer_text_new ();
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "text", COL_NAME);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
/* Function time percentage */
col = gtk_tree_view_column_new ();
@@ -68,7 +70,9 @@
renderer = gtk_cell_renderer_text_new ();
gtk_tree_view_column_pack_start (col, renderer, TRUE);
- gtk_tree_view_column_add_attribute (col, renderer, "text", COL_TIME_PERC);
+ gtk_tree_view_column_add_attribute (col, renderer, "text", COL_TIME_PERC);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
/* Cumulative seconds */
col = gtk_tree_view_column_new ();
@@ -77,7 +81,9 @@
renderer = gtk_cell_renderer_text_new ();
gtk_tree_view_column_pack_start (col, renderer, TRUE);
- gtk_tree_view_column_add_attribute (col, renderer, "text", COL_CUM_SEC);
+ gtk_tree_view_column_add_attribute (col, renderer, "text", COL_CUM_SEC);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
/* Self seconds */
col = gtk_tree_view_column_new ();
@@ -87,6 +93,8 @@
renderer = gtk_cell_renderer_text_new ();
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "text", COL_SELF_SEC);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
/* Calls */
col = gtk_tree_view_column_new ();
@@ -96,6 +104,8 @@
renderer = gtk_cell_renderer_text_new ();
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "text", COL_CALLS);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
/* Self ms/call */
col = gtk_tree_view_column_new ();
@@ -105,6 +115,8 @@
renderer = gtk_cell_renderer_text_new ();
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "text", COL_AVG_MS);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
/* Total ms/call */
col = gtk_tree_view_column_new ();
@@ -114,6 +126,8 @@
renderer = gtk_cell_renderer_text_new ();
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "text", COL_TOTAL_MS);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
/* Model setup */
gtk_tree_view_set_model (GTK_TREE_VIEW (list_view),
Modified: trunk/plugins/profiler/gprof-function-call-tree-view.c
==============================================================================
--- trunk/plugins/profiler/gprof-function-call-tree-view.c (original)
+++ trunk/plugins/profiler/gprof-function-call-tree-view.c Sun Jan 6 17:23:53 2008
@@ -64,6 +64,8 @@
renderer = gtk_cell_renderer_text_new ();
gtk_tree_view_column_pack_start (col, renderer, TRUE);
gtk_tree_view_column_add_attribute (col, renderer, "text", COL_NAME);
+ gtk_tree_view_column_set_resizable (col, TRUE);
+ gtk_tree_view_column_set_reorderable (col, TRUE);
/* Model setup */
gtk_tree_view_set_model (GTK_TREE_VIEW (tree_view),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]