anjuta r4673 - in trunk: . plugins/build-basic-autotools plugins/cvs-plugin plugins/document-manager plugins/language-support-cpp-java plugins/message-view plugins/scintilla plugins/search plugins/sourceview plugins/subversion



Author: jhs
Date: Sun Feb  1 19:01:25 2009
New Revision: 4673
URL: http://svn.gnome.org/viewvc/anjuta?rev=4673&view=rev

Log:
2009-02-01  Johannes Schmid  <jhs gnome org>

	* plugins/build-basic-autotools/anjuta-build-basic-autotools-plugin
	.glade:
	* plugins/cvs-plugin/anjuta-cvs-plugin.glade:
	* plugins/document-manager/anjuta-document-manager.glade:
	* plugins/language-support-cpp-java/anjuta-language-cpp-java.glade:
	* plugins/message-view/anjuta-message-manager-plugin.glade:
	* plugins/scintilla/anjuta-editor-scintilla.glade:
	* plugins/search/anjuta-search.glade:
	* plugins/sourceview/anjuta-editor-sourceview.glade:
	
	Avoid GtkSpinButton adjustment warnings
	
	* plugins/subversion/subversion-ui-utils.c (check_input),
	(on_status_command_data_arrived):
	Fixed a regression from the previous status change

Modified:
   trunk/ChangeLog
   trunk/plugins/build-basic-autotools/anjuta-build-basic-autotools-plugin.glade
   trunk/plugins/cvs-plugin/anjuta-cvs-plugin.glade
   trunk/plugins/document-manager/anjuta-document-manager.glade
   trunk/plugins/language-support-cpp-java/anjuta-language-cpp-java.glade
   trunk/plugins/message-view/anjuta-message-manager-plugin.glade
   trunk/plugins/scintilla/anjuta-editor-scintilla.glade
   trunk/plugins/search/anjuta-search.glade
   trunk/plugins/sourceview/anjuta-editor-sourceview.glade
   trunk/plugins/subversion/subversion-ui-utils.c

Modified: trunk/plugins/build-basic-autotools/anjuta-build-basic-autotools-plugin.glade
==============================================================================
--- trunk/plugins/build-basic-autotools/anjuta-build-basic-autotools-plugin.glade	(original)
+++ trunk/plugins/build-basic-autotools/anjuta-build-basic-autotools-plugin.glade	Sun Feb  1 19:01:25 2009
@@ -185,7 +185,6 @@
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
                             <property name="xalign">1</property>
-                            <property name="adjustment">4 1 30 1 10 10</property>
                             <property name="snap_to_ticks">True</property>
                             <property name="numeric">True</property>
                             <property name="wrap">True</property>

Modified: trunk/plugins/cvs-plugin/anjuta-cvs-plugin.glade
==============================================================================
--- trunk/plugins/cvs-plugin/anjuta-cvs-plugin.glade	(original)
+++ trunk/plugins/cvs-plugin/anjuta-cvs-plugin.glade	Sun Feb  1 19:01:25 2009
@@ -101,7 +101,6 @@
                   <widget class="GtkSpinButton" id="preferences_spin:int:3:0:cvs.compression">
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
-                    <property name="adjustment">1 0 10 1 10 10</property>
                     <property name="climb_rate">1</property>
                     <property name="numeric">True</property>
                   </widget>

Modified: trunk/plugins/document-manager/anjuta-document-manager.glade
==============================================================================
--- trunk/plugins/document-manager/anjuta-document-manager.glade	(original)
+++ trunk/plugins/document-manager/anjuta-document-manager.glade	Sun Feb  1 19:01:25 2009
@@ -75,7 +75,6 @@
                           <widget class="GtkSpinButton" id="preferences_spin:int:10:0:autosave.timer">
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
-                            <property name="adjustment">10 1 1000 1 10 10</property>
                             <property name="climb_rate">1</property>
                             <property name="numeric">True</property>
                           </widget>
@@ -87,7 +86,6 @@
                         <child>
                           <widget class="GtkSpinButton" id="preferences_spin:int:10:0:save.session.timer">
                             <property name="can_focus">True</property>
-                            <property name="adjustment">10 0 1000 1 10 10</property>
                             <property name="climb_rate">1</property>
                             <property name="numeric">True</property>
                           </widget>

