diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-08-31 05:54:48 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-08-31 05:54:48 +0800 |
commit | 61ec555e80b3e208c09a81bb2f2df530d947d360 (patch) | |
tree | 2c3d3ef3c052f07d1b741ca00eedc697fedcc54d | |
parent | 151fb928c3191fbf37d34e0f35ff242587fbb307 (diff) | |
download | gsoc2013-evolution-61ec555e80b3e208c09a81bb2f2df530d947d360.tar gsoc2013-evolution-61ec555e80b3e208c09a81bb2f2df530d947d360.tar.gz gsoc2013-evolution-61ec555e80b3e208c09a81bb2f2df530d947d360.tar.bz2 gsoc2013-evolution-61ec555e80b3e208c09a81bb2f2df530d947d360.tar.lz gsoc2013-evolution-61ec555e80b3e208c09a81bb2f2df530d947d360.tar.xz gsoc2013-evolution-61ec555e80b3e208c09a81bb2f2df530d947d360.tar.zst gsoc2013-evolution-61ec555e80b3e208c09a81bb2f2df530d947d360.zip |
Ensure that the child's allocation height is >= 1.
2000-08-30 Federico Mena Quintero <federico@helixcode.com>
* widgets/e-paned/e-vpaned.c (e_vpaned_size_allocate): Ensure that
the child's allocation height is >= 1.
* widgets/e-paned/e-hpaned.c (e_hpaned_size_allocate): Ensure that
the child's allocation width is >= 1.
2000-08-30 Federico Mena Quintero <federico@helixcode.com>
* ChangeLog: Started a ChangeLog here.
svn path=/trunk/; revision=5123
-rw-r--r-- | NEWS | 12 | ||||
-rw-r--r-- | calendar/ChangeLog | 2 | ||||
-rw-r--r-- | calendar/gui/gnome-cal.h | 3 | ||||
-rw-r--r-- | widgets/ChangeLog | 11 | ||||
-rw-r--r-- | widgets/e-paned/e-hpaned.c | 11 | ||||
-rw-r--r-- | widgets/e-paned/e-vpaned.c | 11 |
6 files changed, 41 insertions, 9 deletions
@@ -1,3 +1,15 @@ +Version 0.5, "insert-code-name-here", insert-date-here +------------------------------------------------------ + +Calendar: + + - Uses only the new iCalendar standard internally; this means future + interoperability with new calendaring programs (JP, Federico). + + - New ultra-cool date range selector, aka little calendar (Damon). + + - Plenty of internal refactoring (JP, Damon, Federico). + Version 0.4, "Alewife", 2000-08-14 ---------------------------------- diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 839870da44..11254d2b8c 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,7 @@ 2000-08-30 Federico Mena Quintero <federico@helixcode.com> + * gui/gnome-cal.h (GnomeCal): Removed unused field event_editor. + * gui/e-day-view.c (e_day_view_key_press): Oops, set the dtstart/dtend on the component before adding it. (e_day_view_on_editing_stopped): No need to check for an UID. diff --git a/calendar/gui/gnome-cal.h b/calendar/gui/gnome-cal.h index b484caff1e..84d103f830 100644 --- a/calendar/gui/gnome-cal.h +++ b/calendar/gui/gnome-cal.h @@ -88,7 +88,8 @@ typedef struct { The "clicked" signal handlers just return when this is set. */ gboolean ignore_view_button_clicks; - void *event_editor; + /* The signal handler id for our GtkCalendar "day_selected" handler. */ + guint day_selected_id; /* Alarm ID for the midnight refresh function */ gpointer midnight_alarm_refresh_id; diff --git a/widgets/ChangeLog b/widgets/ChangeLog new file mode 100644 index 0000000000..8aa996141b --- /dev/null +++ b/widgets/ChangeLog @@ -0,0 +1,11 @@ +2000-08-30 Federico Mena Quintero <federico@helixcode.com> + + * widgets/e-paned/e-vpaned.c (e_vpaned_size_allocate): Ensure that + the child's allocation height is >= 1. + + * widgets/e-paned/e-hpaned.c (e_hpaned_size_allocate): Ensure that + the child's allocation width is >= 1. + +2000-08-30 Federico Mena Quintero <federico@helixcode.com> + + * ChangeLog: Started a ChangeLog here. diff --git a/widgets/e-paned/e-hpaned.c b/widgets/e-paned/e-hpaned.c index 933fc1c057..5f2e451447 100644 --- a/widgets/e-paned/e-hpaned.c +++ b/widgets/e-paned/e-hpaned.c @@ -225,15 +225,18 @@ e_hpaned_size_allocate (GtkWidget *widget, gdk_window_hide(paned->handle); } - child1_allocation.height = child2_allocation.height = MAX (1, (gint) allocation->height - border_width * 2); - child1_allocation.width = paned->child1_real_size; + child1_allocation.height = child2_allocation.height = MAX (1, ((int) allocation->height - + border_width * 2)); + child1_allocation.width = MAX (1, paned->child1_real_size); child1_allocation.x = border_width; child1_allocation.y = child2_allocation.y = border_width; if (handle_shown) - child2_allocation.x = child1_allocation.x + child1_allocation.width + paned->handle_width; + child2_allocation.x = (child1_allocation.x + (int) child1_allocation.width + + (int) paned->handle_width); else - child2_allocation.x = child1_allocation.x + child1_allocation.width; + child2_allocation.x = child1_allocation.x + (int) child1_allocation.width; + child2_allocation.width = MAX (1, (gint) allocation->width - child2_allocation.x - border_width); /* Now allocate the childen, making sure, when resizing not to diff --git a/widgets/e-paned/e-vpaned.c b/widgets/e-paned/e-vpaned.c index 705a36f331..c13ed2f549 100644 --- a/widgets/e-paned/e-vpaned.c +++ b/widgets/e-paned/e-vpaned.c @@ -224,15 +224,18 @@ e_vpaned_size_allocate (GtkWidget *widget, gdk_window_hide(paned->handle); } - child1_allocation.width = child2_allocation.width = MAX (1, (gint) allocation->width - border_width * 2); - child1_allocation.height = paned->child1_real_size; + child1_allocation.width = child2_allocation.width = MAX (1, ((int) allocation->width - + border_width * 2)); + child1_allocation.height = MAX (1, (int) paned->child1_real_size); child1_allocation.x = child2_allocation.x = border_width; child1_allocation.y = border_width; if (handle_shown) - child2_allocation.y = child1_allocation.y + child1_allocation.height + paned->handle_height; + child2_allocation.y = (child1_allocation.y + (int) child1_allocation.height + + (int) paned->handle_height); else - child2_allocation.y = child1_allocation.y + child1_allocation.height; + child2_allocation.y = child1_allocation.y + (int) child1_allocation.height; + child2_allocation.height = MAX(1, (gint) allocation->height - child2_allocation.y - border_width); /* Now allocate the childen, making sure, when resizing not to |