[dia] Align Connected: disabled with no selection
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] Align Connected: disabled with no selection
- Date: Thu, 2 Jun 2011 18:53:10 +0000 (UTC)
commit 316c1ac051178765b16e56da95d242272148b4a9
Author: Hans Breuer <hans breuer org>
Date: Thu Jun 2 16:17:00 2011 +0200
Align Connected: disabled with no selection
app/diagram.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/diagram.c b/app/diagram.c
index 4f050da..dc9811b 100644
--- a/app/diagram.c
+++ b/app/diagram.c
@@ -603,6 +603,8 @@ diagram_update_menu_sensitivity (Diagram *dia)
gtk_action_set_sensitive (action, !textedit_active && selected_count > 1);
if ((action = menus_get_action ("ObjectsAlignStacked")) != NULL)
gtk_action_set_sensitive (action, !textedit_active && selected_count > 1);
+ if ((action = menus_get_action ("ObjectsAlignConnected")) != NULL)
+ gtk_action_set_sensitive (action, !textedit_active && selected_count > 1);
/* Select menu */
if ((action = menus_get_action ("SelectAll")) != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]