[anjuta] debugger: hide breakpoints and watch window by default (bgo#616728)



commit 80a99cff3ebdf03c400c573d11742906200f5d65
Author: Johannes Schmid <jhs gnome org>
Date:   Sun Apr 25 12:35:38 2010 +0200

    debugger: hide breakpoints and watch window by default (bgo#616728)

 plugins/debug-manager/breakpoints.c |    5 ++++-
 plugins/debug-manager/watch.c       |    3 +++
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/plugins/debug-manager/breakpoints.c b/plugins/debug-manager/breakpoints.c
index 3203df6..0eb378e 100644
--- a/plugins/debug-manager/breakpoints.c
+++ b/plugins/debug-manager/breakpoints.c
@@ -1987,7 +1987,10 @@ create_breakpoint_gui(BreakpointsDBase *bd)
 							 "AnjutaDebuggerBreakpoints", _("Breakpoints"),
 							 ANJUTA_STOCK_BREAKPOINT_ENABLED, ANJUTA_SHELL_PLACEMENT_NONE,
 							 NULL);
-
+	anjuta_shell_hide_dockable_widget (ANJUTA_PLUGIN(bd->plugin)->shell,
+	                                   bd->window,
+	                                   NULL);
+	
 	/* Add popup menu */
 	g_signal_connect (bd->treeview, "button-press-event", G_CALLBACK (on_breakpoints_button_press), bd);  
 }
diff --git a/plugins/debug-manager/watch.c b/plugins/debug-manager/watch.c
index ac515f1..cc01644 100644
--- a/plugins/debug-manager/watch.c
+++ b/plugins/debug-manager/watch.c
@@ -535,6 +535,9 @@ expr_watch_new (AnjutaPlugin *plugin)
                              "AnjutaDebuggerWatch", _("Watches"),
                              "gdb-watch-icon", ANJUTA_SHELL_PLACEMENT_BOTTOM,
                               NULL);
+	anjuta_shell_hide_dockable_widget (ew->plugin->shell,
+	                                   ew->scrolledwindow,
+	                                   NULL);
 	
 	/* Connect to debugger */
 	g_signal_connect_swapped (ew->plugin, "program-started", G_CALLBACK (on_program_started), ew);



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