anjuta r4504 - in trunk: . plugins/sourceview plugins/symbol-db



Author: jhs
Date: Tue Dec 30 21:02:37 2008
New Revision: 4504
URL: http://svn.gnome.org/viewvc/anjuta?rev=4504&view=rev

Log:
2008-12-30  Johannes Schmid <jhs gnome org>

	* plugins/sourceview/sourceview-io.c (sourceview_io_get_filename):
	Start new file count at 1 instead of 0
	* plugins/symbol-db/plugin.c (symbol_db_activate):
	Use ellipse middle instead of ellipse end (very cosmetic correction...)

Modified:
   trunk/ChangeLog
   trunk/plugins/sourceview/sourceview-io.c
   trunk/plugins/symbol-db/plugin.c

Modified: trunk/plugins/sourceview/sourceview-io.c
==============================================================================
--- trunk/plugins/sourceview/sourceview-io.c	(original)
+++ trunk/plugins/sourceview/sourceview-io.c	Tue Dec 30 21:02:37 2008
@@ -481,7 +481,7 @@
 gchar* 
 sourceview_io_get_filename (SourceviewIO* sio)
 {
-	static gint new_file_count = 0;
+	static gint new_file_count = 1;
 	if (sio->filename)
 		return g_strdup(sio->filename);	
 	else /* new file */

Modified: trunk/plugins/symbol-db/plugin.c
==============================================================================
--- trunk/plugins/symbol-db/plugin.c	(original)
+++ trunk/plugins/symbol-db/plugin.c	Tue Dec 30 21:02:37 2008
@@ -1996,12 +1996,12 @@
 	symbol_db->dbv_notebook = gtk_notebook_new();
 	symbol_db->progress_bar_project = gtk_progress_bar_new();
 	gtk_progress_bar_set_ellipsize (GTK_PROGRESS_BAR(symbol_db->progress_bar_project),
-									PANGO_ELLIPSIZE_END);
+									PANGO_ELLIPSIZE_MIDDLE);
 	g_object_ref (symbol_db->progress_bar_project);
 	
 	symbol_db->progress_bar_system = gtk_progress_bar_new();
 	gtk_progress_bar_set_ellipsize (GTK_PROGRESS_BAR(symbol_db->progress_bar_system),
-									PANGO_ELLIPSIZE_END);
+									PANGO_ELLIPSIZE_MIDDLE);
 	
 	g_object_ref (symbol_db->progress_bar_system);
 		



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