Index: src/planner-gantt-view.c
===================================================================
--- src/planner-gantt-view.c	(revision 898)
+++ src/planner-gantt-view.c	(working copy)
@@ -600,6 +600,7 @@
 				       * xgettext:no-c-format
 				       */
 				      COL_COMPLETE, _("% Complete"),
+							COL_PRIORITY, _("Priority"),
 				      -1);
 
 	priv->tree = tree;
Index: src/planner-task-tree.c
===================================================================
--- src/planner-task-tree.c	(revision 898)
+++ src/planner-task-tree.c	(working copy)
@@ -131,6 +131,11 @@
 							GtkTreeModel         *tree_model,
 							GtkTreeIter          *iter,
 							gpointer              data);
+static void        task_tree_priority_data_func        (GtkTreeViewColumn    *tree_column,
+              GtkCellRenderer      *cell,
+              GtkTreeModel         *tree_model,
+              GtkTreeIter          *iter,
+              gpointer              data);
 static void        task_tree_assigned_to_data_func     (GtkTreeViewColumn    *tree_column,
 							GtkCellRenderer      *cell,
 							GtkTreeModel         *tree_model,
@@ -1562,7 +1567,30 @@
 	g_free (str);
 }
 
+static void
+task_tree_priority_data_func (GtkTreeViewColumn *tree_column,
+        GtkCellRenderer   *cell,
+        GtkTreeModel      *tree_model,
+        GtkTreeIter       *iter,
+        gpointer           data)
+{
+  gchar  *str;
+  gint    priority;
 
+  gtk_tree_model_get (tree_model,
+          iter,
+          COL_PRIORITY, &priority,
+          -1);
+
+  str = planner_format_int (priority);
+
+  g_object_set (cell,
+          "text", str,
+          NULL);
+
+  g_free (str);
+}
+
 static void
 task_tree_assigned_to_data_func (GtkTreeViewColumn *tree_column,
 			  GtkCellRenderer   *cell,
@@ -1742,6 +1770,50 @@
 
 static void
 task_tree_complete_edited (GtkCellRendererText *cell,
+           gchar               *path_string,
+           gchar               *new_text,
+           gpointer             data)
+{
+  PlannerTaskTree     *tree = data;
+  GtkTreeView         *view = data;
+  GtkTreeModel        *model;
+  GtkTreePath         *path;
+  GtkTreeIter          iter;
+  MrpTask             *task;
+  GValue               value = { 0 };
+  gint         complete;
+
+  model = gtk_tree_view_get_model (view);
+  path = gtk_tree_path_new_from_string (path_string);
+  gtk_tree_model_get_iter (model, &iter, path);
+
+  gtk_tree_model_get (model, &iter,
+          COL_TASK, &task,
+          -1);
+
+  complete = atoi(new_text);
+
+  if (complete < 0)   complete = 0;
+  if (complete > 100) complete = 100;
+
+	if (mrp_task_get_percent_complete (MRP_TASK (task)) != complete) {
+    g_value_init (&value, G_TYPE_INT);
+    g_value_set_int (&value, complete);
+
+    task_cmd_edit_property (tree->priv->main_window,
+          PLANNER_TASK_TREE (view),
+          task,
+          "percent_complete",
+          &value);
+
+    g_value_unset (&value);
+  }
+
+  gtk_tree_path_free (path);
+}
+
+static void
+task_tree_priority_edited (GtkCellRendererText *cell,
 		       gchar               *path_string,
 		       gchar               *new_text,
 		       gpointer             data)
@@ -1753,7 +1825,7 @@
 	GtkTreeIter          iter;
 	MrpTask             *task;
 	GValue               value = { 0 };
-	gint		     complete;
+	gint		     priority;
 
 	model = gtk_tree_view_get_model (view);
 	path = gtk_tree_path_new_from_string (path_string);	
@@ -1763,19 +1835,16 @@
 			    COL_TASK, &task,
 			    -1);
 
-	complete = atoi(new_text);
+	priority = atoi(new_text);
 
-	if (complete < 0)   complete = 0;
-	if (complete > 100) complete = 100;
-
-	if (mrp_task_get_percent_complete (MRP_TASK (task)) != complete) {
+	if (mrp_task_get_priority (MRP_TASK (task)) != priority) {
 		g_value_init (&value, G_TYPE_INT);
-		g_value_set_int (&value, complete);
+		g_value_set_int (&value, priority);
 		
 		task_cmd_edit_property (tree->priv->main_window,
 					PLANNER_TASK_TREE (view),
 					task,
-					"percent_complete",
+					"priority",
 					&value);
 
 		g_value_unset (&value);
@@ -2544,6 +2613,32 @@
 
 		break;
 
+  case COL_PRIORITY:
+    cell = gtk_cell_renderer_text_new ();
+    g_object_set (cell, "editable", TRUE, NULL);
+
+    col = gtk_tree_view_column_new_with_attributes (title,
+                cell,
+                NULL);
+
+    gtk_tree_view_column_set_resizable (col, TRUE);
+    gtk_tree_view_column_set_min_width (col, 100);
+    gtk_tree_view_column_set_cell_data_func (col,
+               cell,
+               task_tree_priority_data_func,
+               GTK_TREE_VIEW (tree),
+               NULL);
+    g_object_set_data (G_OBJECT (col),
+           "data-func", task_tree_priority_data_func);
+    g_object_set_data (G_OBJECT (col), "id", "priority");
+
+    g_signal_connect (cell,
+          "edited",
+          G_CALLBACK (task_tree_priority_edited),
+          GTK_TREE_VIEW (tree));
+
+    break;
+
 	case COL_ASSIGNED_TO:
 		cell = gtk_cell_renderer_text_new ();
 		col = gtk_tree_view_column_new_with_attributes (title,
Index: src/planner-gantt-model.c
===================================================================
--- src/planner-gantt-model.c	(revision 898)
+++ src/planner-gantt-model.c	(working copy)
@@ -654,6 +654,8 @@
 		return G_TYPE_LONG;	
 	case COL_COMPLETE:
 		return G_TYPE_INT;
+  case COL_PRIORITY:
+    return G_TYPE_INT;
 	default:
 		return G_TYPE_INVALID;
 	}
@@ -898,6 +900,12 @@
 
 		break;
 
+  case COL_PRIORITY:
+    g_value_init (value, G_TYPE_INT);
+    g_value_set_int (value, mrp_task_get_priority (task));
+
+    break;
+
 	default:
 		g_warning ("Bad column %d requested", column);
 	}
Index: src/planner-gantt-model.h
===================================================================
--- src/planner-gantt-model.h	(revision 898)
+++ src/planner-gantt-model.h	(working copy)
@@ -61,6 +61,7 @@
 	COL_COST,
 	COL_ASSIGNED_TO,
 	COL_COMPLETE,
+	COL_PRIORITY,
 	NUM_COLS
 };
 
Index: src/planner-task-view.c
===================================================================
--- src/planner-task-view.c	(revision 898)
+++ src/planner-task-view.c	(working copy)
@@ -347,6 +347,7 @@
 						     * xgettext:no-c-format
 						     */
 						    COL_COMPLETE, _("% Complete"),
+								COL_PRIORITY, _("Priority"),
 						    -1);
 
 		g_object_unref (model);
