use gtk_label_new_with_mnemonic():

2002-11-29  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpwidgets.c (gimp_pixmap_button_new):
	use gtk_label_new_with_mnemonic():

	* plug-ins/common/uniteditor.c: Treeviewized and undeprecated.
	Removed all static variables. Cleanup.
This commit is contained in:
Michael Natterer
2002-11-29 13:57:30 +00:00
committed by Michael Natterer
parent 2ed7b029a5
commit 41c5ac54ce
3 changed files with 290 additions and 295 deletions

View File

@ -1347,7 +1347,8 @@ gimp_pixmap_button_new (gchar **xpm_data,
gtk_box_pack_start (GTK_BOX (hbox), pixmap, FALSE, FALSE, 4);
gtk_widget_show (pixmap);
label = gtk_label_new (text);
label = gtk_label_new_with_mnemonic (text);
gtk_label_set_mnemonic_widget (GTK_LABEL (label), button);
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 4);
gtk_widget_show (label);
}