Modified: trunk/plugins/language-support-cpp-java/anjuta-language-cpp-java.glade
==============================================================================
--- trunk/plugins/language-support-cpp-java/anjuta-language-cpp-java.glade	(original)
+++ trunk/plugins/language-support-cpp-java/anjuta-language-cpp-java.glade	Sun Feb  1 19:01:25 2009
@@ -98,7 +98,6 @@
                               <widget class="GtkSpinButton" id="preferences_spin:int:0:1:language.cpp.indent.brace.size">
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
-                                <property name="adjustment">0 0 100 1 10 10</property>
                                 <property name="climb_rate">1</property>
                                 <property name="numeric">True</property>
                               </widget>
@@ -115,7 +114,6 @@
                               <widget class="GtkSpinButton" id="preferences_spin:int:4:1:language.cpp.indent.statement.size">
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
-                                <property name="adjustment">4 0 100 1 10 10</property>
                                 <property name="climb_rate">1</property>
                                 <property name="numeric">True</property>
                               </widget>
@@ -218,7 +216,6 @@
                           <widget class="GtkSpinButton" id="preferences_spin:int:10:0:language.cpp.code.completion.choices">
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
-                            <property name="adjustment">10 0 50 1 10 10</property>
                             <property name="climb_rate">1</property>
                             <property name="numeric">True</property>
                           </widget>

Modified: trunk/plugins/message-view/anjuta-message-manager-plugin.glade
==============================================================================
--- trunk/plugins/message-view/anjuta-message-manager-plugin.glade	(original)
+++ trunk/plugins/message-view/anjuta-message-manager-plugin.glade	Sun Feb  1 19:01:25 2009
@@ -40,7 +40,6 @@
                 <child>
                   <widget class="GtkSpinButton" id="preferences_spin:int:50:0:truncat.mesg.first">
                     <property name="can_focus">True</property>
-                    <property name="adjustment">50 1 1000 1 10 10</property>
                     <property name="climb_rate">1</property>
                     <property name="numeric">True</property>
                   </widget>
@@ -56,7 +55,6 @@
                 <child>
                   <widget class="GtkSpinButton" id="preferences_spin:int:50:0:truncat.mesg.last">
                     <property name="can_focus">True</property>
-                    <property name="adjustment">50 1 1000 1 10 10</property>
                     <property name="climb_rate">1</property>
                     <property name="numeric">True</property>
                   </widget>

Modified: trunk/plugins/scintilla/anjuta-editor-scintilla.glade
==============================================================================
--- trunk/plugins/scintilla/anjuta-editor-scintilla.glade	(original)
+++ trunk/plugins/scintilla/anjuta-editor-scintilla.glade	Sun Feb  1 19:01:25 2009
@@ -67,7 +67,6 @@
                               <widget class="GtkSpinButton" id="preferences_spin:int:3:0:autocompleteword.automatic">
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
-                                <property name="adjustment">3 0 50 1 10 10</property>
                                 <property name="climb_rate">1</property>
                                 <property name="numeric">True</property>
                               </widget>
@@ -387,7 +386,6 @@
                               <widget class="GtkSpinButton" id="preferences_spin:int:80:0:edge.column">
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
-                                <property name="adjustment">80 0 500 1 10 10</property>
                                 <property name="climb_rate">1</property>
                               </widget>
                               <packing>
@@ -400,7 +398,6 @@
                             <child>
                               <widget class="GtkSpinButton" id="preferences_spin:int:350:0:caret.period">
                                 <property name="can_focus">True</property>
-                                <property name="adjustment">212 100 10000 10 10 10</property>
                                 <property name="climb_rate">10</property>
                                 <property name="numeric">True</property>
                               </widget>
@@ -414,7 +411,6 @@
                             <child>
                               <widget class="GtkSpinButton" id="preferences_spin:int:2:0:caret.width">
                                 <property name="can_focus">True</property>
-                                <property name="adjustment">1 1 3 1 10 10</property>
                                 <property name="climb_rate">1</property>
                                 <property name="numeric">True</property>
                               </widget>
@@ -695,7 +691,6 @@
                       <widget class="GtkSpinButton" id="preferences_spin:int:4:1:indent.size">
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
-                        <property name="adjustment">4 1 100 1 10 10</property>
                         <property name="climb_rate">1</property>
                         <property name="numeric">True</property>
                       </widget>
