aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-05-08 22:02:35 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-05-08 22:02:35 +0800
commitbce1283eb5a7dce62ad3219ca57591de314da882 (patch)
tree0947214bcaa44213c6dceaa0d86dbbedb72cfe8f
parent7c5e55ba41e736f76a599ff34edbcf03cc558432 (diff)
downloadgsoc2013-evolution-bce1283eb5a7dce62ad3219ca57591de314da882.tar
gsoc2013-evolution-bce1283eb5a7dce62ad3219ca57591de314da882.tar.gz
gsoc2013-evolution-bce1283eb5a7dce62ad3219ca57591de314da882.tar.bz2
gsoc2013-evolution-bce1283eb5a7dce62ad3219ca57591de314da882.tar.lz
gsoc2013-evolution-bce1283eb5a7dce62ad3219ca57591de314da882.tar.xz
gsoc2013-evolution-bce1283eb5a7dce62ad3219ca57591de314da882.tar.zst
gsoc2013-evolution-bce1283eb5a7dce62ad3219ca57591de314da882.zip
fix button conversion problem
2003-05-07 JP Rosevear <jpr@ximian.com> * 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
-rw-r--r--calendar/ChangeLog8
-rw-r--r--calendar/gui/dialogs/task-details-page.c3
-rw-r--r--calendar/gui/dialogs/task-page.glade16
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 <jpr@ximian.com>
+
+ * 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 <rodrigo@ximian.com>
* 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 @@
<property name="label" translatable="yes">Ca_tegories...</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
-
- <child>
- <widget class="GtkLabel" id="label17">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Ca_tegories...</property>
- <property name="use_underline">True</property>
- <property name="use_markup">False</property>
- <property name="justify">GTK_JUSTIFY_CENTER</property>
- <property name="wrap">False</property>
- <property name="selectable">False</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">4</property>
- <property name="ypad">0</property>
- </widget>
- </child>
</widget>
<packing>
<property name="padding">0</property>