anjuta r4572 - in trunk: . plugins/subversion
- From: jrliggett svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4572 - in trunk: . plugins/subversion
- Date: Sun, 11 Jan 2009 08:32:57 +0000 (UTC)
Author: jrliggett
Date: Sun Jan 11 08:32:57 2009
New Revision: 4572
URL: http://svn.gnome.org/viewvc/anjuta?rev=4572&view=rev
Log:
* 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.
Modified:
trunk/ChangeLog
trunk/plugins/subversion/subversion-vcs-interface.c
Modified: trunk/plugins/subversion/subversion-vcs-interface.c
==============================================================================
--- trunk/plugins/subversion/subversion-vcs-interface.c (original)
+++ trunk/plugins/subversion/subversion-vcs-interface.c Sun Jan 11 08:32:57 2009
@@ -118,6 +118,13 @@
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 @@
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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]