anjuta r4939 - in trunk: . libanjuta



Author: jrliggett
Date: Sun Apr 12 02:37:17 2009
New Revision: 4939
URL: http://svn.gnome.org/viewvc/anjuta?rev=4939&view=rev

Log:
	* libanjuta/anjuta-glade.xml:
	* libanjuta/anjuta-vcs-status-tree-view.c
	(anjuta_vcs_status_tree_view_add):
	Support Up to date, Locked, and Ignored VCS status codes in 
	AnjutaVcsStatusTreeView.


Modified:
   trunk/ChangeLog
   trunk/libanjuta/anjuta-glade.xml
   trunk/libanjuta/anjuta-vcs-status-tree-view.c

Modified: trunk/libanjuta/anjuta-glade.xml
==============================================================================
--- trunk/libanjuta/anjuta-glade.xml	(original)
+++ trunk/libanjuta/anjuta-glade.xml	Sun Apr 12 02:37:17 2009
@@ -15,8 +15,11 @@
 						<value id="ANJUTA_VCS_STATUS_ADDED" name="Added" />
 						<value id="ANJUTA_VCS_STATUS_DELETED" name="Deleted" />
 						<value id="ANJUTA_VCS_STATUS_CONFLICTED" name="Conflicted" />
+						<value id="ANJUTA_VCS_STATUS_UPTODATE" name="Up to date" />
+						<value id="ANJUTA_VCS_STATUS_LOCKED" name="Locked" />
 						<value id="ANJUTA_VCS_STATUS_MISSING" name="Missing" />
 						<value id="ANJUTA_VCS_STATUS_UNVERSIONED" name="Unversioned" />
+						<value id="ANJUTA_VCS_STATUS_IGNORED" name="Ignored" />
 					</displayable-values>
 				</property>
 			</properties>

Modified: trunk/libanjuta/anjuta-vcs-status-tree-view.c
==============================================================================
--- trunk/libanjuta/anjuta-vcs-status-tree-view.c	(original)
+++ trunk/libanjuta/anjuta-vcs-status-tree-view.c	Sun Apr 12 02:37:17 2009
@@ -303,6 +303,14 @@
 				gtk_list_store_set (self->priv->store, &iter, COL_STATUS, 
 									_("Conflicted"), -1);
 				break;
+			case ANJUTA_VCS_STATUS_UPTODATE:
+				gtk_list_store_set (self->priv->store, &iter, COL_STATUS,
+				                    _("Up to date"), -1);
+				break;
+			case ANJUTA_VCS_STATUS_LOCKED:
+				gtk_list_store_set (self->priv->store, &iter, COL_STATUS,
+				                    _("Locked"), -1);
+				break;	
 			case ANJUTA_VCS_STATUS_MISSING:
 				gtk_list_store_set (self->priv->store, &iter, COL_STATUS, 
 									_("Missing"), -1);
@@ -311,6 +319,10 @@
 				gtk_list_store_set (self->priv->store, &iter, COL_STATUS, 
 									_("Unversioned"), -1);
 				break;
+			case ANJUTA_VCS_STATUS_IGNORED:
+				gtk_list_store_set (self->priv->store, &iter, COL_STATUS,
+				                    _("Ignored"), -1);
+				break;
 			case ANJUTA_VCS_STATUS_NONE:
 			default:
 				break;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]