Mercurial > pidgin
view gaim.desktop @ 12116:e75ef7aa913e
[gaim-migrate @ 14416]
" This patch implements a replacement for the queuing
system from 1.x. It also obsoletes a previous patch
[#1338873] I submitted to prioritize the unseen states
in gtk conversations.
The attached envelope.png is ripped from the
msgunread.png already included in gaim. It should be
dropped in the pixmaps directory (Makefile.am is
updated accordingly in this patch).
The two separate queuing preferences from 1.x, queuing
messages while away and queuing all new messages (from
docklet), are replaced with a single 3-way preference
for conversations. The new preference is "Hide new IM
conversations". This preference can be set to never,
away and always.
When a gtk conversation is created, it may be placed in
a hidden conversation window instead of being placed
normally. This decision is based upon the preference
and possibly the away state of the account the
conversation is being created for. This *will* effect
conversations the user explicitly requests to be
created, so in these cases the caller must be sure to
present the conversation to the user, using
gaim_gtkconv_present_conversation(). This is done
already in gtkdialogs.c which handles creating
conversations requested by the user from gaim proper
(menus, double-clicking on budy in blist, etc.).
The main advantage to not queuing messages is that the
conversations exist, the message is written to the
conversation (and logged if appropriate) and the unseen
state is set on the conversation. This means no
additional features are needed to track whether there
are queued messages or not, just use the unseen state
on conversations.
Since conversations may not be visible (messages
"queued"), gaim proper needs some notification that
there are messages waiting. I opted for a menutray icon
that shows up when an im conversation has an unseen
message. Clicking this icon will focus (and show if
hidden) the first conversation with an unseen message.
This is essentially the same behavior of the docklet in
cvs right now, except that the icon is only visible
when there is a conversation with an unread message.
The api that is added is flexible enough to allow
either the docklet or the new blist menutray icon to be
visible for conversations of any/all types and for
unseen messages >= any state. Currently they are set to
only IM conversations and only unseen states >= TEXT
(system messages and no log messages will not trigger
blinking the docklet or showing the blist tray icon),
but these could be made preferences relatively easily
in the future. Other plugins could probably benefit as
well: gaim_gtk_conversations_get_first_unseen().
There is probably some limit to comment size, so I'll
stop rambling now. If anyone has more
questions/comments, catch me in #gaim, here or on
gaim-devel."
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Wed, 16 Nov 2005 18:17:01 +0000 |
parents | 391acec18e46 |
children | 5adc0c9da9f3 |
line wrap: on
line source
[Desktop Entry] Encoding=UTF-8 Categories=Application;Network; Exec=gaim Icon=gaim.png StartupNotify=true Terminal=false Type=Application Name=Gaim Internet Messenger Name[ca]=Missatger d'Internet Gaim Name[cs]=Gaim Internet Messenger Name[da]=Gaim - internet beskeder Name[de]=Gaim Internet Messenger Name[es]=Gaim - cliente de mensajería de Internet Name[fr]=Gaim Messagerie Internet Name[hu]=Gaim azonnali üzenetküldő Name[it]=Gaim Internet Messenger Name[ja]=Gaim インターネット・メッセンジャー Name[ko]=게임 메신저 Name[nb]=Gaim lynmeldingsklient Name[nl]=Gaim - Expresberichten Name[pl]=Komunikator Internetowy Gaim Name[pt_BR]=Mensageiro via Internet Gaim Name[pt]=Mensageiro Internet Gaim Name[ro]=Mesagerul Gaim Name[ru]=Gaim - клиент обмена мгновенными сообщениями Name[sl]=Gaim - spletni sel Name[sq]=Lajmësjellësi Internet Gaim Name[sv]=Gaim Internet Messenger Name[zh_CN]=Gaim 互联网通讯程序 Name[zh_TW]=Gaim 網路即時通 GenericName=Internet Messenger GenericName[ca]=Missatger d'Internet GenericName[cs]=Internet Messenger GenericName[da]=Internet beskeder GenericName[de]=Internet Messenger GenericName[es]=Cliente de mensajería de Internet GenericName[fr]=Messagerie internet GenericName[hu]=Azonnali üzenetküldő GenericName[it]=Internet Messenger GenericName[ja]=インターネット・メッセンジャー GenericName[ko]=메신저 GenericName[nb]=Lynmeldingsklient GenericName[nl]=Expresberichten GenericName[pl]=Komunikator Internetowy GenericName[pt_BR]=Mensageiro via Internet GenericName[pt]=Mensageiro Internet GenericName[ro]=Client de mesagerie GenericName[ru]=Клиент обмена мгновенными сообщениями GenericName[sl]=Spletni sel GenericName[sq]=Lajmësjellës Internet GenericName[sv]=Meddelandeklient GenericName[zh_CN]=互联网通讯程序 GenericName[zh_TW]=網路即時通 Comment=Send instant messages over multiple protocols Comment[ca]=Envieu missatges instantanis en múltiples protocols Comment[cs]=Posílat instant message různými protokoly Comment[da]=Send beskeder over flere protokoller Comment[de]=Multi-Protokoll Instant Messenger Client Comment[es]=Cliente de mensajería instantánea multiprotocolo Comment[fr]=Envoie des messages instantanés en utilisant divers protocoles Comment[hu]=Azonnali üzenetküldés többféle protokoll használatával Comment[it]=Client multiprotocollo per messaggi immediati Comment[ja]=複数のプロトコルを介してインスタント・メッセージを送信します Comment[ko]=다중 프로토콜 메신저 Comment[nb]=Send lynmeldinger over flere protokoller Comment[nl]=Multi-protocol programma voor expresberichten Comment[pl]=Komunikator internetowy obsługujący kilka protokołów Comment[pt_BR]=Mande mensagens instantâneas por múltiplos protocolos Comment[pt]=Envie mensagens instantâneas sobre vários protocolos Comment[ro]=Trimiteţi mesaje instant în orice reţea Comment[ru]=Обмен мгновенными сообщениями с использованием множества протоколов Comment[sl]=Pošiljajte neposredna sporočila prek različnih protokolovs Comment[sq]=Dërgoni mesazhe të atypëratyshëm protokollesh të ndryshëm Comment[sv]=Sänder snabbmeddelande över många protokoll Comment[zh_CN]=通过多种协议发送即时消息 Comment[zh_TW]=透過多種通訊協定發送即時訊息