Commit 125ca071 authored by James Liggett's avatar James Liggett

IAnjutaVcs methods in the Subversion plugin now make use of the

* plugins/subversion/subversion-vcs-interface.c
(subversion_ivcs_diff), (subversion_ivcs_query_status):
IAnjutaVcs methods in the Subversion plugin now make use of the GCancellable 
parameter to cancel operations.

svn path=/trunk/; revision=4572
parent e63f3146
2009-01-11 James Liggett <jrliggett@cox.net>
* plugins/subversion/subversion-vcs-interface.c
(subversion_ivcs_diff), (subversion_ivcs_query_status):
IAnjutaVcs methods in the Subversion plugin now make use of the GCancellable
parameter to cancel operations.
2009-01-11 James Liggett <jrliggett@cox.net>
* plugins/subversion/svn-command.c (on_svn_cancel),
......@@ -118,6 +118,13 @@ subversion_ivcs_diff (IAnjutaVcs *obj, GFile* file,
G_CALLBACK (on_diff_command_data_arrived),
callback);
if (cancel)
{
g_signal_connect_swapped (G_OBJECT (cancel), "cancelled",
G_CALLBACK (anjuta_command_cancel),
diff_command);
}
if (notify)
{
g_signal_connect_swapped (G_OBJECT (diff_command), "finished",
......@@ -179,6 +186,13 @@ subversion_ivcs_query_status (IAnjutaVcs *obj, GFile *file,
G_CALLBACK (g_object_unref),
NULL);
if (cancel)
{
g_signal_connect_swapped (G_OBJECT (cancel), "cancelled",
G_CALLBACK (anjuta_command_cancel),
status_command);
}
if (notify)
{
g_signal_connect_swapped (G_OBJECT (status_command), "finished",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment