Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / pkgtools / gnome-packagekit / patches / patch-ae
blobb91cf5ce14ebd3781afca3a96cc314288c7953a2
1 $NetBSD$
3 --- src/gpk-watch.c.orig        2008-11-24 16:34:22.000000000 +0000
4 +++ src/gpk-watch.c
5 @@ -109,7 +109,7 @@ gpk_watch_refresh_tooltip (GpkWatch *wat
6         length = pk_task_list_get_size (watch->priv->tlist);
7         egg_debug ("refresh tooltip %i", length);
8         if (length == 0) {
9 -               gtk_status_icon_set_tooltip (GTK_STATUS_ICON (watch->priv->sicon), "Doing nothing...");
10 +               gtk_status_icon_set_tooltip_text (GTK_STATUS_ICON (watch->priv->sicon), "Doing nothing...");
11                 return TRUE;
12         }
13         status = g_string_new ("");
14 @@ -143,7 +143,7 @@ gpk_watch_refresh_tooltip (GpkWatch *wat
15         else
16                 g_string_set_size (status, status->len-1);
18 -       gtk_status_icon_set_tooltip (GTK_STATUS_ICON (watch->priv->sicon), status->str);
19 +       gtk_status_icon_set_tooltip_text (GTK_STATUS_ICON (watch->priv->sicon), status->str);
20         g_string_free (status, TRUE);
21         return TRUE;
22  }
23 @@ -321,7 +321,7 @@ gpk_watch_finished_cb (PkTaskList *tlist
24                     restart == PK_RESTART_ENUM_SESSION) {
25                         restart_message = gpk_restart_enum_to_localised_text (restart);
26                         icon_name = gpk_restart_enum_to_icon_name (restart);
27 -                       gtk_status_icon_set_tooltip (GTK_STATUS_ICON (watch->priv->sicon_restart), restart_message);
28 +                       gtk_status_icon_set_tooltip_text (GTK_STATUS_ICON (watch->priv->sicon_restart), restart_message);
29                         gpk_smart_icon_set_icon_name (watch->priv->sicon_restart, icon_name);
30                 }
31         }