[dia] Bug 629620 - [UML] disallow group editing of connection changing properties
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] Bug 629620 - [UML] disallow group editing of connection changing properties
- Date: Sun, 9 Jan 2011 19:02:30 +0000 (UTC)
commit bcd8c9cd393413180b59022cead44fabf826bf0e
Author: Hans Breuer <hans breuer org>
Date: Sun Jan 9 20:01:42 2011 +0100
Bug 629620 - [UML] disallow group editing of connection changing properties
Part of the validation logic of (i.e. disconnecting lines) is done in the UML
Class dialog's UI code (search for e.g. disconnected_connections). Thus it is
not executes on the code path used for multiple object changes.
Simple work-around: disallow group editing.
objects/UML/class.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/objects/UML/class.c b/objects/UML/class.c
index b8f998c..1be9896 100644
--- a/objects/UML/class.c
+++ b/objects/UML/class.c
@@ -152,13 +152,13 @@ static PropDescription umlclass_props[] = {
{ "template", PROP_TYPE_BOOL, PROP_FLAG_VISIBLE | PROP_FLAG_OPTIONAL | PROP_FLAG_NO_DEFAULTS,
N_("Template"), NULL, NULL },
- { "suppress_attributes", PROP_TYPE_BOOL, PROP_FLAG_VISIBLE | PROP_FLAG_OPTIONAL,
+ { "suppress_attributes", PROP_TYPE_BOOL, PROP_FLAG_VISIBLE | PROP_FLAG_OPTIONAL | PROP_FLAG_DONT_MERGE,
N_("Suppress Attributes"), NULL, NULL },
- { "suppress_operations", PROP_TYPE_BOOL, PROP_FLAG_VISIBLE | PROP_FLAG_OPTIONAL,
+ { "suppress_operations", PROP_TYPE_BOOL, PROP_FLAG_VISIBLE | PROP_FLAG_OPTIONAL | PROP_FLAG_DONT_MERGE,
N_("Suppress Operations"), NULL, NULL },
- { "visible_attributes", PROP_TYPE_BOOL, PROP_FLAG_VISIBLE | PROP_FLAG_OPTIONAL,
+ { "visible_attributes", PROP_TYPE_BOOL, PROP_FLAG_VISIBLE | PROP_FLAG_OPTIONAL | PROP_FLAG_DONT_MERGE,
N_("Visible Attributes"), NULL, NULL },
- { "visible_operations", PROP_TYPE_BOOL, PROP_FLAG_VISIBLE | PROP_FLAG_OPTIONAL,
+ { "visible_operations", PROP_TYPE_BOOL, PROP_FLAG_VISIBLE | PROP_FLAG_OPTIONAL | PROP_FLAG_DONT_MERGE,
N_("Visible Operations"), NULL, NULL },
{ "visible_comments", PROP_TYPE_BOOL, PROP_FLAG_VISIBLE | PROP_FLAG_OPTIONAL,
N_("Visible Comments"), NULL, NULL },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]