gnome-packagekit r78 - trunk/src



Author: rhughes
Date: Sun Jan 20 21:31:34 2008
New Revision: 78
URL: http://svn.gnome.org/viewvc/gnome-packagekit?rev=78&view=rev

Log:
fromgit

Modified:
   trunk/src/pk-progress.c
   trunk/src/pk-update-viewer.c

Modified: trunk/src/pk-progress.c
==============================================================================
--- trunk/src/pk-progress.c	(original)
+++ trunk/src/pk-progress.c	Sun Jan 20 21:31:34 2008
@@ -386,10 +386,10 @@
 }
 
 /**
- * pk_progress_transaction_status_changed_cb:
+ * pk_progress_status_changed_cb:
  */
 static void
-pk_progress_transaction_status_changed_cb (PkClient *client,
+pk_progress_status_changed_cb (PkClient *client,
 				   PkStatusEnum   status,
 				   PkProgress    *progress)
 {
@@ -476,7 +476,7 @@
 		return FALSE;
 	}
 
-	pk_progress_transaction_status_changed_cb (progress->priv->client, status, progress);
+	pk_progress_status_changed_cb (progress->priv->client, status, progress);
 
 	/* coldplug */
 	ret = pk_client_get_progress (progress->priv->client, &percentage, &subpercentage, &elapsed, &remaining);
@@ -521,8 +521,8 @@
 			  G_CALLBACK (pk_progress_package_cb), progress);
 	g_signal_connect (progress->priv->client, "progress-changed",
 			  G_CALLBACK (pk_progress_progress_changed_cb), progress);
-	g_signal_connect (progress->priv->client, "transaction-status-changed",
-			  G_CALLBACK (pk_progress_transaction_status_changed_cb), progress);
+	g_signal_connect (progress->priv->client, "status-changed",
+			  G_CALLBACK (pk_progress_status_changed_cb), progress);
 
 	progress->priv->glade_xml = glade_xml_new (PK_DATA "/pk-progress.glade", NULL, NULL);
 	main_window = glade_xml_get_widget (progress->priv->glade_xml, "window_progress");

Modified: trunk/src/pk-update-viewer.c
==============================================================================
--- trunk/src/pk-update-viewer.c	(original)
+++ trunk/src/pk-update-viewer.c	Sun Jan 20 21:31:34 2008
@@ -627,10 +627,10 @@
 }
 
 /**
- * pk_updates_transaction_status_changed_cb:
+ * pk_updates_status_changed_cb:
  **/
 static void
-pk_updates_transaction_status_changed_cb (PkClient *client, PkStatusEnum status, gpointer data)
+pk_updates_status_changed_cb (PkClient *client, PkStatusEnum status, gpointer data)
 {
 	pk_statusbar_set_status (statusbar, status);
 }
@@ -1052,8 +1052,8 @@
 			  G_CALLBACK (pk_updates_progress_changed_cb), NULL);
 	g_signal_connect (client, "update-detail",
 			  G_CALLBACK (pk_updates_update_detail_cb), NULL);
-	g_signal_connect (client, "transaction-status-changed",
-			  G_CALLBACK (pk_updates_transaction_status_changed_cb), NULL);
+	g_signal_connect (client, "status-changed",
+			  G_CALLBACK (pk_updates_status_changed_cb), NULL);
 	g_signal_connect (client, "error-code",
 			  G_CALLBACK (pk_updates_error_code_cb), NULL);
 



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