X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=xgnokii%2Fxgnokii_calendar.c;fp=xgnokii%2Fxgnokii_calendar.c;h=6c64386575a37481780705fe296d520eafdaa6db;hp=c0741e27bc1774f258efbeb08bc0c55096cf1e62;hb=a2dfc99dc499ea8600bf5178f8122125d7d7d557;hpb=1fdb423c0a2e33c1282bec25de66d9f40d56999b diff --git a/xgnokii/xgnokii_calendar.c b/xgnokii/xgnokii_calendar.c index c0741e2..6c64386 100644 --- a/xgnokii/xgnokii_calendar.c +++ b/xgnokii/xgnokii_calendar.c @@ -3,14 +3,9 @@ X G N O K I I A Linux/Unix GUI for Nokia mobile phones. - Copyright (C) 1999 Pavel Janík ml., Hugh Blemings - & Ján Derfiòák . Released under the terms of the GNU GPL, see file COPYING for more details. - Last modification: Tue Nov 28 1999 - Modified by Jan Derfinak - */ #include @@ -117,7 +112,7 @@ static inline void CloseCalendar (GtkWidget *w, gpointer data) inline void GUI_ShowCalendar () { - if (phoneMonitor.supported & PM_CALENDAR) + if (GetModelFeature(FN_CALENDAR)!=0) gtk_widget_show (GUI_CalendarWindow); } @@ -1294,10 +1289,10 @@ static GtkItemFactoryEntry menu_items[] = { { NULL, NULL, NULL, 0, ""}, { NULL, "W", CloseCalendar, 0, NULL}, { NULL, NULL, NULL, 0, ""}, - { NULL, "N", NULL, 0, NULL}, - { NULL, "C", NULL, 0, NULL}, - { NULL, "M", NULL, 0, NULL}, - { NULL, "B", NULL, 0, NULL}, + { NULL, "N", AddReminder, 0, NULL}, + { NULL, "C", AddCall, 0, NULL}, + { NULL, "M", AddMeeting, 0, NULL}, + { NULL, "B", AddBirthday, 0, NULL}, { NULL, NULL, NULL, 0, NULL}, { NULL, "D", DeleteNote, 0, NULL}, { NULL, NULL, NULL, 0, ""},