~cubic-wizard/cubic/release

« back to all changes in this revision

Viewing changes to usr/share/cubic/cubic/utilities/displayer.py

  • Committer: PJ Singh
  • Date: 2021-03-24 22:16:26 UTC
  • Revision ID: psingh.cubic@gmail.com-20210324221626-920tevf0zks3zdow
Fixed Bug LP:#1918741, Drag and drop text onto terminal doesn't work. * Improved stability when transitioning from the Prepare page to the Options page. * Fixed issue on the Prepare page and the Generate page where status text shifts vertically by a few pixels when updated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
374
374
 
375
375
    # logger.log_value('Set status for entry %s_status' % prefix, status)
376
376
 
377
 
    # TODO: Use Gtk.Icontheme instead of Gtk.IconSize because Gtk.IconSize id deprecated.
378
 
    #       https://lazka.github.io/pgi-docs/Gtk-3.0/enums.html#Gtk.IconSize
379
 
 
380
377
    # Valid icon sizes are:
381
378
    #
382
379
    #   0 = Gtk.IconSize.INVALID
406
403
    This is used on the Terminal page.
407
404
    """
408
405
 
409
 
    # TODO: Use Gtk.Icontheme instead of Gtk.IconSize because Gtk.IconSize id deprecated.
410
 
    #       https://lazka.github.io/pgi-docs/Gtk-3.0/enums.html#Gtk.IconSize
411
 
 
412
406
    image = model.builder.get_object(name)
413
407
    GLib.idle_add(Gtk.Image.set_from_icon_name, image, icons[status], Gtk.IconSize.BUTTON)
414
408