23 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
24 |
|
|
25 |
Copyright (C) 1999 Pavel Janík ml., Hugh Blemings |
Copyright (C) 1999 Pavel Janík ml., Hugh Blemings |
26 |
Copyright (C) 1999-2002 Ján Derfiňák <ja@mail.upjs.sk>. |
Copyright (C) 1999-2005 Jan Derfinak |
27 |
Copyright (C) 2001-2002 Pawel Kot |
Copyright (C) 2001-2002 Pawel Kot |
28 |
Copyright (C) 2002 BORBELY Zoltan, Markus Plail |
Copyright (C) 2002 BORBELY Zoltan, Markus Plail |
29 |
|
|
1565 |
|
|
1566 |
gtk_item_factory_create_items(item_factory, nmenu_items, menu_items, NULL); |
gtk_item_factory_create_items(item_factory, nmenu_items, menu_items, NULL); |
1567 |
|
|
1568 |
gtk_accel_group_attach(accel_group, GTK_OBJECT(GUI_CalendarWindow)); |
gtk_window_add_accel_group (GTK_WINDOW(GUI_CalendarWindow), accel_group); |
1569 |
|
|
1570 |
/* Finally, return the actual menu bar created by the item factory. */ |
/* Finally, return the actual menu bar created by the item factory. */ |
1571 |
menubar = gtk_item_factory_get_widget(item_factory, "<main>"); |
menubar = gtk_item_factory_get_widget(item_factory, "<main>"); |
1572 |
|
|
1579 |
gtk_widget_show(menubar); |
gtk_widget_show(menubar); |
1580 |
|
|
1581 |
/* Create the toolbar */ |
/* Create the toolbar */ |
1582 |
toolbar = gtk_toolbar_new(GTK_ORIENTATION_HORIZONTAL, GTK_TOOLBAR_ICONS); |
toolbar = gtk_toolbar_new(); |
1583 |
gtk_toolbar_set_button_relief(GTK_TOOLBAR(toolbar), GTK_RELIEF_NORMAL); |
gtk_toolbar_set_style(GTK_TOOLBAR(toolbar), GTK_TOOLBAR_ICONS); |
1584 |
|
gtk_toolbar_set_orientation(GTK_TOOLBAR(toolbar), GTK_ORIENTATION_HORIZONTAL); |
1585 |
|
|
1586 |
gtk_toolbar_append_item(GTK_TOOLBAR(toolbar), NULL, _("Read from phone"), NULL, |
gtk_toolbar_append_item(GTK_TOOLBAR(toolbar), NULL, _("Read from phone"), NULL, |
1587 |
NewPixmap(Read_xpm, GUI_CalendarWindow->window, |
NewPixmap(Read_xpm, GUI_CalendarWindow->window, |