Commit a7dcd41c authored by Naba Kumar's avatar Naba Kumar

Fixed bug: when you right click on the tabs, a list of filenames are given

	* src/anjuta.c,
	  src/anjuta_cbs.c:

	  Fixed bug:
	  when you right click on the tabs, a list of filenames are given
	  out, but now it gives a list of "page 1", "page 2", etc...

	  Patch submitted by:
	  Jens Georg <mail@jensgeorg.de>
parent a46b338b
2002-01-18 Naba Kumar <kh_naba@users.sourceforge.net>
* src/anjuta.c,
src/anjuta_cbs.c:
Fixed bug:
when you right click on the tabs, a list of filenames are given
out, but now it gives a list of "page 1", "page 2", etc...
Patch submitted by:
Jens Georg <mail@jensgeorg.de>
attached the fix for the menu
2002-01-17 Naba Kumar <kh_naba@users.sourceforge.net>
* src/preferences.h,
......
......@@ -262,6 +262,9 @@ anjuta_append_text_editor (gchar * filename)
gtk_notebook_prepend_page (GTK_NOTEBOOK
(app->widgets.notebook), eventbox,
tab_widget);
gtk_notebook_set_menu_label_text(GTK_NOTEBOOK
(app->widgets.notebook), eventbox,
te->filename);
gtk_container_add (GTK_CONTAINER (eventbox),
te->widgets.client);
......
......@@ -307,6 +307,11 @@ on_save_as_overwrite_yes_clicked (GtkButton * button, gpointer user_data)
label = GTK_LABEL(te->widgets.tab_label);
gtk_label_set_text(GTK_LABEL(label), anjuta_get_notebook_text_editor
(page_num)->filename);
gtk_notebook_set_menu_label_text(GTK_NOTEBOOK(app->widgets.notebook),
child,
anjuta_get_notebook_text_editor
(page_num)->filename);
}
}
anjuta_update_title ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment