diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-04-09 02:02:10 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-04-09 02:02:10 +0000 |
commit | a04ee2665156802da9a16f57b8168a473c315143 (patch) | |
tree | 46665db44338c9c7fd35c4389a100d9ca96ee100 /net-im | |
parent | Fix the checks when installing config files. (diff) |
Fix the accelerator keys (i.e. Ctl+Q, Ctl+I, etc.). This bug has been
filed with the GAIM authors as bug #717883:
https://sourceforge.net/tracker/?func=detail&atid=300235&aid=717883&group_id=235
Reported by: Kenneth W Cochran <kwc@TheWorld.com>
Notes
Notes:
svn path=/head/; revision=78641
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/gaim/Makefile | 2 | ||||
-rw-r--r-- | net-im/gaim/files/patch-src_buddy.c | 22 |
2 files changed, 23 insertions, 1 deletions
diff --git a/net-im/gaim/Makefile b/net-im/gaim/Makefile index ca79b5521af3..ccf6ae3b3b6b 100644 --- a/net-im/gaim/Makefile +++ b/net-im/gaim/Makefile @@ -6,7 +6,7 @@ PORTNAME= gaim PORTVERSION= 0.60 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES?= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/net-im/gaim/files/patch-src_buddy.c b/net-im/gaim/files/patch-src_buddy.c new file mode 100644 index 000000000000..82244ecaf7c4 --- /dev/null +++ b/net-im/gaim/files/patch-src_buddy.c @@ -0,0 +1,22 @@ +--- src/buddy.c.orig Tue Apr 8 19:09:42 2003 ++++ src/buddy.c Tue Apr 8 19:09:47 2003 +@@ -1132,6 +1132,7 @@ + GtkWidget *sw; + GtkWidget *button; + GtkSizeGroup *sg; ++ GtkAccelGroup *accel_group; + GtkTreeSelection *selection; + GtkTargetEntry gte[] = {{"GAIM_BLIST_NODE", GTK_TARGET_SAME_APP, DRAG_ROW}, + {"application/x-im-contact", 0, DRAG_BUDDY}}; +@@ -1156,7 +1157,10 @@ + gtk_widget_add_events(gtkblist->window, GDK_VISIBILITY_NOTIFY_MASK); + + /******************************* Menu bar *************************************/ +- ift = gtk_item_factory_new(GTK_TYPE_MENU_BAR, "<GaimMain>", NULL); ++ accel_group = gtk_accel_group_new(); ++ gtk_window_add_accel_group(GTK_WINDOW (gtkblist->window), accel_group); ++ g_object_unref(accel_group); ++ ift = gtk_item_factory_new(GTK_TYPE_MENU_BAR, "<GaimMain>", accel_group); + gtk_item_factory_set_translate_func (ift, + item_factory_translate_func, + NULL, NULL); |