Commit Graph

240 Commits

Author SHA1 Message Date
Yann Leboulanger 47920cf074 add some debuging info when saving avatar fails 2009-12-30 11:04:26 +01:00
Yann Leboulanger c1f526c07d fix import order to be able to run tests 2009-12-02 10:23:17 +01:00
Stephan Erb b73bbb8cae Merge local changes. 2009-12-01 22:16:30 +01:00
Stephan Erb ca382031eb Fix bug that prevented avatars to be shown in groupchats. Bug was due to a wrong re-use of a local variable (local variabes are evil :-).
Additionally: Remove some appreviations and unneeded local variables.
2009-12-01 22:15:35 +01:00
Yann Leboulanger 002b8a720f finish using icon theme. Fixes #2378 2009-12-01 15:50:58 +01:00
Stephan Erb 9b7ae8cac3 Small cleanups for avatar save. Also fixes #5461.
* set default file type for avatars centrally
 * remove client side decision logic determing if a avatar loookup shall happen for a groupchat contact or for a normal contact
 * remove unused method (this one was triggering the traceback in #5461)
2009-11-29 23:06:49 +01:00
Yann Leboulanger 5b10d8fe5c base of using icon themes. see #2378 2009-11-27 16:42:32 +01:00
Alexander Cherniuk 7316d00766 New portion of doc-string refactoring 2009-11-25 19:52:56 +02:00
Stephan Erb 76b1f54738 Backed out changeset 2ceb94d0630d
This commit does not improve overall structure in gajim in a logical way.
It seems untested (is broken) and is therefore rejected.
2009-10-24 09:46:08 +02:00
Yann Leboulanger f6136a7058 [henning] fix german translation. Fixes #5356 2009-10-23 09:55:50 +02:00
Yann Leboulanger b3704d37c5 show list-multi in a treeview when there are too much options. Fixes #3046 2009-08-31 21:45:52 +02:00
Jonathan Schleifer f7014072a7 Remove all OS X-specific code from the default branch.
OS X support is still maintained in the osx_newbuildsys branch - and
only there.
2009-06-15 21:34:38 +02:00
Yann Leboulanger e8b0090e9e set iconset to DEFAULT_ICONSET when configured one doesn't exist. Fixes #5083 2009-06-10 11:44:58 +02:00
Yann Leboulanger 4ac97dae2b make instruction label of dataforms wrapable. see #4724 2009-04-08 18:52:50 +00:00
Yann Leboulanger 062d6877b7 [brubru] fix glade dir. see #4770 2009-02-11 09:44:17 +00:00
Yann Leboulanger 89f02b1feb [thorstenp] replace filter lambda with list comprehension 2008-12-03 22:04:42 +00:00
Yann Leboulanger e389e0b16b [thorstenp] remove whitespace at eol 2008-12-03 21:56:12 +00:00
Yann Leboulanger 3392c54dd0 [thorstenp] fix empty exception clauses 2008-12-03 21:37:05 +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 fd7f0734b6 remove useless print 2008-10-22 15:49:31 +00:00
js 72f30bd80b Complete activity icon set.
Special thanks to Rederick Asher!
Fixes #4140.
2008-10-22 14:21:57 +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 158538b81c [thorstenp] rename some var to not hide builts-in functions (list -> list_, ...) 2008-10-11 10:22:04 +00:00
Yann Leboulanger ba12a63d55 [thorstenp] replace file with open 2008-10-11 09:38:17 +00:00
Yann Leboulanger 567f1e17c1 [thorstenp] di not use emtpy except clauses 2008-10-11 09:37:13 +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 8bc9bc29ae * Big headers review
* Remove some licencing problems
 * To do: same for images
 * See #4200
2008-08-15 03:20:23 +00:00
Yann Leboulanger 2315fa2b4a fix saving avatar in info window. Fixes #4188 2008-08-10 20:43:38 +00:00
Yann Leboulanger 5fbea47130 warning dialogs when closing a chat window are non blocking 2008-08-08 15:19:08 +00:00
Yann Leboulanger 9329bcc4c1 less and less blocking dialogs 2008-08-07 13:25:25 +00:00
Stephan Erb f5be05a14a Coding style 2008-08-06 20:19:16 +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 f7d8631a5c New activity dialog. 2008-07-28 20:57:56 +00:00
Jean-Marie Traissard aa749cb77b Remove useless function and check. Make avatar in notification works with jpeg too. See #4060. 2008-07-27 10:21:51 +00:00
js c5e679a078 Show mood in chat window. 2008-07-22 21:08:52 +00:00
Jean-Marie Traissard 968b2acc4f http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with
'is' or 'is not', never the equality operators."
Comparisons to None part; second one...
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:26:07 +00:00
Yann Leboulanger 5dd0d4fce8 move functions that build icons to gtkgui_helpers instead of roster_window. Fixes #3873 2008-04-17 14:17:14 +00:00
Yann Leboulanger b3bafa75ff never move a window outside the screen. fixes #3501 2008-01-22 17:47:56 +00:00
Yann Leboulanger c33d19113c [mmassonnet] XFCE -> Xfce 2007-11-26 10:17:12 +00:00
James Newton f1d3f85037 Fixed a bug with forcing autodetection of browser/mail during startup when the
config file already existed and had a different option choosen. Added in an
'Always use OS/X default applications' option for when running on OS/X. Changed
the custom defaults to use OS/X native applications.
2007-11-17 15:03:02 +00:00
Yann Leboulanger 605caae2b8 My name has changed 2007-10-22 11:33:50 +00:00
Yann Leboulanger 22c1aeda29 next release will be GPL v3. fixes #3290 2007-10-22 11:13:13 +00:00
Yann Leboulanger 10f8279e57 NonModalConfirmationDialog and ConfirmationDialognow automaticaly close window on ok or cancel. fixes #3486 2007-10-07 17:22:47 +00:00
Yann Leboulanger 0585a8475f fix ConfirmationDialogCheck callback behaviour 2007-10-01 17:11:47 +00:00
Stephan Erb 2fdeabc012 Add my copyright :-) 2007-08-31 23:19:23 +00:00
Stephan Erb b1136a6959 Generalize save_avatar_files() and generate notif and bw version for local avatars. 2007-08-26 10:23:39 +00:00
Julien Pivotto a5e155792b Use another function to get color string. Fix #2906. 2007-06-17 12:09:45 +00:00
Yann Leboulanger 42b1a1fff8 [bronger] make force avatar work under windows. see #2967 2007-04-22 18:05:53 +00:00
Yann Leboulanger 2ef20efac5 add ability to set an avatar for a contact. fixes #2967 2007-04-22 10:23:23 +00:00
Yann Leboulanger 290df83c80 show combobox in dataform widget when there are more than 5 options. see #3046 2007-03-20 14:09:27 +00:00
Jean-Marie Traissard bb0a985432 If we can't find gajim-remote, stop checking everytime if we are default client 2007-02-12 16:53:59 +00:00
Jean-Marie Traissard d37e7d8e3e No space in indentation, checked by drpython (editor). /src part 2007-02-04 13:01:04 +00:00
Jean-Marie Traissard bcbcc98b06 Close the pixbufloader in all cases. Fixes gtk warnings in console. 2007-01-21 20:16:29 +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
junglecow 3be5a9df3b In debug mode, log exception. 2007-01-06 15:31:30 +00:00
junglecow f060342b5e Catch only what you expect. We don't want to catch things like unknown variables (and other programming errors) and SystemExit. 2007-01-06 14:15:49 +00:00
Yann Leboulanger 02285f0a84 [misc] more robust KDE integration. fixes #2872, #2871 2007-01-06 09:45:12 +00:00
Yann Leboulanger bf35cab4fc create ~/.kde/share/services/xmpp.protocol if it does not exist. 2007-01-05 19:44:53 +00:00
Yann Leboulanger a581391c03 typo in a comment 2007-01-05 19:26:10 +00:00
Yann Leboulanger 148c216c58 handle correctly xmpp:// registration under KDE. fixes #2869 2007-01-05 19:19:29 +00:00
Yann Leboulanger 959687c262 check at startup if gajim is the default xmp:// handler and prompt user if it's not. fixes #2861 2007-01-05 17:20:58 +00:00
Yann Leboulanger cafef3c1c5 [misc] handle uri like room_jid?join. see #2133 2007-01-02 02:45:43 +00:00
junglecow 9deb76a8ad - Started new way of logging, with configurable level for each subsystem
- Added -q, --quiet (speaks for itself)
   - Added -l, --loglevel subsystem=LEVEL,subsystem2=LEVEL2,...
 - Quell winsock 10035 error. (Equivalent of EINPROGRESS, but winsock likes to have its own error numbers.)
 - Hide SSL certificate debug stuff unless gajim.c.x.transports loglevel is DEBUG or lower
 - Avoid unicode problems if we set a profile
 - Move fingerprint checks from _register_handlers to _connect_success
 - Some enhancements to fpr checking code
