[dia] Bug 732077 - Flowchart object are not resizable (by default)
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] Bug 732077 - Flowchart object are not resizable (by default)
- Date: Sun, 3 Aug 2014 13:38:19 +0000 (UTC)
commit e8d6b5c5d03e131cbed4587daf529758231a87e4
Author: Hans Breuer <hans breuer org>
Date: Mon Jun 23 20:44:47 2014 +0200
Bug 732077 - Flowchart object are not resizable (by default)
Change default back to the old default, only fit the text when needed.
objects/flowchart/box.c | 2 +-
objects/flowchart/diamond.c | 4 ++--
objects/flowchart/ellipse.c | 4 ++--
objects/flowchart/parallelogram.c | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/objects/flowchart/box.c b/objects/flowchart/box.c
index 5441d95..0478aed 100644
--- a/objects/flowchart/box.c
+++ b/objects/flowchart/box.c
@@ -557,7 +557,7 @@ box_create(Point *startpoint,
dia_font_unref(font);
/* new default: let the user decide the size */
- box->text_fitting = TEXTFIT_ALWAYS;
+ box->text_fitting = TEXTFIT_WHEN_NEEDED;
element_init(elem, 8, NUM_CONNECTIONS);
diff --git a/objects/flowchart/diamond.c b/objects/flowchart/diamond.c
index 47fc99e..9018150 100644
--- a/objects/flowchart/diamond.c
+++ b/objects/flowchart/diamond.c
@@ -525,8 +525,8 @@ diamond_create(Point *startpoint,
ALIGN_CENTER);
dia_font_unref(font);
- /* new default: let the user decide the size? */
- diamond->text_fitting = TEXTFIT_ALWAYS;
+ /* new default: let the user decide the size */
+ diamond->text_fitting = TEXTFIT_WHEN_NEEDED;
element_init(elem, 8, NUM_CONNECTIONS);
diff --git a/objects/flowchart/ellipse.c b/objects/flowchart/ellipse.c
index 5a312a9..e345159 100644
--- a/objects/flowchart/ellipse.c
+++ b/objects/flowchart/ellipse.c
@@ -498,8 +498,8 @@ ellipse_create(Point *startpoint,
ALIGN_CENTER);
dia_font_unref(font);
- /* new default: let the user decide the size? */
- ellipse->text_fitting = TEXTFIT_ALWAYS;
+ /* new default: let the user decide the size */
+ ellipse->text_fitting = TEXTFIT_WHEN_NEEDED;
element_init(elem, 8, NUM_CONNECTIONS);
diff --git a/objects/flowchart/parallelogram.c b/objects/flowchart/parallelogram.c
index 1a12922..1da7356 100644
--- a/objects/flowchart/parallelogram.c
+++ b/objects/flowchart/parallelogram.c
@@ -583,7 +583,7 @@ pgram_create(Point *startpoint,
dia_font_unref(font);
/* new default: let the user decide the size */
- pgram->text_fitting = TEXTFIT_ALWAYS;
+ pgram->text_fitting = TEXTFIT_WHEN_NEEDED;
element_init(elem, 8, NUM_CONNECTIONS);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]