diff options
-rw-r--r-- | calendar/ChangeLog | 61 | ||||
-rw-r--r-- | calendar/doc/C/gnomecal.sgml | 4 | ||||
-rw-r--r-- | calendar/gnome-cal.c | 1 | ||||
-rw-r--r-- | calendar/gui/gnome-cal.c | 1 | ||||
-rw-r--r-- | macros/ChangeLog | 23 | ||||
-rw-r--r-- | widgets/misc/e-colors.c | 73 | ||||
-rw-r--r-- | widgets/misc/e-colors.h | 14 | ||||
-rw-r--r-- | widgets/misc/e-cursors.c | 32 | ||||
-rw-r--r-- | widgets/misc/e-cursors.h | 32 | ||||
-rw-r--r-- | widgets/misc/pixmaps/cursor_cross.xpm | 38 |
10 files changed, 65 insertions, 214 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 8387496f38..63d4d7d734 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,64 @@ +1999-04-27 Federico Mena Quintero <federico@nuclecu.unam.mx> + + * gnome-month-item.c (gnome_month_item_set_arg): Fixed cut&paste + bug for day fontsets. + +1999-05-26 Russell Steinthal <steintr@condor.penguinpowered.com> + + * gncal-todo.c main.c main.h prop.c: Added support for priorities + for todo items. Doesn't do much, but you can set them and sort by + them. (Use the properties box to enable them; should they be on + by default?) + +1999-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx> + + * main.c (parse_an_arg): Added missing break here. It was causing + core dumps when invoked with --userfile. + + * gnome-cal.c (gnome_calendar_set_view): Add some assertions here, + to pin point the bug reported on gnome-list. + + * calobj.c (load_recurrence): Make intervals always exist. a 0 + interval is wrong. + +1999-05-25 Federico Mena Quintero <federico@nuclecu.unam.mx> + + * year-view.c: Removed unused macro CALENDAR_HEIGHT. + +1999-05-25 Federico Mena Quintero <federico@nuclecu.unam.mx> + + * year-view.c (idle_handler): Set the canvas scroll region here, + not in size_allocate(). Also, use the correct width and height + based on the allocation and the precomputed minimum width/height + values. + + * gnome-cal.c (setup_widgets): Set the scrollbar policy of the + scrolled window. + + * main.c (setup_appbar): Use the correct type for the appbar. + + * gncal-day-view.c: Removed unused function switch_to_day(). + + * gncal-day-panel.c (calendar_day_selected): Removed unused variable. + +1999-05-25 Nat Friedman <nat@nat.org> + + * doc/C/gnomecal.sgml: Fixed a typo. + + * gnome-cal.c (setup_widgets): Added a scrolled window widget into + which the year view is placed. + + * year-view.c (CALENDAR_HEIGHT): The height of the total year view + inside the scrolled window. + (idle_handler): Set the height of the year view to + CALENDAR_HEIGHT. + (year_view_size_allocate): Set the scroll region of the year view + canvas to allocation->width, CALENDAR_HEIGHT. + +1999-04-25 Miguel de Icaza <miguel@nuclecu.unam.mx> + + * main.c (dump_todo): Add --todo flag to dump the todo contents. + 1999-07-19 Matt Martin <matt@abacusnet.net> * timeutil.c (time_from_isodate): Handle the 'Z' parameter to the diff --git a/calendar/doc/C/gnomecal.sgml b/calendar/doc/C/gnomecal.sgml index a286798600..f794ee4010 100644 --- a/calendar/doc/C/gnomecal.sgml +++ b/calendar/doc/C/gnomecal.sgml @@ -24,7 +24,7 @@ </author> </authorgroup> <copyright> - <year>1998, 1999</year> <holder>Miguel de Icaza</holder> + <year>1998, 1999</year> <holder>Miguel de Icaza, Dave Mason</holder> </copyright> <legalnotice> <para>This documentation is free software; you can redistribute @@ -470,4 +470,4 @@ </para> </sect1> </chapter> -</book>
\ No newline at end of file +</book> diff --git a/calendar/gnome-cal.c b/calendar/gnome-cal.c index 86900dd343..d0aabd388e 100644 --- a/calendar/gnome-cal.c +++ b/calendar/gnome-cal.c @@ -44,6 +44,7 @@ gnome_calendar_get_type (void) static void setup_widgets (GnomeCalendar *gcal) { + GtkWidget *sw; time_t now; now = time (NULL); diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index 86900dd343..d0aabd388e 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -44,6 +44,7 @@ gnome_calendar_get_type (void) static void setup_widgets (GnomeCalendar *gcal) { + GtkWidget *sw; time_t now; now = time (NULL); diff --git a/macros/ChangeLog b/macros/ChangeLog index b6d26da3d8..8f978ebc58 100644 --- a/macros/ChangeLog +++ b/macros/ChangeLog @@ -1,26 +1,3 @@ -1999-07-07 Tuomas J. Lukka <lukka@iki.fi> - * gnome-x-checks.m4: add a comment on how to get gtk-1.3 and - glib 1.3 from CVS - -1999-07-06 Tuomas J. Lukka <lukka@iki.fi> - - * gnome-x-checks.m4: forbid compiling with Gtk-1.3 for now. - gnome only works with 1.2 so far. - -1999-07-05 Raja R Harinath <harinath@cs.umn.edu> - - * gnome.m4: Make "extra library" message slightly easier to read. - -Sat Jun 26 01:47:53 1999 Tim Janik <timj@gtk.org> - - * compiler-flags.m4: give -Wunused to gcc instead of -Wno-unused. - -1999-06-11 Tuomas J. Lukka <lukka@iki.fi> - - * gnome-guile-checks.m4: Debian has qt_null in -lqthreads but - no main. Changed both checks for 'main' to qt_null. - I hope this is correct - it shouldn't break anything. - 1999-05-11 Raja R Harinath <harinath@cs.umn.edu> * Makefile.am (MACROS): Add `gnome-bonobo-check.m4'. diff --git a/widgets/misc/e-colors.c b/widgets/misc/e-colors.c deleted file mode 100644 index 3c8c3055fa..0000000000 --- a/widgets/misc/e-colors.c +++ /dev/null @@ -1,73 +0,0 @@ -/* - * color.c: Color allocation on the Gnumeric spreadsheet - * - * Author: - * Miguel de Icaza (miguel@kernel.org) - * - * We keep our own color context, as the color allocation might take place - * before any of our Canvases are realized. - */ -#include <config.h> -#include <gnome.h> -#include "color.h" - -static int color_inited; -static GdkColorContext *gnumeric_color_context; - -/* Public colors: shared by all of our items in Gnumeric */ -GdkColor gs_white, gs_black, gs_light_gray, gs_dark_gray, gs_red; - -int -color_alloc (gushort red, gushort green, gushort blue) -{ - int failed; - - if (!color_inited) - color_init (); - - return gdk_color_context_get_pixel (gnumeric_color_context, - red, green, blue, &failed); -} - -void -color_alloc_gdk (GdkColor *c) -{ - int failed; - - g_return_if_fail (c != NULL); - - c->pixel = gdk_color_context_get_pixel (gnumeric_color_context, c->red, c->green, c->blue, &failed); -} - -void -color_alloc_name (const char *name, GdkColor *c) -{ - int failed; - - g_return_if_fail (name != NULL); - g_return_if_fail (c != NULL); - - gdk_color_parse (name, c); - c->pixel = 0; - c->pixel = gdk_color_context_get_pixel (gnumeric_color_context, c->red, c->green, c->blue, &failed); -} - -void -color_init (void) -{ - GdkColormap *colormap = gtk_widget_get_default_colormap (); - - /* Initialize the color context */ - gnumeric_color_context = gdk_color_context_new ( - gtk_widget_get_default_visual (), colormap); - - /* Allocate the default colors */ - gdk_color_white (colormap, &gs_white); - gdk_color_black (colormap, &gs_black); - - color_alloc_name ("gray78", &gs_light_gray); - color_alloc_name ("gray20", &gs_dark_gray); - color_alloc_name ("red", &gs_red); - - color_inited = 1; -} diff --git a/widgets/misc/e-colors.h b/widgets/misc/e-colors.h deleted file mode 100644 index b2755a5c6a..0000000000 --- a/widgets/misc/e-colors.h +++ /dev/null @@ -1,14 +0,0 @@ -#ifndef GNUMERIC_COLOR_H -#define GNUMERIC_COLOR_H - -void color_init (void); - -/* Return the pixel value for the given red, green and blue */ -int color_alloc (gushort red, gushort green, gushort blue); -void color_alloc_name (const char *name, GdkColor *color); -void color_alloc_gdk (GdkColor *color); - -/* Colors used by any GnumericSheet item */ -extern GdkColor gs_white, gs_light_gray, gs_dark_gray, gs_black, gs_red; - -#endif /* GNUMERIC_COLOR_H */ diff --git a/widgets/misc/e-cursors.c b/widgets/misc/e-cursors.c deleted file mode 100644 index d38fe71d0c..0000000000 --- a/widgets/misc/e-cursors.c +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef GNUMERIC_CURSORS_H -#define GNUMERIC_CURSORS_H - -typedef struct { - GdkCursor *cursor; - int hot_x, hot_y; - char **xpm; -} GnumericCursorDef; - -#define GNUMERIC_CURSOR_FAT_CROSS 0 -#define GNUMERIC_CURSOR_THIN_CROSS 1 -#define GNUMERIC_CURSOR_ARROW 2 - -extern GnumericCursorDef gnumeric_cursors []; - -void cursors_init (void); -void cursors_shutdown (void); - -#define cursor_set(win,c) \ - do { \ - if (win) \ - gdk_window_set_cursor (win, gnumeric_cursors [c].cursor); \ -} while (0) - -#define cursor_set_widget(w,c) \ - do { \ - if (GTK_WIDGET (w)->window) \ - gdk_window_set_cursor (GTK_WIDGET (w)->window, gnumeric_cursors [c].cursor); \ -} while (0) - - -#endif /* GNUMERIC_CURSORS_H */ diff --git a/widgets/misc/e-cursors.h b/widgets/misc/e-cursors.h deleted file mode 100644 index d38fe71d0c..0000000000 --- a/widgets/misc/e-cursors.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef GNUMERIC_CURSORS_H -#define GNUMERIC_CURSORS_H - -typedef struct { - GdkCursor *cursor; - int hot_x, hot_y; - char **xpm; -} GnumericCursorDef; - -#define GNUMERIC_CURSOR_FAT_CROSS 0 -#define GNUMERIC_CURSOR_THIN_CROSS 1 -#define GNUMERIC_CURSOR_ARROW 2 - -extern GnumericCursorDef gnumeric_cursors []; - -void cursors_init (void); -void cursors_shutdown (void); - -#define cursor_set(win,c) \ - do { \ - if (win) \ - gdk_window_set_cursor (win, gnumeric_cursors [c].cursor); \ -} while (0) - -#define cursor_set_widget(w,c) \ - do { \ - if (GTK_WIDGET (w)->window) \ - gdk_window_set_cursor (GTK_WIDGET (w)->window, gnumeric_cursors [c].cursor); \ -} while (0) - - -#endif /* GNUMERIC_CURSORS_H */ diff --git a/widgets/misc/pixmaps/cursor_cross.xpm b/widgets/misc/pixmaps/cursor_cross.xpm deleted file mode 100644 index f00e57f78c..0000000000 --- a/widgets/misc/pixmaps/cursor_cross.xpm +++ /dev/null @@ -1,38 +0,0 @@ -/* XPM */ -static char * cursor_cross_xpm[] = { -"32 32 3 1", -" c None", -". c #000000", -"+ c #FFFFFF", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ....... ", -" .+++++.. ", -" .+++++.. ", -" .+++++.. ", -" .+++++.. ", -" ......+++++...... ", -" .+++++++++++++++.. ", -" .+++++++++++++++.. ", -" .+++++++++++++++.. ", -" .+++++++++++++++.. ", -" .+++++++++++++++.. ", -" ......+++++....... ", -" .+++++....... ", -" .+++++.. ", -" .+++++.. ", -" .+++++.. ", -" ........ ", -" ....... ", -" ", -" ", -" ", -" ", -" ", -" ", -" "}; |