Commit graph

224 commits

Author SHA1 Message Date
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
8c07a06622 Don't allow notifs when we are away/xa/dnd and autopopupaway is False.
(Undo second part of [6735])
2006-09-20 17:40:42 +00:00
Yann Leboulanger
b1d32661fc fix logic for showing notification window 2006-09-06 20:15:06 +00:00
Nikos Kouremenos
bd01e5719b INTRODUCING ensure_utf8_string, use it to fix BLOCKER bug for Gajim/Windows (#2392) 2006-09-06 13:28:38 +00:00
Nikos Kouremenos
9bd4442784 since we demand python 2.4 remove 2.3 legacy support code 2006-09-06 13:15:32 +00:00
Yann Leboulanger
7a89f716e4 handle correctly notification window in ANC, particulary le tab_opened condition. 2006-09-05 15:43:07 +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
Yann Leboulanger
75fe384da4 handle advanced notification for new_message event only (without systray / roster / urgency hint that require a event refactorizatin)
use subprocess module as we depend on python2.4
2006-08-26 22:51:33 +00:00
Yann Leboulanger
a54ee0229d introduce play_sound_file function in helpers 2006-07-17 10:04:43 +00:00
Jean-Marie Traissard
10ba862ed4 We want beep per event, reverting [6494]. Sorry, thought it was a bug.
Note that if works only if beep enabled in kernel conf
2006-06-19 15:38:41 +00:00
Jean-Marie Traissard
e66a8a3430 Fix beep for event notification 2006-06-19 14:58:41 +00:00
Yann Leboulanger
bc26593974 use gettext.install. Fixes #497 2006-06-15 06:49:04 +00:00
Dimitur Kirov
b51ba152ea nkour: fix slack version 2006-05-29 14:19:18 +00:00
Dimitur Kirov
b145e59b41 moved completion dict creation in helpers.py 2006-05-08 22:44:47 +00:00
Yann Leboulanger
064b7a234c correct list of not allowed chars under windows. Fixes #1913 2006-05-02 06:36:49 +00:00
Yann Leboulanger
4e2f02c725 fix import (add missing, remove useless) 2006-04-11 18:36:09 +00:00
Nikos Kouremenos
9e35ac7aeb improve function name; move it to where we keep those 2006-04-08 10:28:53 +00:00
Jean-Marie Traissard
f2355f9e6c print submenus only when more than one account is connected, not when more than one is configured, sort
some menus in systray->chat
2006-04-06 18:37:24 +00:00
Yann Leboulanger
ba7ef979b7 common/gajim can't contain _()O so move it to helpers
prevent renaming of special groups
2006-03-30 21:35:43 +00:00
Nikos Kouremenos
1dc069f237 overkill to use sre for just replace 2006-03-30 16:08:54 +00:00
Nikos Kouremenos
6caf013f52 use much better varname and comment the heck out of it 2006-03-27 23:32:39 +00:00
Nikos Kouremenos
0190ac90a4 [jim] fix logic bug 2006-03-27 23:15:19 +00:00
Nikos Kouremenos
d1bb5cbc74 again fix logic after cut-paste 2006-03-27 23:10:41 +00:00
Nikos Kouremenos
0bd9e77fc9 fix logic. thanks Jim for report 2006-03-27 22:42:42 +00:00
Nikos Kouremenos
5528e739b0 helpers that do not relate with xmpp, belong to helpers.py not to common/gajim.py. if they have gtk they belong to gtkgui_helpers. also use those allover 2006-03-27 22:31:14 +00:00
Nikos Kouremenos
6a44733d69 commented code, beautiful code 2006-03-26 19:35:29 +00:00
Yann Leboulanger
a5d95b4792 when we change combobox, only look in global synced accounts if one is connected. Fixes #1724 2006-03-26 13:07:11 +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
Yann Leboulanger
1fafe3b08c handle correctly resources in queue of events. Fixes #1706 2006-03-25 17:05:54 +00:00
Nikos Kouremenos
eca21781cb fix len to not take into account the extension (we pass full filename anyways) 2006-03-21 13:57:02 +00:00
Nikos Kouremenos
b3bf080e6f intro helpers.sanitize_filename() to make sure we do not run, use it where it is appropriate 2006-03-21 13:55:22 +00:00
Dimitur Kirov
ae33330ac6 send fake activate stanza to assert that proxy
works correctly
2006-03-20 21:24:10 +00:00
Dimitur Kirov
540103f381 arranged some methods from connection.py in
classes defeined in connection_handlers.py
2006-03-19 14:54:00 +00:00
Yann Leboulanger
21a65d2568 minor typo 2006-03-18 08:13:27 +00:00
Yann Leboulanger
3a255e5102 fix indentation in common/helpers.py 2006-03-17 19:56:05 +00:00
Nikos Kouremenos
036265081b fix typo; also saner defaults [only first time] for last_save_dir and last_send_dir 2006-03-15 02:09:57 +00:00
Nikos Kouremenos
396c66f8f8 set avatar filechooser defaults to My Pictures in the OS that understand user needs [aka Windows] 2006-03-15 01:40:10 +00:00
Nikos Kouremenos
3e2ec2495e rm trailing spaces from helpers.py 2006-02-27 15:29:13 +00:00
Nikos Kouremenos
f674babbd1 spacing 2006-02-26 14:12:55 +00:00
Yann Leboulanger
76a3bbaf25 icon name is not in roster 2006-02-20 13:08:45 +00:00
Yann Leboulanger
4415d770fc not_in_the_roster.png -> not_in_roster.png 2006-02-20 11:02:35 +00:00
Nikos Kouremenos
967d278541 [jim++] sound events show in UI as translatable nice words. [me] refactor the whole thing 2006-02-16 15:21:34 +00:00
Nikos Kouremenos
f529f0364a revert accidental commit of common/helpers.py 2006-02-03 01:17:03 +00:00
Nikos Kouremenos
19bab6832e also commit glade file 2006-02-03 01:15:03 +00:00
Nikos Kouremenos
9f4753cc06 do not add http:// in urls. fixes #1493 2006-01-31 21:13:46 +00:00
Yann Leboulanger
1d49a10c58 remove old FIXME 2006-01-24 22:34:45 +00:00
Yann Leboulanger
2dc4eb3f21 [campey] not in the roster -> Not in Roster. Fixes #1054 2006-01-19 21:55:01 +00:00
Travis Shirk
f01c0eac85 Label string fix for #1054 2006-01-14 22:08:52 +00:00
Travis Shirk
a52596266c Merged trunk 2005-12-30 21:37:36 +00:00
Yann Leboulanger
993c09ec70 catch correct exception when interrupt system call 2005-12-21 17:55:57 +00:00