aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-minicard/e-minicard.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-minicard/e-minicard.c')
-rw-r--r--widgets/e-minicard/e-minicard.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/widgets/e-minicard/e-minicard.c b/widgets/e-minicard/e-minicard.c
index bef929b36c..f656d98b40 100644
--- a/widgets/e-minicard/e-minicard.c
+++ b/widgets/e-minicard/e-minicard.c
@@ -141,9 +141,11 @@ e_minicard_set_arg (GtkObject *o, GtkArg *arg, guint arg_id)
switch (arg_id){
case ARG_WIDTH:
- e_minicard->width = GTK_VALUE_DOUBLE (*arg);
- _update_card(e_minicard);
- gnome_canvas_item_request_update (item);
+ if (e_minicard->width != GTK_VALUE_DOUBLE (*arg)) {
+ e_minicard->width = GTK_VALUE_DOUBLE (*arg);
+ _update_card(e_minicard);
+ gnome_canvas_item_request_update (item);
+ }
break;
case ARG_HAS_FOCUS:
if (e_minicard->fields)