emesene forum
September 07, 2010, 03:21:43 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: CACHE KEY ERRORS? NICK NOT SAVED? UPGRADE TO 1.6.2 FIRST!

REPORT ANY ISSUE HERE - PLEASE CHECK IF THE PROBLEM HAS ALREADY BEEN REPORTED FIRST -- THANKS
 
  Home   Forum   Help Search Login Register  
Pages: [1] 2 3
  Print  
Author Topic: Click on blinking tray icon should raise the conversation in cuestion  (Read 1857 times)
andreskru
Full Member
***

l33tness: 1
Offline Offline

Posts: 39


Keep hacking


View Profile WWW
« on: January 25, 2010, 01:57:55 PM »

When I receive a new message, the tray icon start to blink.
It is posible that when I click in such icon raise the conversation in cuestion?

Can be?

Thanks.
Logged
hs99
Sr. Member
****

l33tness: 1
Offline Offline

Posts: 98


View Profile Email
« Reply #1 on: January 26, 2010, 10:59:08 AM »

When I receive a new message, the tray icon start to blink.
It is posible that when I click in such icon raise the conversation in cuestion?

Can be?

Thanks.

I don't know, because what if there is more than one conversation windows with new messages...  Undecided
Logged

  • Send forth your light and your truth, let them guide me... (Psalm 43:3)
  • Envía tu luz y tu verdad; éstas me guiarán... (Salmo 43:3)
cando
Hero Member
*****

l33tness: 4
Offline Offline

Posts: 325



View Profile WWW
« Reply #2 on: January 26, 2010, 12:03:44 PM »

we can open the conversation with the last message...mmm..i don't know..
Logged

Computers are incredibly fast, accurate and stupid. Humans are incredibly slow, inaccurate and intelligent. Together they are a power that exceeds the imagination.(Albert Einstein)
andreskru
Full Member
***

l33tness: 1
Offline Offline

Posts: 39


Keep hacking


View Profile WWW
« Reply #3 on: January 26, 2010, 07:12:19 PM »

we can open the conversation with the last message...mmm..i don't know..

I like it... and maybe put a number somewhere to indicate the amount of unreaded messages...
Logged
cando
Hero Member
*****

l33tness: 4
Offline Offline

Posts: 325



View Profile WWW
« Reply #4 on: January 27, 2010, 12:25:30 AM »

Yes, I think it is possible....there is someone willing to do that??Now I have some exams but i'll give a look asap... Grin
Logged

Computers are incredibly fast, accurate and stupid. Humans are incredibly slow, inaccurate and intelligent. Together they are a power that exceeds the imagination.(Albert Einstein)
fabioamd87
Hero Member
*****

l33tness: 2
Offline Offline

Posts: 465



View Profile Email
« Reply #5 on: January 27, 2010, 04:02:27 AM »

a little off topic, but what about a letter that blink on a fix status?

someting like this:
Logged
cando
Hero Member
*****

l33tness: 4
Offline Offline

Posts: 325



View Profile WWW
« Reply #6 on: January 27, 2010, 05:36:27 AM »

i think it's very nice Shocked.....but we must add this gif for every state(online, away,etc)...but it's not a big deal...
Logged

Computers are incredibly fast, accurate and stupid. Humans are incredibly slow, inaccurate and intelligent. Together they are a power that exceeds the imagination.(Albert Einstein)
andreskru
Full Member
***

l33tness: 1
Offline Offline

Posts: 39


Keep hacking


View Profile WWW
« Reply #7 on: January 27, 2010, 06:26:45 AM »

a little off topic, but what about a letter that blink on a fix status?

someting like this:


mmm... we already have al blinking icon... but the yours its better to me, i like it (maybe it's a little less visible),
what about a number indicating the number of unreaded messages between the blinks or something?
Logged
fabioamd87
Hero Member
*****

l33tness: 2
Offline Offline

Posts: 465



View Profile Email
« Reply #8 on: January 27, 2010, 07:26:28 AM »

i think it's very nice Shocked.....but we must add this gif for every state(online, away,etc)...but it's not a big deal...
i don't know if is possible, but you can just overlap the blinking letter on the status icon...
Logged
arielj
Administrator
Hero Member
*****

l33tness: 31
Offline Offline

Posts: 1417


globitz!


View Profile Email
« Reply #9 on: January 27, 2010, 07:40:06 AM »

a little off topic, but what about a letter that blink on a fix status?

someting like this:

Like Cando said, we would need to add even more icons to all the default themes for all the statuses, it's not that easy, also, I don't know if we can modify every theme, some of them have licenses (that I never read Tongue).

a little off topic, but what about a letter that blink on a fix status?

someting like this:


mmm... we already have al blinking icon... but the yours its better to me, i like it (maybe it's a little less visible),
what about a number indicating the number of unreaded messages between the blinks or something?
Mmmm, I think that's even harder. We use gtk.StatusIcon to show the tray icon, and it only support images to be desplayed. We would need "something" that edits the icons in the correct way to put a number in there.

Also, the blinking is handled by gtk, not emesene, we shouldn't modify it's behavior (and I guess it would break on windows, since status icon on windows has some bugs Tongue)


About the click to rise windows with unread messages, we already use right and left click, it can use the middle click for that if someone develop this.
Logged
fabioamd87
Hero Member
*****

l33tness: 2
Offline Offline

Posts: 465



View Profile Email
« Reply #10 on: January 27, 2010, 07:42:20 AM »

when there is a message, the right click can change behaviour?

whet about my last suggest?
Logged
cando
Hero Member
*****

l33tness: 4
Offline Offline

Posts: 325



View Profile WWW
« Reply #11 on: January 27, 2010, 07:48:07 AM »

when there is a message, the right click can change behaviour?
yes..i'm trying to do this...the problem is that i'm using the conversation manager to open conversations but i need the mail of the user who sent me the last message...looking quickly around the code i've not found a way of get this mail...arielj??can you help me?
Logged

Computers are incredibly fast, accurate and stupid. Humans are incredibly slow, inaccurate and intelligent. Together they are a power that exceeds the imagination.(Albert Einstein)
arielj
Administrator
Hero Member
*****

l33tness: 31
Offline Offline

Posts: 1417


globitz!


View Profile Email
« Reply #12 on: January 27, 2010, 08:04:12 AM »

Maybe you can connect to the "message-received" signal from self.controller.msn and save the latest mail (it's a parameter in the callback).

Then you can check if the tray is blinking, open his conversation window.

Hope it helps.
Logged
cando
Hero Member
*****

l33tness: 4
Offline Offline

Posts: 325



View Profile WWW
« Reply #13 on: January 27, 2010, 09:20:12 AM »

i've already done your second advice and i've thought already to your first one but i think it's a bit "expensive"...every time i receive a message i have to save the mail of the user??....mmm...it's exspensive or it's not so a big problem?
Logged

Computers are incredibly fast, accurate and stupid. Humans are incredibly slow, inaccurate and intelligent. Together they are a power that exceeds the imagination.(Albert Einstein)
arielj
Administrator
Hero Member
*****

l33tness: 31
Offline Offline

Posts: 1417


globitz!


View Profile Email
« Reply #14 on: January 27, 2010, 01:59:56 PM »

I don't think it's expensive. On memory it's only one variable, and processing it's low too... if you receive THAT many new messages it will be expensive in other areas like the conversation windows, memory usage, loggers, plugins, etc... for the tray icon it will be just an assignation on memory really tiny compared to those other operations.

Don't worry about that, it's not really a problem.
Logged
Pages: [1] 2 3
  Print  
 
Jump to:  

TinyPortal v.1.0.6 beta 2 © Bloc
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!