Backgrounds support in htmltextview
Since revision 967 htmltextview has this kewl feature:
To test it, you have to enable the /eval plugin and type in this:
/eval import gtk
pixbuf = gtk.gdk.pixbuf_new_from_file(”/path/to/image.jpg”)
conversation.ui.textview.set_background(pixbuf)
..And what does this mean? Background sharing support! And no, don’t think that we were losing our time with this. The idea was to add background image support with CSS styles in htmltextview, to be a step nearer to adium styles :D.
We have been working in this for weeks, without getting “decent” solutions. [technical]The ScrolledWindow was scrolling the background too, in an ugly way[/technical]. We’ve tried lots of things, even asked the pygtk mailing list — without getting replies of course. (TODO: reply to myself with the solution)
One day, alencool read that mail, tried to find the solution with cairo, and came up with a cool transparent window+textview that requires compiz. The problem was that we had to make all the window transparent to get it working, something quite impossible. But he introduced a new idea, [technical]connecting the ScrolledWindow expose-event to the child htmltextview queue_draw[/technical]. Yesterday I tried it with one of my old solutions, and surprise, it worked fine.
“Background sharing” is “a protocol feature that extends file transfer to send images and set them automatically as backgrounds”. That means that WLM can share the background you choose for the window with your contacts. Pretty stupid feature, but people like it.
This is just the first step, and the hardest one (because we thought it was impossible). Now roger should update his FTContext to identify better background sharing file transfers, and someone else code the GUI part (an icon in the toolbar).
And yes, we can add background images to the user list too. Who said that qt is better?
Tags: backgrounds, eye candy, features

October 30th, 2007 at 12:36 pm
Ah Yeaaaah
That what this transparent windows’s video means
!
-_-” And I was Joking about that …
Keep the good Work DX !
P.S.: Use torture if you’re in need , but just tell roger that we NEED his Youtube extra plugin :’( …
October 30th, 2007 at 2:16 pm
..i think we need more the file transfer sending feature
October 30th, 2007 at 4:30 pm
Wow.. you’re working great! You have done a lot of improvements in a short time and we, the users, really appreciate that.
I thought I would never see the background sharing support implemented, but I just realise I was wrong XD!
November 1st, 2007 at 2:28 am
Hey :]
I’d like to see that thing that needs compiz - maybe it works with the composite extension from xfce too
November 4th, 2007 at 1:57 am
Yeah :-s !
Hey Dx , i’m experiencing a big Issue when connecting , i just CAN’T connect , i always have an error message .
I’m sending a screen on the forum !
November 15th, 2007 at 10:11 am
Me encanta emesene, es el mejor cliente para Linux (y para windows tambien prefiero emesene:) ) ánimo, me encanta tu programa
November 27th, 2007 at 11:43 am
You guys rock…
I hope emesene 1.0 gets included in all gnomish distros.
December 20th, 2007 at 7:29 pm
*just saw the comment moderation queue*
@jointhehell: the current implementation doesn’t require compiz (it’s quite complex to remove the background on *every* widget..)