Fix wrong display of the filename in the tab bar menu for new files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3635 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
1ec2a9e323
commit
fe3ba59309
@ -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>
|
||||
|
@ -213,7 +213,7 @@ static GtkMenu *get_tab_bar_popup_menu(void)
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user