aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/minicard/e-minicard.c
diff options
context:
space:
mode:
authorChris Lahey <clahey@src.gnome.org>2000-01-21 08:35:45 +0800
committerChris Lahey <clahey@src.gnome.org>2000-01-21 08:35:45 +0800
commit07af9adcd6731f65e158d8807e85a19dab7bb736 (patch)
treed06237f56820a6c4bd8200be622559b101fa6a2f /addressbook/gui/minicard/e-minicard.c
parent73107b49d42b02754e6facd890c3ed16eebe0a47 (diff)
downloadgsoc2013-evolution-07af9adcd6731f65e158d8807e85a19dab7bb736.tar.gz
gsoc2013-evolution-07af9adcd6731f65e158d8807e85a19dab7bb736.tar.zst
gsoc2013-evolution-07af9adcd6731f65e158d8807e85a19dab7bb736.zip
Changed some line spacing.
* widgets/e-text-event-processor-types.h: Changed some line spacing. * widgets/test-reflow.c: Connected to the resize signal of the reflow. * widgets/e-minicard.c: Made width argument set function only update if width is different. * widgets/e-reflow.h, widgets/e-reflow.c: Added draggable column dividers. * addressbook/contact-editor/test-editor.c: Open two dialogs for more interesting testing. * addressbook/contact-editor/e-contact-editor.h, addressbook/contact-editor/e-contact-editor.c: Modified to use glade. Added menus to change which phone/address/email entries to view. Added images to the dialog. * addressbook/contact-editor/e-contact-editor-strings.h, addressbook/contact-editor/contact-editor.glade: Glade files for the contact editor dialog. * addressbook/contact-editor/Makefile.am: Added images and added glade stuff. * addressbook/contact-editor/arrow.png, addressbook/contact-editor/briefcase.png, addressbook/contact-editor/netfreebusy.png, addressbook/contact-editor/netmeeting.png: Image files for the contact editor dialog. svn path=/trunk/; revision=1599
Diffstat (limited to 'addressbook/gui/minicard/e-minicard.c')
-rw-r--r--addressbook/gui/minicard/e-minicard.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/addressbook/gui/minicard/e-minicard.c b/addressbook/gui/minicard/e-minicard.c
index bef929b36c..f656d98b40 100644
--- a/addressbook/gui/minicard/e-minicard.c
+++ b/addressbook/gui/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)