emesene forum
November 22, 2008, 12:20:10 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: PROBLEMS WITH 1.0.x? TAKE A LOOK IN HERE - FATAL ERRORS? (1.0.x) REPORT THEM HERE
 
  Home   Forum   Help Search Login Register  
Pages: [1] 2 3 4
  Print  
Author Topic: Background plugin  (Read 4356 times)
andre.ramaciotti
Sr. Member
****

l33tness: 2
Offline Offline

Posts: 66


View Profile Email
« on: February 11, 2008, 01:59:50 PM »

It still lacks some polishment, but it works.

[attachment deleted by admin]
Logged
luciobrucio
Full Member
***

l33tness: 0
Offline Offline

Posts: 28


View Profile Email
« Reply #1 on: February 11, 2008, 02:41:48 PM »

thanks andre,

i turned the eval plugin on, then what should i type in the conversation window if the file is located in /luciomormile/Immagini/Sfondi/lion.jpg???

/eval import gtk
pixbuf = gtk.gdk.pixbuf_new_from_file("/path/to/image.jpg")
conversation.ui.textview.set_background(pixbuf)

what should i exactly put instead of the "pixbuf_new_from_file("/path/to/image.jpg")Huh?
sorry for disturbing and asking stupid things, but i tried couple of times and it didn't work, i'm pretty sure i didn't type the right command.

Thanks a lot.
Lucio
Logged
andre.ramaciotti
Sr. Member
****

l33tness: 2
Offline Offline

Posts: 66


View Profile Email
« Reply #2 on: February 11, 2008, 02:50:07 PM »

Code:
/eval import gtk
pixbuf = gtk.gdk.pixbuf_new_from_file("/luciomormile/Immagini/Sfondi/lion.jpg")
conversation.ui.textview.set_background(pixbuf)

as a single message.

but are you sure it's /luciomormile/Immagini/Sfondi/lion.jpg and not /home/luciomormile/Immagini/Sfondi/lion.jpg ?
Logged
thur
Hero Member
*****

l33tness: 2
Offline Offline

Posts: 150


View Profile
« Reply #3 on: February 11, 2008, 03:27:28 PM »

what it does?! =D

smells like stupid question doesn't it?! hauha
Logged
andre.ramaciotti
Sr. Member
****

l33tness: 2
Offline Offline

Posts: 66


View Profile Email
« Reply #4 on: February 11, 2008, 04:32:07 PM »

It sets a image as background in the conversation window.
Logged
thur
Hero Member
*****

l33tness: 2
Offline Offline

Posts: 150


View Profile
« Reply #5 on: February 11, 2008, 05:25:03 PM »

hmm beautiful!
Logged
luciobrucio
Full Member
***

l33tness: 0
Offline Offline

Posts: 28


View Profile Email
« Reply #6 on: February 12, 2008, 02:36:47 AM »

alright it worked...and you were right, it was /home/luciomormile....

the only problem is that sometimes it changed the backgroung of the conversation window...sometimes the whole emesene theme...sometimes both or none...and every time you sign in you have to do it again for the conversation you're interested in...

cheers,

Lucio
Logged
nicolaide
Hero Member
*****

l33tness: 4
Offline Offline

Posts: 308


Feliz Habitante De La Republica Separatista

nicolas_espina@hotmail.com
View Profile
« Reply #7 on: February 12, 2008, 03:00:23 AM »

Hey! Works fine! Really fine, but three problems,

.1 ) If i set the image in the plugin window if i click again to configure the path of the image are erased

.2) The plugin also change the top of the contact list

.3) If i disable the plugin nothing happens... Only if i quit the program

If you can solve this problems i think the plugin well be inclueded in the SVN  Wink

Good Luck!
Logged

thur
Hero Member
*****

l33tness: 2
Offline Offline

Posts: 150


View Profile
« Reply #8 on: February 12, 2008, 05:28:16 AM »

screenshots FTW!
Logged
nicolaide
Hero Member
*****

l33tness: 4
Offline Offline

Posts: 308


Feliz Habitante De La Republica Separatista

nicolas_espina@hotmail.com
View Profile
« Reply #9 on: February 12, 2008, 05:54:02 AM »

screenshots FTW!

Download and TRY!  Wink
Logged

andre.ramaciotti
Sr. Member
****

l33tness: 2
Offline Offline

Posts: 66


View Profile Email
« Reply #10 on: February 12, 2008, 05:59:16 AM »

I think it's solved.

edit: no, it's not. The background still affects the main window, but now it remembers the saved path.

[attachment deleted by admin]
« Last Edit: February 12, 2008, 06:02:14 AM by andre.ramaciotti » Logged
nicolaide
Hero Member
*****

l33tness: 4
Offline Offline

Posts: 308


Feliz Habitante De La Republica Separatista

nicolas_espina@hotmail.com
View Profile
« Reply #11 on: February 12, 2008, 06:08:06 AM »

nothings happen...When is activated the path says path/to/image  Sad

Is a better idea use a dialog to choose the image i think (The notification plugin use something similar)

Thanks for read my suggestions

l33tness + 1 for you  Wink

Edit: ALL the dialogs change the background... the plugins windows too.
« Last Edit: February 12, 2008, 06:13:27 AM by nicolaide » Logged

JoinTheHell
Global Moderator
Hero Member
*****

l33tness: 16
Offline Offline

Posts: 736



View Profile WWW
« Reply #12 on: February 12, 2008, 06:55:23 AM »

please discuss background functionality in another thread.
*begs admin to split thread*
Logged
andre.ramaciotti
Sr. Member
****

l33tness: 2
Offline Offline

Posts: 66


View Profile Email
« Reply #13 on: February 12, 2008, 07:31:46 AM »

Ok, now there's a dialog to chose the image. Thanks for the tip about Notification.

Buuuut I don't have the slightest idea about how stop the abnormal behaviour in the main window  Undecided
Logged
nicolaide
Hero Member
*****

l33tness: 4
Offline Offline

Posts: 308


Feliz Habitante De La Republica Separatista

nicolas_espina@hotmail.com
View Profile
« Reply #14 on: February 12, 2008, 08:35:21 AM »

Nice dialog... Somebody knows how change ONLY the conversation window background?
Logged

Pages: [1] 2 3 4
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!