Mercurial > gftp.yaz
changeset 44:9c0825c047e7
2002-10-30 Brian Masney <masneyb@gftp.org>
* src/gtk/gftp-gtk.c (CreateMenus) - no longer use depreciated
_gtk_accel_group_attach in GTK+ 2.0 port. Instead use
gtk_window_add_accel_group for both GTK+ ports
(from Nam SungHyun <namsh@kldp.org>)
author | masneyb |
---|---|
date | Wed, 30 Oct 2002 22:56:30 +0000 |
parents | 36e2868ce8b7 |
children | 311e29c40ed6 |
files | ChangeLog src/gtk/gftp-gtk.c |
diffstat | 2 files changed, 8 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Oct 30 22:34:15 2002 +0000 +++ b/ChangeLog Wed Oct 30 22:56:30 2002 +0000 @@ -1,3 +1,9 @@ +2002-10-30 Brian Masney <masneyb@gftp.org> + * src/gtk/gftp-gtk.c (CreateMenus) - no longer use depreciated + _gtk_accel_group_attach in GTK+ 2.0 port. Instead use + gtk_window_add_accel_group for both GTK+ ports + (from Nam SungHyun <namsh@kldp.org>) + 2002-10-30 Brian Masney <masneyb@gftp.org> * src/gtk/transfer.c (getdir_thread) - set use_jmp_environment to 0 instead of 1 @@ -109,7 +115,7 @@ * cvsclean - added this script - * *.[ch] - added $Id: ChangeLog,v 1.22 2002/10/30 22:34:14 masneyb Exp $ tags + * *.[ch] - added $Id: ChangeLog,v 1.23 2002/10/30 22:56:29 masneyb Exp $ tags * debian/* - updated files from Debian maintainer
--- a/src/gtk/gftp-gtk.c Wed Oct 30 22:34:15 2002 +0000 +++ b/src/gtk/gftp-gtk.c Wed Oct 30 22:56:30 2002 +0000 @@ -512,11 +512,7 @@ build_bookmarks_menu (); -#if GTK_MAJOR_VERSION == 1 && GTK_MINOR_VERSION == 2 - gtk_accel_group_attach (accel_group, GTK_OBJECT (parent)); -#else - _gtk_accel_group_attach (accel_group, G_OBJECT (parent)); -#endif + gtk_window_add_accel_group (GTK_WINDOW (parent), accel_group); tempwid = gtk_item_factory_get_widget (factory, menu_items[6].path); gtk_check_menu_item_set_state (GTK_CHECK_MENU_ITEM (tempwid), TRUE);