diff options
Diffstat (limited to 'calendar/gui/main.c')
-rw-r--r-- | calendar/gui/main.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/calendar/gui/main.c b/calendar/gui/main.c index 6d2a334163..ebb008927f 100644 --- a/calendar/gui/main.c +++ b/calendar/gui/main.c @@ -134,7 +134,10 @@ about_calendar_cmd (GtkWidget *widget, void *data) authors, _("The GNOME personal calendar and schedule manager."), NULL); + gnome_dialog_run_and_destroy (GNOME_DIALOG (about)); +#if 0 gtk_widget_show (about); +#endif } static void @@ -224,6 +227,12 @@ today_clicked (GtkWidget *widget, GnomeCalendar *gcal) } static void +goto_clicked (GtkWidget *widget, GnomeCalendar *gcal) +{ + goto_dialog (gcal); +} + +static void new_calendar_cmd (GtkWidget *widget, void *data) { new_calendar (full_name, NULL, NULL, NULL); @@ -375,6 +384,10 @@ static GnomeUIInfo gnome_toolbar [] = { { GNOME_APP_UI_ITEM, N_("Next"), N_("Go forward in time"), next_clicked, 0, 0, GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_FORWARD }, + GNOMEUIINFO_SEPARATOR, + + GNOMEUIINFO_ITEM_STOCK (N_("Go to"), N_("Go to a specific date"), goto_clicked, GNOME_STOCK_PIXMAP_STOP), + GNOMEUIINFO_END }; |