bug 12947 (minor)

Vidh <[email protected]> Sat, 20 Apr 2013 17:07:34 +0530
Newsgroups gmane.editors.abiword.devel
Message-ID <CA+K7uP188959foO2G1UavFgUCG_5Rvr3kyaVoW7GAA7vSTxpPQ@mail.gmail.com>
Hi,

I have been working on abiword for sometime now.
I tried to fix bug 12947 to try to understand the process of fixing a
bug in abiword community.

http://bugzilla.abisource.com/show_bug.cgi?id=12947

I have uploaded the fix in the link and attached it with this mail also.
I verified the patch for sanity on ubuntu 12.04.

Please let me know if there are issues/suggestions/comments.
thanks!
--
Vidhoon Viswanathan
+91 7760711773
fix_for_bug12947.patch (application/octet-stream, 522 B)
Index: af/xap/gtk/xap_UnixDlg_FileOpenSaveAs.cpp
===================================================================
--- af/xap/gtk/xap_UnixDlg_FileOpenSaveAs.cpp	(revision 32912)
+++ af/xap/gtk/xap_UnixDlg_FileOpenSaveAs.cpp	(working copy)
@@ -477,7 +477,7 @@
 	sFileName = sFileName.substr(0,i);
 	sFileName += sSuffix;
 	
-	gtk_file_chooser_set_current_name(m_FC, UT_basename(sFileName.c_str()));
+	gtk_file_chooser_set_current_name(m_FC, sFileName.c_str());
 }
 
 void XAP_UnixDialog_FileOpenSaveAs::onDeleteCancel()