Commit Graph

222 Commits

Author SHA1 Message Date
Alexander Cherniuk f41c8d6527 Yet another improvement for the tooltip 2010-03-30 17:03:10 +03:00
Alexander Cherniuk 07da2caf61 Improved idle time displaying in the tooltip 2010-03-30 16:39:49 +03:00
Alexander Cherniuk cc7eb2ae96 Cleaned the code for the 'Idle since' tooltip item 2010-03-30 15:27:59 +03:00
Yann Leboulanger 2be53c4aac update my copyright to 2010 2010-03-11 16:52:36 +01:00
Éric Araujo 357d7db07d fixed some whitespace thanks to 2to3 -f ws_comma 2010-02-10 19:24:11 +01:00
Éric Araujo fedd7dc8e2 convert tabs to spaces in source code thanks to reindent.py
holy diff batman!
2010-02-08 15:08:40 +01:00
Yann Leboulanger 95137bae06 [Tony] print idle time in tooltip. see #5528 2010-01-06 23:12:56 +01:00
Yann Leboulanger 07be0727de [Florob] show in roster and message window geolocalisation of a contact. Fixes #5485 2009-12-07 18:32:42 +01:00
Alexander Cherniuk a23961fbf6 Big portion of doc-string refactoring 2009-11-25 22:59:43 +02:00
Yann Leboulanger eb11c24eea egg.trayicon is dead. Light a candle :'(
Fixes #3021, #5246
2009-11-24 14:33:49 +01:00
Stephan Erb 30191888ba Create asPixbufIcon and asMarkupText functions on the UserActivity class. 2009-11-15 16:52:19 +01:00
Stephan Erb 5f4db2eed9 Unify updating of accounts and contact pep information. Implement and use asMarkupText() for tunes. 2009-11-15 10:55:31 +01:00
Yann Leboulanger 9ea2a5c677 we now depend on GTK2.12. Remove test for older versions. Fixes #4996 2009-04-27 19:28:53 +00:00
Yann Leboulanger 5834a2ae82 ability to block all contacts (from privacy list editor). Fixes #4831 2009-02-20 10:15:16 +00:00
Yann Leboulanger e389e0b16b [thorstenp] remove whitespace at eol 2008-12-03 21:56:12 +00:00
Yann Leboulanger 1d94f0fbff fix some typo. Fixes #4545 2008-12-03 20:45:26 +00:00
Yann Leboulanger 60ba33eb31 [thorstenp] fix possible undefined loop variables 2008-12-03 17:38:16 +00:00
Yann Leboulanger 31dc32eeb9 [thorstenp] fix redefined builtins 2008-12-03 17:16:04 +00:00
Yann Leboulanger c163e90b10 [thorstenp] fix unused variables 2008-12-02 15:53:23 +00:00
Yann Leboulanger 06ab4a7b6d revert thorstenp patches for now. They introduce bugs. 2008-10-20 21:38:06 +00:00
Yann Leboulanger f801a50260 [thorstenp] fix unused variables 2008-10-20 21:17:48 +00:00
Yann Leboulanger ecba68961d fix dict.get() call. Fixes #4402 2008-10-11 13:10:53 +00:00
Yann Leboulanger 196dd7e30a [thorstenp] use isinstance rather than type(x) == y. use sorted() 2008-10-11 09:59:52 +00:00
Yann Leboulanger 6cc8204319 [thorstenp] replace if statement with dict.get() 2008-10-11 09:31:48 +00:00
Yann Leboulanger 9d7c80d522 [thorstenp] replace has_key by key in dict. Fixes #4392 2008-10-07 20:41:59 +00:00
Julien Pivotto de4a23e751 See #4200.
* remove js from some headers
 * set coding:utf-8 to allow real names in headers
2008-08-15 17:31:51 +00:00
Julien Pivotto b58dfd6a59 Prevent many traceback due to headers and my last commit (it's late,
sorry)
2008-08-15 03:39:27 +00:00
Julien Pivotto 8bc9bc29ae * Big headers review
* Remove some licencing problems
 * To do: same for images
 * See #4200
2008-08-15 03:20:23 +00:00
js ad901d645f Make string better translatable. 2008-08-12 14:33:13 +00:00
Yann Leboulanger 68c5c9e6bc don't indent status row in systray tooltip. fixes #4171 2008-08-03 21:36:26 +00:00
js b38cc15186 Make tooltips consistent. 2008-07-29 20:57:13 +00:00
js 8605cd3f38 For historical reasons, we have a tab width of 3. This is strange, but
we have that in all files. To at least lesser the confusion a bit, add
vim tags for that.
Additionally, fix wrong #! in a few files.
2008-07-29 19:49:31 +00:00
js a226760275 Make moods better translatable. 2008-07-29 19:02:57 +00:00
Yann Leboulanger 0e4df7800d don't require python2.5 2008-07-29 07:08:56 +00:00
js d3b86d2105 Translate activity in tooltips. 2008-07-29 02:14:06 +00:00
js 67fb7e211c If I add that missing quote, I should add it at the right place... 2008-07-25 16:51:26 +00:00
js 486caffc00 Oops, killed that quote by mistake. 2008-07-25 16:44:20 +00:00
js 417fcaddf5 Make mood in tooltip translatable. 2008-07-22 23:27:53 +00:00
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