[Sugar-devel] Sugar Print Queue and Device Icon

Eben Eliason eben at laptop.org
Tue Jun 23 12:42:24 EDT 2009


On Tue, Jun 23, 2009 at 3:35 AM, Vamsi Krishna
Davuluri<vdavuluri at acm.org> wrote:
> Eben,
>
> Thanks for replying, I have taken your
> suggestions into account and have made
> this. It now randomly
>
> 1) It takes a hash of the username for coloring
>     the icon

Actually, I meant that the hash should be taken from the printer name,
not the username, so that the colors are unique to the printer device.
(Maybe that's what you meant, and "username" was just a slip.)

> 2) It lists processing job on the top, and sorts
>     the list accoring to first come first serve.

Cool. Making the status gray would still be nice. What's the reason
for prefixing each with "Document" it seems unnecessary to me. I'd
stick with (title + '\n' + status). Actually, I guess you'd have to
have two labels, in order to make the status gray, and put those in a
VBox...

> 3) I removed the space below the menu items.

Great!

>
> pausing jobs is a big problem, since we are
> already in a palette menu. And I am using
> menu items for each horizontal bar, I cant

Hmm, that seems like the wrong approach. If I understand correctly,
that would mean that hovering anywhere over the job would select the
line, and clicking on any job would delete it. It seems that only the
cancel button at the left should be active here. You should be able to
shove widgets into the "custom" part of the palette, I think, which
might suit the purpose better.

> see a case of pausing without making a
> new menu item for each job?

I'm not fully understanding what you mean. If you clicked the "Pause
printing" button, it would change to say "Resume printing", and the
top job in the queue would have its status changed from "Processing"
(Maybe this should just be "Printing" instead) to "Paused". CLicking
"Resume printing" would resume the top job.

But anyway, I'm not strongly arguing for this feature; I'm just
questioning whether or not it would be wanted.

Eben

> will that be okay?
>
> Thanks,
> Vamsi
>


More information about the Sugar-devel mailing list