[anjuta] git: Don't show the command bar if the Tasks button isn't active



commit 582b93f42b6a033e2497d8b3b265b065d02e8667
Author: James Liggett <jrliggett cox net>
Date:   Sun Aug 18 15:38:56 2013 -0700

    git: Don't show the command bar if the Tasks button isn't active

 plugins/git/plugin.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/git/plugin.c b/plugins/git/plugin.c
index 4a44096..6598bb8 100644
--- a/plugins/git/plugin.c
+++ b/plugins/git/plugin.c
@@ -833,7 +833,8 @@ git_activate_plugin (AnjutaPlugin *plugin)
        anjuta_dock_set_command_bar (ANJUTA_DOCK (git_plugin->dock), 
                                     ANJUTA_COMMAND_BAR (git_plugin->command_bar));
 
-       gtk_widget_show_all (git_plugin->box);
+       gtk_widget_show (git_plugin->box);
+       gtk_widget_show_all (scrolled_window);
        anjuta_shell_add_widget_custom (plugin->shell, git_plugin->box, "GitDock", 
                                                _("Git"), "git-plugin", 
                                        GTK_WIDGET (gtk_builder_get_object (builder, "grip_box")), 


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