Commit Graph

184 Commits

Author SHA1 Message Date
js 8599a46046 More coding style.
(Do I always have to fix the coding style first before I can work with
it? Damn, that's annoying! My terminal has a width of 80 chars, what's
so hard about using the 80 chars width we have specified in the coding
style?)
2008-07-22 23:25:27 +00:00
js b9ea534850 Show user tune in conversation window. 2008-07-22 23:06:58 +00:00
js c3079e5ac5 Make user tune tooltip translatable.
@whoever did that: _() has to be around the format string, NOT the
result of the sprintf!
2008-07-22 23:03:33 +00:00
Stephan Erb 3bcf189dfd Show pep tooltip info also for multiple resources and SelfContacts.
(Tooltips might not be complete because of some not yet addressed backend bugs)
2008-05-19 21:31:25 +00:00
Yann Leboulanger 05218db68a [rOOt & Asterix] use get_uf_activity/mood to translate them. store subactivities according to selected activity. fixes #3809 2008-04-07 11:17:33 +00:00
Jean-Marie Traissard a995c09977 Escape pep in tooltips without breaking tooltips, third try :p 2007-12-28 22:04:17 +00:00
Jean-Marie Traissard a467a1d48d Revert [9196]. Escape pep stuff in tooltips the right way. 2007-12-27 15:53:42 +00:00
Stephan Erb 71fd4665eb Fix possible parsing error 2007-12-27 10:06:30 +00:00
Yann Leboulanger 19761f081f [js & I] show pep info in account tooltip, fix a bug in create_contact() 2007-12-13 20:26:13 +00:00
Yann Leboulanger a645006bf8 merge diff from trunk 2007-12-12 08:44:46 +00:00
Piotr Gaczkowski 947ec8e933 PEP prefs added 2007-08-09 23:05:43 +00:00
Yann Leboulanger ea24ee82e5 merge diff from trunk to pep branch 2007-08-09 15:39:18 +00:00
Piotr Gaczkowski e3ef0821b3 Merge with trunk 2007-06-03 10:04:20 +00:00
Piotr Gaczkowski 19c5c70f80 Initial User Tune support 2007-04-01 09:02:04 +00:00
Piotr Gaczkowski 4f68782ec7 Activity and Mood in tooltips now bug-free (:P) 2007-03-30 23:24:12 +00:00
Piotr Gaczkowski 149b0fcdef Buggy. Don\'t touch 2007-03-29 19:04:14 +00:00
Piotr Gaczkowski 512db7618b Lame Mood and Activity support. Announcing caps. 2007-03-28 21:18:16 +00:00
Piotr Gaczkowski 5f9eab3c62 First buggy commit 2007-03-25 22:16:48 +00:00
Jean-Marie Traissard d37e7d8e3e No space in indentation, checked by drpython (editor). /src part 2007-02-04 13:01:04 +00:00
Yann Leboulanger 5fc442b6f5 better indentation 2007-01-31 11:31:07 +00:00
Nikos Kouremenos e9afe36ff3 clean code and update to using GTK/PyGTK 2.8; see #2248 2007-01-16 23:26:38 +00:00
Yann Leboulanger e2c86d5c2e [avm] improve strings for translation and update ru.po. fixes #2698 2006-11-23 06:49:22 +00:00
Jean-Marie Traissard f041f8dd5e JID->Jabber ID in gc tooltip
if print_time==sometimes : Show the day if needed also. Use locale for time format (do
not force
24h)
Delete a lot of unused locale variables (thanks pychecker)
del gajim.py useless global vars after use
configpaths.py : use self. not this.
2006-11-21 18:46:33 +00:00
Jean-Marie Traissard 9347fe10e1 Remove lot of useless imports
Fix gajim-remote contact_info
Fix profile_win right click on avatar
Fix a call and a comment
Thanks pyflakes (a program, not a person) for the whole.
2006-11-15 01:59:21 +00:00
Jean-Marie Traissard e6ccbf517a It's ok, contact.last_status_time is always local time, remove comment. 2006-10-30 17:40:34 +00:00
Yann Leboulanger 010eb2c9f3 do not align jid to bottom in roster tooltips 2006-10-12 08:28:16 +00:00
Jean-Marie Traissard 345ab7846d Correct tooltips after zeroconf merge. Fixes #2554. 2006-10-12 02:44:15 +00:00
Jean-Marie Traissard ccf2b261c7 Use "group chat" instead of "room" in all strings. Fixes #2523. 2006-10-12 02:12:10 +00:00
Stefan Bethge 1dbb2a891f merge zeroconf branch to trunk 2006-10-11 02:12:56 +00:00
Stefan Bethge 0d0ac51fa8 merge with trunk 2006-10-09 00:27:03 +00:00
Yann Leboulanger 56df70242e do not call gtkgui_helpers functions in common folder. Also fix a traceback when trying to view systray tooltip 2006-10-06 14:58:01 +00:00
Yann Leboulanger 9b83c74487 move gtkgui_helpers.reduce_chars_newlines to common/helpers.py. It's not GTK related. 2006-10-06 14:52:25 +00:00
Nikos Kouremenos 4fda072f0f make tooltip work for the new api too 2006-10-05 00:06:57 +00:00
Jean-Marie Traissard 60ac8caf8c [nk'slave]Cut status message to 100 in tray also, better var names
:D
2006-09-30 02:13:51 +00:00
Jean-Marie Traissard 8e42587efc oups, 80 chars 2006-09-28 01:51:32 +00:00
Jean-Marie Traissard 42155c344e Calculate icons path only when needed 2006-09-28 01:47:30 +00:00
Nikos Kouremenos 6fcdf414eb work with bytestrings too [perhaps only with them here?] 2006-09-27 23:17:54 +00:00
Nikos Kouremenos 7c2011576d make it 80chars (plz Jim), clean it a bit, use <b> and <i> instead of huge span [it is the same] 2006-09-27 22:56:50 +00:00
Jean-Marie Traissard ac1b317f62 roster-tooltip : Change lines order, resource after jid, gpg on the end (we don't care)
deleted hack to remove seconds, do not work with all locales (greek at least)
2006-09-27 22:06:53 +00:00
Nikos Kouremenos 3937363dad do not force syntax in string; in THIS room instead of in THE room 2006-09-27 16:05:15 +00:00
Jean-Marie Traissard c9d27e163e Do not show seconds in roster tooltips (if today)
Better description of option print_fuzzy
2006-09-26 17:44:29 +00:00
Jean-Marie Traissard 1d660a88a7 Ellipsize to 100 instead of 200 in tooltips, that's ugly enough with 100...
Set show+last_status_time after status message instead of at the end in roster tooltip
2006-09-26 14:40:13 +00:00
Jean-Marie Traissard 84b9e2af34 +gc-tooltip:Create get_uf_affiliation(); show SHOW in the place of status message if and
only if there is no status message, else don't show SHOW
+roster-tooltip:Show subscription only if it is different from 'both'; integrate SHOW to
last_status_time (status message alone in second line); name is now title, jid is after;
status message and show are italic everywhere; last_status_time is not showed anymore when
more than one ressource, takes too muck place(was broken anyway).
Fixes #2110 if no comment.
2006-09-26 02:41:47 +00:00
Jean-Marie Traissard 031d10f3fa gc-roster-tooltip : Remove horizontal separator
gc-tooltip : If date==today, show only "Since %hour" instead of full date
2006-09-25 16:53:12 +00:00
Jean-Marie Traissard 37c08ee033 Visual Test : show after the nick in tooltip 2006-09-25 16:02:13 +00:00
Jean-Marie Traissard f4a15a1d16 gc-roster-tooltip : Status message in italic, in a new line after status itself 2006-09-24 21:16:36 +00:00
Jean-Marie Traissard 00f00f3dcd Modified gc-tooltip : Don't show role (it's already known), show affiliation only
if different from none, always show nick as title, don't print "Status:" but print
status directly after nick and other fields (if any) after an Horizontal bar.
Please comment in #2110. Roster tooltip will be modified accordingly.
2006-09-24 20:37:02 +00:00
Stefan Bethge 2b3120244f merged trunk r6780
removed i18n imports from zeroconf/connection files
2006-09-14 16:48:03 +00:00
Yann Leboulanger a67eaba727 events are now saved in an Event class. show in roster/systray options in Advanced Notification Control (for incomming messages) now work. 2006-09-02 21:01:11 +00:00
Dimitur Kirov 56cd8ba43b config option 'zeroconf_enabled' indicates
that zeroconf connection should be used.
Create the neccessary config values if zeroconf
account is not present
2006-07-11 15:22:59 +00:00
Dimitur Kirov 6bdc8eb210 make sure 'jid' is unicode 2006-07-11 10:44:52 +00:00
Jean-Marie Traissard 582fe8d972 Escape html in gc_popups nicks 2006-06-25 20:01:40 +00:00
Yann Leboulanger 2c534b32d6 [Sergey Khlutchin] show translated subscription in tooltip. Fixes #2077 2006-06-19 11:43:53 +00:00
Yann Leboulanger bc26593974 use gettext.install. Fixes #497 2006-06-15 06:49:04 +00:00
Dimitur Kirov 01c37775bf reverse as a separate statement 2006-05-31 06:36:49 +00:00
Dimitur Kirov 5de6896433 sort resources by priority 2006-05-26 20:41:03 +00:00
Jean-Marie Traissard 7b1d582bf1 Nicer systray tooltip when awaiting events of differents types (don't print gajim twice). Fixes #1053 2006-05-02 17:55:52 +00:00
Dimitur Kirov a2a5bfe9a6 reduce chars for GC tooltip status message 2006-05-01 15:50:33 +00:00
Jean-Marie Traissard 7cdc78d4a8 Don't print 'Disconnected' in systray tooltip (Simple revert of [2686], not needed anymore). Fix #890. 2006-04-24 19:22:44 +00:00
Dimitur Kirov 79d1443497 #1881 remove boldness of strings in tooltip 2006-04-21 13:48:27 +00:00
Dimitur Kirov ad1ec1ab40 lock icon in tooltip for merged accounts row
and notif area
2006-04-15 09:24:07 +00:00
Nikos Kouremenos 60c916b53a [jim] rm a space 2006-03-31 10:44:47 +00:00
Yann Leboulanger fb758eaf89 use sanitize_filename func before writing a file to HD. Fixes #1722 2006-03-26 11:46:04 +00:00
Nikos Kouremenos 4c2f8d9400 make clearer what we do 2006-03-25 11:12:31 +00:00
Nikos Kouremenos 19e078878c [jim++]. sort accounts in trayicon tooltip. fixes #1734 2006-03-24 18:58:37 +00:00
Dimitur Kirov 3893d4ffa7 resource is shown before status (for
consistency with roster tooltip)
2006-03-21 21:46:26 +00:00
Dimitur Kirov f01fd88ff5 table layout for gc tooltip properties 2006-03-21 21:33:56 +00:00
Dimitur Kirov 30522e5357 align two resource lines, left to avatar in
tooltip
2006-03-21 20:52:25 +00:00
Dimitur Kirov a71924dba4 set_line_wrap, instead of putting message on the
next line
2006-03-21 20:25:53 +00:00
Dimitur Kirov a6700273d9 testing: align status message left to avatar
in tooltip
2006-03-21 20:22:16 +00:00
Dimitur Kirov e1ff481a84 aligned properties for FT tooltip 2006-03-21 17:01:23 +00:00
Dimitur Kirov 1ba8e37972 better align of properties, with long avatar 2006-03-21 16:39:26 +00:00
Dimitur Kirov 78d48a141c aligned properties for roster tooltip 2006-03-21 15:44:36 +00:00
Yann Leboulanger 4a1c850bf7 avatars in gc tooltips 2006-03-17 15:26:58 +00:00
Yann Leboulanger adb62eb628 jids are now punycoded before we store avatars on HD. Fixes #1030 2006-03-10 18:58:28 +00:00
Yann Leboulanger 03ce89fdac avatars are back in tooltips 2006-03-01 17:45:18 +00:00
Dimitur Kirov 981cb163f2 show correct image icon for multiple resources 2006-02-28 16:12:59 +00:00
Dimitur Kirov 182490359c show the correct status icon, not the one from
helpers
2006-02-28 10:54:14 +00:00
Dimitur Kirov d59678c60f 2 typos 2006-02-28 10:15:42 +00:00
Dimitur Kirov 1f467c0fc3 show_tooltip uses less argumens, added some
docs, explaining what this arguments are for
2006-02-28 10:13:42 +00:00
Nikos Kouremenos b2cde9b6ba do not show status icon on acct row tooltip. fixes #1613 2006-02-26 14:13:59 +00:00
Yann Leboulanger f70f178527 time.strftime returns locale encoded string. So decode it. Thx Dimitur 2006-02-24 12:37:29 +00:00
Nikos Kouremenos 0584025f8c italic instead of bold. use since for not offline contacts and last status for offline; fix spacing in vcard text 2006-02-23 21:44:05 +00:00
Yann Leboulanger 0b2f9d4617 we now keep last_status_time, show it in tooltip and information window, ask it (jabber:iq:last, JEP-0012) when we open information window. Fixes #1133 2006-02-22 14:31:01 +00:00
Yann Leboulanger 033e95e795 add a space in tooltip between image and text. Fix #1223 2006-02-06 18:07:50 +00:00
Yann Leboulanger 693270cf5b wax size for avatar in tooltip: 125x125 by default 2006-02-06 13:42:23 +00:00
Yann Leboulanger b5c94b71c6 draw avatar in roster tooltip. Fixes #1223 2006-02-05 16:47:25 +00:00
Yann Leboulanger c49a993e88 80 margin 2006-02-05 16:22:25 +00:00
Travis Shirk aeddca16b2 Count unread msgs correctly in systray tooltip, closes #1461 2006-01-31 04:03:34 +00:00
Yann Leboulanger f219f1d24c clean code and fix a bug with names that contain a @ char 2006-01-20 23:12:12 +00:00
Yann Leboulanger 16724c22e9 [Hector] missing import 2006-01-11 08:31:00 +00:00
Yann Leboulanger d2ab3031f1 contact.name can now be empty. So use contact.get_shown_name() that returns a user friendly name 2006-01-10 18:30:57 +00:00
Travis Shirk 2a794ba19e Fix up, look sharp 2006-01-09 00:47:54 +00:00
Travis Shirk 2a5b0afc44 More groupchat goodness 2006-01-06 06:59:55 +00:00
Travis Shirk 1360933ba9 Merged in trunk updates, including meta_contacts
Merged revisions 4951,4962-4969 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r4951 | nk | 2005-12-30 16:50:36 -0700 (Fri, 30 Dec 2005) | 1 line

fixes in greek transl
........
r4962 | asterix | 2006-01-01 11:41:04 -0700 (Sun, 01 Jan 2006) | 2 lines

merge meta_contacts branch with trunk. Meta contacts are not in gajim yet, but framework is here. We now use gajim.contacts.many_functions() to handle contacts and groupchat_contacts.

........
r4963 | asterix | 2006-01-01 11:43:24 -0700 (Sun, 01 Jan 2006) | 2 lines

correct contacts file

........
r4964 | asterix | 2006-01-01 11:47:26 -0700 (Sun, 01 Jan 2006) | 2 lines

dict.remove() doesn't exists, it's del dict[]

........
r4965 | asterix | 2006-01-01 11:50:15 -0700 (Sun, 01 Jan 2006) | 2 lines

some missing commits from branch

........
r4966 | asterix | 2006-01-01 11:53:30 -0700 (Sun, 01 Jan 2006) | 2 lines

end of gc_contact.nick -> gc_contact.name

........
r4967 | asterix | 2006-01-01 12:05:59 -0700 (Sun, 01 Jan 2006) | 2 lines

new ACE option: send_sha_in_gc_presence that allow to send sha info in groupchat presences

........
r4968 | asterix | 2006-01-01 12:12:36 -0700 (Sun, 01 Jan 2006) | 2 lines

0.9.1-2 in debian that solve the group bug (commit [4924])

........
r4969 | asterix | 2006-01-01 12:31:13 -0700 (Sun, 01 Jan 2006) | 2 lines

typo

........
2006-01-01 20:06:26 +00:00
Travis Shirk c30ee542dc Close to usable for chat, receiving messages, etc. 2005-12-31 21:55:44 +00:00
Nikos Kouremenos 19a64469f4 failsafe to dcraven 2005-12-12 15:14:58 +00:00
Yann Leboulanger 612716e2db change copyright from "Gajim Team" to real people 2005-12-09 23:30:28 +00:00
Yann Leboulanger cae7ce3bac "Gajim Team" in all hearders become "Contributors for this file" 2005-12-09 17:15:30 +00:00
Yann Leboulanger 34255e5682 Vincent left us a long time ago 2005-12-07 23:09:10 +00:00