Comment 17 for bug 433851

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Re-opening software-center task - there will be a required code change to make software-center use this. In the case of C the code is:

      details = polkit_details_new ();
      window = gtk_widget_get_toplevel (GTK_WIDGET (button));
      xid = g_strdup_printf ("%lu", gdk_x11_drawable_get_xid (GDK_DRAWABLE (gtk_widget_get_window (window))));
      polkit_details_insert (details, "toplevel_xid", xid);
      g_free (xid);