[anjuta] debug-manager: Expand expression view in inspect/evaluate dialog, keep at least one expression



commit f2499caa9363c82cd707f53682510e7ad8347b9a
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Mon Mar 14 21:25:07 2011 +0100

    debug-manager: Expand expression view in inspect/evaluate dialog, keep at least one expression

 plugins/debug-manager/anjuta-debug-manager.ui |    2 ++
 plugins/debug-manager/debug_tree.c            |    4 ++++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/plugins/debug-manager/anjuta-debug-manager.ui b/plugins/debug-manager/anjuta-debug-manager.ui
index 08eaf11..6aeffb2 100644
--- a/plugins/debug-manager/anjuta-debug-manager.ui
+++ b/plugins/debug-manager/anjuta-debug-manager.ui
@@ -716,6 +716,8 @@
           </object>
           <packing>
             <property name="position">2</property>
+            <property name="expand">True</property>
+            <property name="fill">True</property>
           </packing>
         </child>
         <child internal-child="action_area">
diff --git a/plugins/debug-manager/debug_tree.c b/plugins/debug-manager/debug_tree.c
index 2b5bfd3..bf65156 100644
--- a/plugins/debug-manager/debug_tree.c
+++ b/plugins/debug-manager/debug_tree.c
@@ -692,6 +692,10 @@ on_debug_tree_variable_changed (GtkCellRendererText *cell,
 			var.expression = text;
 			debug_tree_add_watch (tree, &var, TRUE);
 		}
+		else
+		{
+			debug_tree_add_dummy (tree, NULL);
+		}
 	}
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]