@@ -712,7 +707,6 @@
                       <widget class="GtkSpinButton" id="preferences_spin:int:4:1:tabsize">
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
-                        <property name="adjustment">4 1 100 1 10 10</property>
                         <property name="climb_rate">1</property>
                         <property name="numeric">True</property>
                       </widget>
@@ -961,7 +955,6 @@
                   <widget class="GtkSpinButton" id="preferences_spin:int:1:0:print.linenumber.count">
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
-                    <property name="adjustment">1 0 1000 1 10 10</property>
                     <property name="climb_rate">1</property>
                     <property name="numeric">True</property>
                   </widget>

Modified: trunk/plugins/search/anjuta-search.glade
==============================================================================
--- trunk/plugins/search/anjuta-search.glade	(original)
+++ trunk/plugins/search/anjuta-search.glade	Sun Feb  1 19:01:25 2009
@@ -487,7 +487,6 @@
                                           <widget class="GtkSpinButton" id="actions.max">
                                             <property name="visible">True</property>
                                             <property name="can_focus">True</property>
-                                            <property name="adjustment">100 1 400 1 10 10</property>
                                             <property name="climb_rate">1</property>
                                           </widget>
                                           <packing>

Modified: trunk/plugins/sourceview/anjuta-editor-sourceview.glade
==============================================================================
--- trunk/plugins/sourceview/anjuta-editor-sourceview.glade	(original)
+++ trunk/plugins/sourceview/anjuta-editor-sourceview.glade	Sun Feb  1 19:01:25 2009
@@ -50,7 +50,6 @@
                           <widget class="GtkSpinButton" id="preferences_spin:int:4:1:indent.size">
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
-                            <property name="adjustment">4 1 100 1 10 10</property>
                             <property name="climb_rate">1</property>
                             <property name="numeric">True</property>
                           </widget>
@@ -67,7 +66,6 @@
                           <widget class="GtkSpinButton" id="preferences_spin:int:4:1:tabsize">
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
-                            <property name="adjustment">4 1 100 1 10 10</property>
                             <property name="climb_rate">1</property>
                             <property name="numeric">True</property>
                           </widget>
@@ -355,7 +353,6 @@
                                   <widget class="GtkSpinButton" id="preferences_spin:int:80:0:sourceview.rightmargin.position">
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
-                                    <property name="adjustment">80 0 200 1 10 10</property>
                                     <property name="climb_rate">1</property>
                                     <property name="numeric">True</property>
                                   </widget>

Modified: trunk/plugins/subversion/subversion-ui-utils.c
==============================================================================
--- trunk/plugins/subversion/subversion-ui-utils.c	(original)
+++ trunk/plugins/subversion/subversion-ui-utils.c	Sun Feb  1 19:01:25 2009
@@ -93,7 +93,7 @@
 										 GTK_DIALOG_DESTROY_WITH_PARENT,
 										 GTK_MESSAGE_WARNING,
 										 GTK_BUTTONS_OK,
-										 error_message);
+										 "%s", error_message);
 		
 		gtk_dialog_run (GTK_DIALOG (dialog));
 		gtk_widget_destroy (dialog);
@@ -240,10 +240,20 @@
 		status = g_queue_pop_head (status_queue);
 		path = svn_status_get_path (status);
 		
-		anjuta_vcs_status_tree_view_add (tree_view, path, 
-								  svn_status_get_vcs_status (status),
-								  FALSE);
-		
+		switch (svn_status_get_vcs_status(status)) 	 
+		{ 	 
+			case ANJUTA_VCS_STATUS_MODIFIED: 	 
+			case ANJUTA_VCS_STATUS_ADDED: 
+			case ANJUTA_VCS_STATUS_DELETED: 	 
+			case ANJUTA_VCS_STATUS_CONFLICTED: 	 
+			case ANJUTA_VCS_STATUS_MISSING:
+				anjuta_vcs_status_tree_view_add (tree_view, path, 
+												 svn_status_get_vcs_status (status),
+												 FALSE);
+				break;
+			default:
+				break;
+		}
 		svn_status_destroy (status);
 		g_free (path);
 	}



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