SF.net SVN: geany:[3635] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Thu Mar 19 17:50:09 UTC 2009


Revision: 3635
          http://geany.svn.sourceforge.net/geany/?rev=3635&view=rev
Author:   eht16
Date:     2009-03-19 17:50:08 +0000 (Thu, 19 Mar 2009)

Log Message:
-----------
Fix wrong display of the filename in the tab bar menu for new files.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/notebook.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-03-19 17:49:52 UTC (rev 3634)
+++ trunk/ChangeLog	2009-03-19 17:50:08 UTC (rev 3635)
@@ -5,6 +5,8 @@
    'Set Includes and Arguments' dialog.
    Disable Compile/Run buttons/menu items when Compile/Run commands are
    set but empty.
+ * src/notebook.c:
+   Fix wrong display of the filename in the tab bar menu for new files.
 
 
 2009-03-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: trunk/src/notebook.c
===================================================================
--- trunk/src/notebook.c	2009-03-19 17:49:52 UTC (rev 3634)
+++ trunk/src/notebook.c	2009-03-19 17:50:08 UTC (rev 3635)
@@ -213,7 +213,7 @@
 		if (! DOC_VALID(doc))
 			continue;
 
-		base_name = g_path_get_basename(doc->file_name);
+		base_name = g_path_get_basename(DOC_FILENAME(doc));
 		menu_item = gtk_menu_item_new_with_label(base_name);
 		gtk_widget_show(menu_item);
 		gtk_container_add(GTK_CONTAINER(menu), menu_item);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list