32 lines
1.4 KiB
Plaintext
32 lines
1.4 KiB
Plaintext
$NetBSD: patch-ae,v 1.1 2009/03/27 09:24:45 wiz Exp $
|
|
|
|
--- src/gpk-watch.c.orig 2008-11-24 16:34:22.000000000 +0000
|
|
+++ src/gpk-watch.c
|
|
@@ -109,7 +109,7 @@ gpk_watch_refresh_tooltip (GpkWatch *wat
|
|
length = pk_task_list_get_size (watch->priv->tlist);
|
|
egg_debug ("refresh tooltip %i", length);
|
|
if (length == 0) {
|
|
- gtk_status_icon_set_tooltip (GTK_STATUS_ICON (watch->priv->sicon), "Doing nothing...");
|
|
+ gtk_status_icon_set_tooltip_text (GTK_STATUS_ICON (watch->priv->sicon), "Doing nothing...");
|
|
return TRUE;
|
|
}
|
|
status = g_string_new ("");
|
|
@@ -143,7 +143,7 @@ gpk_watch_refresh_tooltip (GpkWatch *wat
|
|
else
|
|
g_string_set_size (status, status->len-1);
|
|
|
|
- gtk_status_icon_set_tooltip (GTK_STATUS_ICON (watch->priv->sicon), status->str);
|
|
+ gtk_status_icon_set_tooltip_text (GTK_STATUS_ICON (watch->priv->sicon), status->str);
|
|
g_string_free (status, TRUE);
|
|
return TRUE;
|
|
}
|
|
@@ -321,7 +321,7 @@ gpk_watch_finished_cb (PkTaskList *tlist
|
|
restart == PK_RESTART_ENUM_SESSION) {
|
|
restart_message = gpk_restart_enum_to_localised_text (restart);
|
|
icon_name = gpk_restart_enum_to_icon_name (restart);
|
|
- gtk_status_icon_set_tooltip (GTK_STATUS_ICON (watch->priv->sicon_restart), restart_message);
|
|
+ gtk_status_icon_set_tooltip_text (GTK_STATUS_ICON (watch->priv->sicon_restart), restart_message);
|
|
gpk_smart_icon_set_icon_name (watch->priv->sicon_restart, icon_name);
|
|
}
|
|
}
|