Mercurial > pidgin.yaz
comparison src/gtkconv.c @ 5116:c081a81ee013
[gaim-migrate @ 5479]
Bjoern Voigt writes:
"I have prepared some updates and patches:
1) File i18n5-de.patch
- updated German translation
2) File i18n5.patch
- new files in po/POTFILES.in
- new strings marked for translation
3) File i18n5-accelgroup.patch
- keyboard accelerators for conversation window
4) File i18n5-gaim-remote.patch
- i18n support for gaim-remote.c
- correct handling of "--help" option"
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sat, 12 Apr 2003 23:31:41 +0000 |
parents | e245e686f62f |
children | 34a9f0d3fc83 |
comparison
equal
deleted
inserted
replaced
5115:5ec912df7a18 | 5116:c081a81ee013 |
---|---|
2554 | 2554 |
2555 static GtkWidget * | 2555 static GtkWidget * |
2556 setup_menubar(struct gaim_window *win) | 2556 setup_menubar(struct gaim_window *win) |
2557 { | 2557 { |
2558 struct gaim_gtk_window *gtkwin; | 2558 struct gaim_gtk_window *gtkwin; |
2559 GtkAccelGroup *accel_group; | |
2559 gtkwin = GAIM_GTK_WINDOW(win); | 2560 gtkwin = GAIM_GTK_WINDOW(win); |
2560 | 2561 |
2562 accel_group = gtk_accel_group_new (); | |
2563 gtk_window_add_accel_group (GTK_WINDOW (gtkwin->window), accel_group); | |
2564 g_object_unref (accel_group); | |
2565 | |
2561 gtkwin->menu.item_factory = gtk_item_factory_new(GTK_TYPE_MENU_BAR, | 2566 gtkwin->menu.item_factory = gtk_item_factory_new(GTK_TYPE_MENU_BAR, |
2562 "<main>", NULL); | 2567 "<main>", accel_group); |
2563 | 2568 |
2564 gtk_item_factory_set_translate_func (gtkwin->menu.item_factory, | 2569 gtk_item_factory_set_translate_func (gtkwin->menu.item_factory, |
2565 item_factory_translate_func, | 2570 item_factory_translate_func, |
2566 NULL, NULL); | 2571 NULL, NULL); |
2567 | 2572 |