Commit graph

147 commits

Author SHA1 Message Date
Jean-Marie Traissard
68619a5597 No space in indentation, /src/common/ part 2007-02-04 18:57:25 +00:00
Yann Leboulanger
ba2b1a0f58 change function name. see #2898 2007-01-17 11:40:59 +00:00
Yann Leboulanger
abcb9a35f1 handle correltly SRV and registration on IDN servers. fixes #2898 2007-01-16 22:36:41 +00:00
Yann Leboulanger
53b901cf4e [Yavor Doganov] some typoe in strings and comments 2007-01-02 12:17:51 +00:00
Nikos Kouremenos
e3dd735831 yeah it is official. Gajim runs on Windows Vista. Now it even detects it and sends it as OS [previously was just saying Windows]. Long Live Ballmer! [hahaha]: http://img86.imageshack.us/img86/7944/myvistadesktopow7.jpg 2006-11-29 02:34:07 +00:00
Yann Leboulanger
c69061b41c do not allow to join a malformed room (abc/def@server.org). fixes #2520. 2006-11-22 23:21:33 +00:00
Nikos Kouremenos
0c5a736d0e fix bad logic 2006-11-18 23:48:31 +00:00
Nikos Kouremenos
49f1cd3bcf calling the module SRE is deprecated [in py25] in favor of RE. so use RE 2006-11-18 23:21:59 +00:00
Alex Mauer
54fc7cb2b9 * Wait for lsb_release after we're done with it, so it doesn't stay
defunct
2006-11-14 23:07:14 +00:00
Jean-Marie Traissard
b978097c42 Removed import sys, useless since [7326] 2006-11-03 06:41:34 +00:00
Jean-Marie Traissard
1a12bcc831 Do not print unwanted notifications for file_* events 2006-11-03 05:41:11 +00:00
Nikos Kouremenos
fa20b21507 use locale.getpreferredencoding() instead of sys.getfsencoding in decode_string 2006-11-02 13:42:51 +00:00
Nikos Kouremenos
c494b7f5b9 if it is alreayd unicode instance, do not decode 2006-11-02 13:40:57 +00:00
Nikos Kouremenos
78e56c56e8 rm the print 2006-10-20 10:08:08 +00:00
Nikos Kouremenos
cdb7fb67e6 add print to assist baze. see #2600 2006-10-20 09:43:40 +00:00
Nikos Kouremenos
b37bf4ec0a common/helpers also does exo-open 2006-10-20 09:25:14 +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
Nikos Kouremenos
9dbc502b54 fix identation 2006-09-28 14:47:18 +00:00
Nikos Kouremenos
b19b73d4cc use better varname; put a comment or two; try to make it better understandable; rm two unneeded lines 2006-09-28 13:35:53 +00:00
Jean-Marie Traissard
19dbb37f80 Fix var name 2006-09-28 10:56:03 +00:00
Nikos Kouremenos
72e8da7130 intro helpers.build_command and fix helpers.exec_command(). fixes #2464 [now all is okay if path has spaces] 2006-09-28 10:44:16 +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
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