From bce1283eb5a7dce62ad3219ca57591de314da882 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Thu, 8 May 2003 14:02:35 +0000 Subject: fix button conversion problem 2003-05-07 JP Rosevear * gui/dialogs/task-page.glade: fix button conversion problem * gui/dialogs/task-details-page.c (task_details_page_fill_widgets): only free the percent if its non-null svn path=/trunk/; revision=21128 --- calendar/ChangeLog | 8 ++++++++ calendar/gui/dialogs/task-details-page.c | 3 ++- calendar/gui/dialogs/task-page.glade | 16 ---------------- 3 files changed, 10 insertions(+), 17 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index a51cd455de..b6e5296c95 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,11 @@ +2003-05-07 JP Rosevear + + * gui/dialogs/task-page.glade: fix button conversion problem + + * gui/dialogs/task-details-page.c + (task_details_page_fill_widgets): only free the percent if its + non-null + 2003-05-07 Rodrigo Moya * cal-client/cal-client.c (cal_client_discard_alarm): added missing diff --git a/calendar/gui/dialogs/task-details-page.c b/calendar/gui/dialogs/task-details-page.c index 9e6a870f4c..17524e2994 100644 --- a/calendar/gui/dialogs/task-details-page.c +++ b/calendar/gui/dialogs/task-details-page.c @@ -317,7 +317,8 @@ task_details_page_fill_widgets (CompEditorPage *page, CalComponent *comp) } e_dialog_option_menu_set (priv->status, status, status_map); - cal_component_free_percent (percent); + if (percent) + cal_component_free_percent (percent); /* Completed Date. */ cal_component_get_completed (comp, &completed); diff --git a/calendar/gui/dialogs/task-page.glade b/calendar/gui/dialogs/task-page.glade index 9ebda6eb82..02a8797b45 100644 --- a/calendar/gui/dialogs/task-page.glade +++ b/calendar/gui/dialogs/task-page.glade @@ -437,22 +437,6 @@ Ca_tegories... True GTK_RELIEF_NORMAL - - - - True - Ca_tegories... - True - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 4 - 0 - - 0 -- cgit