gtranslator r3766 - trunk/src



Author: icq
Date: Mon Sep 22 09:47:28 2008
New Revision: 3766
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3766&view=rev

Log:
	* window.c:
	(set_window_title):
	Fixed problem when sets the title window when tab
	number drecreases to one.

	Applied patch by Baris Cicek (bug #551068)

Modified:
   trunk/src/ChangeLog
   trunk/src/window.c

Modified: trunk/src/window.c
==============================================================================
--- trunk/src/window.c	(original)
+++ trunk/src/window.c	Mon Sep 22 09:47:28 2008
@@ -828,7 +828,7 @@
 	
 	if (with_path)
 	{
-		po = gtranslator_tab_get_po (GTR_TAB (tab));
+		po = gtranslator_tab_get_po (GTR_TAB (gtranslator_window_get_active_tab (window)));
 		file = gtranslator_po_get_location (po);
 		
 		/*



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