Esempio n. 1
0
static void
add_pane (AnjutaDockPane *pane, Git *plugin)
{
	anjuta_dock_replace_command_pane (ANJUTA_DOCK (plugin->dock), "Reset", 
	                                  _("Reset"), NULL, pane, GDL_DOCK_BOTTOM, 
	                                  NULL, 0, NULL);
}
Esempio n. 2
0
void
on_delete_branches_button_clicked (GtkAction *action, Git *plugin)
{
	AnjutaDockPane *delete_branches_pane;

	delete_branches_pane = git_delete_branches_pane_new (plugin);

	anjuta_dock_replace_command_pane (ANJUTA_DOCK (plugin->dock), "DeleteBranches",
	                                  "Delete Branches", NULL, delete_branches_pane,
	                                  GDL_DOCK_BOTTOM, NULL, 0, NULL);
}
Esempio n. 3
0
void
on_checkout_button_clicked (GtkAction *action, Git *plugin)
{
	AnjutaDockPane *checkout_pane;

	checkout_pane = git_checkout_pane_new (plugin);

	anjuta_dock_replace_command_pane (ANJUTA_DOCK (plugin->dock), "Checkout",
	                                  _("Check Out Files"), NULL, checkout_pane,
	                                  GDL_DOCK_BOTTOM, NULL, 0, NULL);
}
Esempio n. 4
0
void
on_remove_button_clicked (GtkAction *action, Git* plugin)
{
	AnjutaDockPane *pane;

	pane = git_remove_files_pane_new (plugin);

	anjuta_dock_replace_command_pane (ANJUTA_DOCK (plugin->dock), "RemoveFiles", 
	                                  _("Remove Files"), NULL, pane, GDL_DOCK_BOTTOM,
	                                  NULL, 0, NULL);
}
Esempio n. 5
0
void
on_stash_changes_button_clicked (GtkAction *action, Git *plugin)
{
	AnjutaDockPane *stash_changes_pane;

	stash_changes_pane = git_stash_changes_pane_new (plugin);

	anjuta_dock_replace_command_pane (ANJUTA_DOCK (plugin->dock), "StashChanges",
	                                  _("Stash Uncommitted Changes"), NULL, 
	                                  stash_changes_pane, GDL_DOCK_BOTTOM, NULL, 0, NULL);
}
Esempio n. 6
0
void
on_push_button_clicked (GtkAction *action, Git *plugin)
{
    AnjutaDockPane *pane;

    pane = git_push_pane_new (plugin);

    anjuta_dock_replace_command_pane (ANJUTA_DOCK (plugin->dock), "Push",
                                      _("Push"), NULL, pane, GDL_DOCK_BOTTOM,
                                      NULL, 0, NULL);
}