diff options
-rw-r--r-- | net-im/gaim/Makefile | 2 | ||||
-rw-r--r-- | net-im/gaim/files/patch-src_buddy.c | 22 | ||||
-rw-r--r-- | net/gaim/Makefile | 2 | ||||
-rw-r--r-- | net/gaim/files/patch-src_buddy.c | 22 |
4 files changed, 46 insertions, 2 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); diff --git a/net/gaim/Makefile b/net/gaim/Makefile index ca79b5521af3..ccf6ae3b3b6b 100644 --- a/net/gaim/Makefile +++ b/net/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/gaim/files/patch-src_buddy.c b/net/gaim/files/patch-src_buddy.c new file mode 100644 index 000000000000..82244ecaf7c4 --- /dev/null +++ b/net/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); |