2006-12-23 21:18:07 +00:00
junglecow 44674f7e75 - Implement matching of fingerprints against servers.xml
- Add support for fingerprints to servers.xml parser.
 - Add support for 'hidden' servers to servers.xml parser.
 - Add some fingerprints to servers.xml, for testing and as example for the new format.
 - Force asynchronous (nonblocking) SSL handshake in all case
 - Add logging to c/connection.py

Known issues:
 - Checking of fingerprints doesn't work on in-band SSL (Typically port 5222) because of stuff happening out of sequence. Workaround: use immediate SSL mode ("Legacy SSL" option in server config). Because there is as of yet no other way to /force/ SSL, this is also the most secure setting.
 - A lot of code is still looking for a better place to live.
2006-12-22 23:30:23 +00:00
Jean-Marie Traissard 30b1c838dd Prevent TB 2006-12-19 22:50:53 +00:00
Yann Leboulanger dc88124dcf handle correctly strange behaviour of GTK 2006-12-03 12:54:34 +00:00
Jean-Marie Traissard 31c3deb86e Merge back [7466], [7467] and [7472] that were overwritten by ad_hoc merge. Fixes
#2200.
2006-11-19 19:45:43 +00:00
Tomasz Melcer 175a792cfe Merging changes from trunk (6774:7465) 2006-11-18 20:52:28 +00:00
Tomasz Melcer 9b29c4c8b8 Merging changes from trunk (6561:6774) 2006-09-13 16:47:58 +00:00
Tomasz Melcer 585ab90e92 Merging changes from trunk (6496:6561) 2006-07-17 19:30:53 +00:00
Yann Leboulanger bc26593974 use gettext.install. Fixes #497 2006-06-15 06:49:04 +00:00
Dimitur Kirov 5b019e9341 save avatar from our own vcard 2006-06-09 14:42:20 +00:00
Yann Leboulanger 3e1dd88ee0 we can now save avatars on HD where we want (right click on image). Fixes #1817 2006-05-26 13:19:52 +00:00
Dimitur Kirov 8f239a4be0 moved completion definition in a function
get_completion_liststore in gtkgui_helpers
2006-05-08 21:59:09 +00:00
Dimitur Kirov 5e6b016af1 split gtkgui.glade in several small glade
files, which are now located in data/glade/
2006-05-02 15:53:25 +00:00
Dimitur Kirov 5c9613db65 break more circular references that keep
objects alive (the other 1/2 of #1829)
context menu for groupchat banner
2006-04-18 15:36:16 +00:00
Dimitur Kirov b6ca28f342 make sure ChatControl instances are destroyed
when chat tab is closed
1/2 fixes #1829
2006-04-17 21:59:04 +00:00
Yann Leboulanger af424d5bb9 fixes encoding problems when choosing a file in FileChooserDialog on non-utf-8 systems 2006-04-12 13:56:30 +00:00
Yann Leboulanger 30f7f7bea8 don't rescale image when size is < 1 2006-04-07 19:03:38 +00:00
Yann Leboulanger c0bcd072c0 destroy context menu when selection is done. see #1820 2006-04-07 15:51:17 +00:00
Nikos Kouremenos db1cffb299 parent.destroy() destroys childs too 2006-04-07 11:09:11 +00:00
Yann Leboulanger d91d0e0b0e emoticons_menu is created only once, and correctly destroyed when we change emoticon theme. (It was never destroyed before -> memory leak) 2006-04-05 09:55:22 +00:00
Nikos Kouremenos bbdeaa8768 fix but cut paste 2006-03-29 16:46:12 +00:00
Nikos Kouremenos f5b37e61b2 make it gtkgui helpers and use it 2006-03-29 16:39:14 +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 2f503fa7bf rm more leftovers 2006-03-25 11:06:54 +00:00
Nikos Kouremenos 15d93107ba rm a FIXME 2006-03-25 11:01:11 +00:00
Yann Leboulanger f355cb043a replace / in gc nicks by _ before we save vcard / avatars 2006-03-14 18:09:09 +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 f9d0421d33 jids and nicks are now punycoded before we store on HD. See #1030 2006-03-10 18:48:14 +00:00
Yann Leboulanger 3355cf4ea3 room_contacts vcards are now saved in room_jid folder. Fixes #1105 2006-03-09 18:41:57 +00:00
Yann Leboulanger 549872473c cleaner code 2006-03-08 15:56:49 +00:00
Nikos Kouremenos 5d6c0db657 fix copyright header 2006-03-02 13:13:35 +00:00
Nikos Kouremenos b2cd018b52 well return :P 2006-02-26 14:47:23 +00:00
Nikos Kouremenos 6a0ab2290f introduce gtkgui helper get_state_image_from_file_path_show(file_path, show) 2006-02-26 14:33:44 +00:00
Nikos Kouremenos cb6f163f02 VCARDPATH --> VCARD_PATH 2006-02-15 10:44:41 +00:00
Nikos Kouremenos 1a34074136 if avatar is too big, scale it using notification size (by default to 48x48) and hope that now filesize is small enough. aka we are not Gimp 2006-02-09 16:47:31 +00:00