~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to src/livepatch-tray.c

  • Committer: Andrea Azzarone
  • Date: 2019-04-15 14:39:14 UTC
  • mto: This revision was merged to the branch mainline in revision 969.
  • Revision ID: azzaronea@gmail.com-20190415143914-kcq8z12jzfct575b
Handle "applying" Livepatch state.

Show diffs side-by-side

added added

removed removed

Lines of Context:
161
161
      gtk_menu_item_set_label(GTK_MENU_ITEM(priv->menuitem_desc), label);
162
162
    }
163
163
  else if (!g_strcmp0(check_state, "needs-check") ||
164
 
           !g_strcmp0(state, "unapplied"))
 
164
           !g_strcmp0(state, "unapplied") ||
 
165
           !g_strcmp0(state, "applying"))
165
166
    {
166
167
      /* Check livepatch status again */
167
168
      return G_SOURCE_CONTINUE;