[gedit-list] GEDIT new_MDI patch.



Hi!
This is a patch for the new_MDI branch,
that fixes the, twice opening same file, and you
choose, making the file editable/uneditable.
Earlier donot-edit option allowed editing,
now this patch makes donot-edit option disallow
editing.

Cheers
Muthu.

--- /sources/gedit/gedit/gedit-tab.c	2005-06-10
20:13:37.000000000 +0530
+++ ./gedit-tab.c	2005-06-15 19:07:57.097406792 +0530
@@ -321,6 +321,9 @@
 		gtk_text_view_set_editable (view,
 					    TRUE);
 	}
+	else
+	  gtk_text_view_set_editable (view,
+				      FALSE);
 
 	gtk_widget_destroy (message_area);
 



		
____________________________________________________ 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com



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