diff options
author | Phil Blundell <philb@gnu.org> | 2004-11-27 22:50:15 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-11-27 22:50:15 +0000 |
commit | a75288e87ff6af1276289bd0ac26f4760db86051 (patch) | |
tree | 1db93bfabf0e86ed62da987ed205bb527a5b266a /gpe-calendar/gpe-calendar-0.55 | |
parent | 9f05fbe45ba6850c2941642f17b4b44f65a52a2f (diff) |
blow away some old versions of gpe-calendar
BKrev: 41a904a7reyx67g7uyPLoMYpaLE0ww
Diffstat (limited to 'gpe-calendar/gpe-calendar-0.55')
-rw-r--r-- | gpe-calendar/gpe-calendar-0.55/fix-multiple-new.patch | 41 | ||||
-rw-r--r-- | gpe-calendar/gpe-calendar-0.55/weekly-default.patch | 51 |
2 files changed, 0 insertions, 92 deletions
diff --git a/gpe-calendar/gpe-calendar-0.55/fix-multiple-new.patch b/gpe-calendar/gpe-calendar-0.55/fix-multiple-new.patch deleted file mode 100644 index 882d68da2a..0000000000 --- a/gpe-calendar/gpe-calendar-0.55/fix-multiple-new.patch +++ /dev/null @@ -1,41 +0,0 @@ -Index: main.c -=================================================================== -RCS file: /cvs/gpe/base/gpe-calendar/main.c,v -retrieving revision 1.90 -diff -b -B -u -r1.90 main.c ---- main.c 10 Aug 2004 10:40:31 -0000 1.90 -+++ main.c 18 Aug 2004 13:25:56 -0000 -@@ -49,6 +49,7 @@ - GList *times; - time_t viewtime; - gboolean force_today = FALSE; -+gboolean just_new = FALSE; - - GtkWidget *main_window, *pop_window; - GtkWidget *notebook; -@@ -172,10 +173,24 @@ - } while (w != NULL); - } - -+static gboolean -+do_reset_new(gpointer d) -+{ -+ just_new = FALSE; -+ return FALSE; -+} -+ - static void - new_appointment (void) - { -- GtkWidget *appt = new_event (viewtime, 0); -+ GtkWidget *appt; -+ -+ if (just_new) -+ return; -+ just_new = TRUE; -+ g_timeout_add(2000, do_reset_new, NULL); -+ -+ appt = new_event (viewtime, 0); - gtk_widget_show (appt); - } - diff --git a/gpe-calendar/gpe-calendar-0.55/weekly-default.patch b/gpe-calendar/gpe-calendar-0.55/weekly-default.patch deleted file mode 100644 index 844f6b9299..0000000000 --- a/gpe-calendar/gpe-calendar-0.55/weekly-default.patch +++ /dev/null @@ -1,51 +0,0 @@ -Index: event-ui.c -=================================================================== -RCS file: /cvs/gpe/base/gpe-calendar/event-ui.c,v -retrieving revision 1.107 -diff -u -r1.107 event-ui.c ---- event-ui.c 5 Aug 2004 15:52:07 -0000 1.107 -+++ event-ui.c 24 Aug 2004 17:18:26 -0000 -@@ -93,6 +93,7 @@ - g_free (p); - } - -+ - static void - recalculate_sensitivities (GtkWidget *widget, - GtkWidget *d) -@@ -182,6 +183,26 @@ - } - } - -+ -+static void -+weekly_toggled (GtkWidget *widget, -+ GtkWidget *d) -+{ -+ struct edit_state *s = g_object_get_data (G_OBJECT (d), "edit_state"); -+ if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget))) -+ { -+ if (!s->ev || !s->ev->recur || !s->ev->recur->daymask) -+ { -+ time_t t = time(NULL); -+ struct tm *lt = localtime(&t); -+ -+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (s->checkbuttonwday[(lt->tm_wday+6)%7]), TRUE); -+ } -+ } -+ recalculate_sensitivities(widget, d); -+} -+ -+ - static void - unschedule_alarm (event_t ev) - { -@@ -1061,7 +1082,7 @@ - g_signal_connect (G_OBJECT (radiobuttondaily), "toggled", - G_CALLBACK (recalculate_sensitivities), window); - g_signal_connect (G_OBJECT (radiobuttonweekly), "toggled", -- G_CALLBACK (recalculate_sensitivities), window); -+ G_CALLBACK (weekly_toggled), window); - g_signal_connect (G_OBJECT (radiobuttonmonthly), "toggled", - G_CALLBACK (recalculate_sensitivities), window); - g_signal_connect (G_OBJECT (radiobuttonyearly), "toggled", |