Commit Graph

176 Commits

Author SHA1 Message Date
Stephan Erb 9bfb5753c2 Move three methods from filetransfer_window to protocol/bytestream.
One of the methods was duplicated. Additionally, apply a very few coding standards.
2009-12-10 23:53:39 +01:00
Alexander Cherniuk 7316d00766 New portion of doc-string refactoring 2009-11-25 19:52:56 +02:00
Stephan Erb 06129f45ef Let contact instances know their corresponding account.
contact.account and gc_contact.account contains the account name of the owning account. There is still code around in many placed which tries to workaround this missing information. Such code has to be migrated on per-need basis.
2009-11-05 15:57:43 +01:00
Yann Leboulanger 1c7b265c9c better file transfer error handling. Fixes #5064 2009-07-28 23:13:34 +02:00
Yann Leboulanger 2281527a5e put latest filetransfer on top 2009-06-06 19:05:49 +02:00
Yann Leboulanger 1b34a125c0 escape file name in file transfer accept dialog 2009-03-20 21:05:45 +00:00
Yann Leboulanger e389e0b16b [thorstenp] remove whitespace at eol 2008-12-03 21:56:12 +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 f87a97b683 get var where it is (missing self.). Fixes #4459 2008-11-07 08:36:55 +00:00
Yann Leboulanger 4eb3a5b5ed [thorstenp] render filetransfer window icons on demand. See #4457 2008-11-05 18:26:58 +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 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
Yann Leboulanger f321d52d24 fix var name. Fixes #4359 2008-10-03 10:17:30 +00:00
Yann Leboulanger 81c5b05943 prevent division by zero when computing filetransfer ETA. Fixes #4359 2008-10-01 16:11: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 9329bcc4c1 less and less blocking dialogs 2008-08-07 13:25:25 +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
Yann Leboulanger 74c53da32a fix arguments order in contacts.py, some coding standards. should fix #4081 2008-07-05 19:04:27 +00:00
Yann Leboulanger d88b93b1ff os.access() on a folder under windows doesn't mean anything. fixes #3587 2007-12-03 21:21:10 +00:00
Yann Leboulanger 114f519337 default description is '' instead of None 2007-11-20 21:39:21 +00:00
Yann Leboulanger 100360fe3e [tibg] ability to add a description when we send a file. Fixes #3491 2007-11-20 21:19:43 +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 34f04c69b7 stoped -> stopped 2007-10-10 16:19:22 +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 ac3332be39 [CrashMan] maximum one digit for percentages in filetransfer windows 2007-08-26 14:44:03 +00:00
Yann Leboulanger 701bdb6b85 use set_no_show_all from glade when possible instead of code. fixes #2248 2007-08-09 08:57:59 +00:00
Yann Leboulanger fddc2e6aa9 compute file transfer speed on the last 3 seonds only. fixes #2631 2007-07-25 00:33:18 +00:00
Yann Leboulanger 607f13747e don't re-open file transfert dialog when a transfert is finished. fixes #3002 2007-03-08 09:13:41 +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 47f9461584 [Jeff Bailes] improved english strings 2007-01-02 13:36:54 +00:00
Yann Leboulanger 53b901cf4e [Yavor Doganov] some typoe in strings and comments 2007-01-02 12:17:51 +00:00
Yann Leboulanger 867abb8677 updated buttons in FT window when selected row status changes. fixes #2785 2006-12-15 18:59:24 +00:00
Yann Leboulanger 2ee4333b0b escape filename before adding them to filetransfert window. fixes #2582 2006-10-16 21:48:20 +00:00
Dimitur Kirov 70d1977c00 check file permissions before saving avatar
catch FileChooser 'response' signal, instead
of dialog buttons 'clicked' signals (gtk+-2.10)
2006-09-16 01:44:04 +00:00
Yann Leboulanger dfc3436757 fix TB when error in FT. Fixes #2418 2006-09-15 23:07:14 +00:00
Yann Leboulanger e18e1079a9 send correct error message when we decline a FT, and print error message when we get it. Fixes #2330 2006-09-14 12:19:40 +00:00
Yann Leboulanger 152093e42e [bronger] translate correclt strings during runtime. Fixes #2394 2006-09-08 22:27:04 +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 ef0604e29e in FTError dialog we show recipient instead of sender 2006-07-21 07:50:36 +00:00
Yann Leboulanger bc26593974 use gettext.install. Fixes #497 2006-06-15 06:49:04 +00:00
Dimitur Kirov 99de39fcaf don't keep dialog references in self.
(problem when we open several FT choosers, or
info dialogs)
2006-06-09 08:29:42 +00:00
Dimitur Kirov 01ba1a5c24 check if we have perms to store the file 2006-05-26 14:21:00 +00:00
Yann Leboulanger d848e71d3b menu are now shown before popup so that they are correctly placed. 2006-05-26 13:25:31 +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 0eac300378 fixes 1909
what a silly typo!
2006-04-30 20:05:12 +00:00
Dimitur Kirov 0cb3d7cbd7 we don't need escape for strings, that are
displayed as text
2006-04-26 08:40:40 +00:00
Yann Leboulanger 7719f41ecc no need to escape filname here 2006-04-26 08:33:22 +00:00
Yann Leboulanger f3457a8f0c escape filename (in case they contain _). Fixes #1897 2006-04-26 07:25:59 +00:00
Dimitur Kirov 927b6d09bc destroy dialogs on delete event
don't send streamhosts if they have been
already sent
2006-04-13 18:00:04 +00:00
Yann Leboulanger 66c198a67f don't use confirm-overwrite signal in fileChooserDialog as we don't use run() anymore 2006-04-13 10:30:21 +00:00
Yann Leboulanger e20824e6e6 typo 2006-04-10 21:15:49 +00:00
Yann Leboulanger 37252b0c21 remove debug print 2006-04-10 15:41:28 +00:00
Yann Leboulanger c9bc8fd6a7 filechooser when we receive file doesn't block anymore (no run() call). Fixes #777 2006-04-10 15:38:59 +00:00
Yann Leboulanger cf819d3835 filechooserdialog is no more blocking (no call to run() func). see #777 2006-04-10 14:45:35 +00:00
Dimitur Kirov 0c9ceace11 nonmodla FT request dialog 2006-04-08 17:02:55 +00:00
Nikos Kouremenos d47db39011 introduce new class for non modal filechooser. atm still blocks 2006-04-07 14:23:21 +00:00
Yann Leboulanger 31e54bc2ed remove many call to dialog.run() function. Some are still here, but they happend only when the user do an action (close a chat window, change status, ...). So UI is not blocked when we receive a groupchat invitation or an error message. 2006-04-02 16:11:21 +00:00
Nikos Kouremenos f5b37e61b2 make it gtkgui helpers and use it 2006-03-29 16:39:14 +00:00
Nikos Kouremenos 1524521c7f pychecker on our files. everyone please have a look so we do not do the same mistakes and in case you catch a mistake I did when cleaning 2006-03-24 18:48:26 +00:00
Dimitur Kirov ae33330ac6 send fake activate stanza to assert that proxy
works correctly
2006-03-20 21:24:10 +00:00
Nikos Kouremenos e9325a6c5f rm some prints 2006-03-15 12:27:59 +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
Yann Leboulanger 559307912e remove awaiting events associated to a FT when we remove it from FT window. Fixes #1553 2006-03-02 11:14:45 +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
Dimitur Kirov 8448be52f5 paused and stalled states now work 2006-02-12 02:25:21 +00:00
Nikos Kouremenos 3d21947e2a set home folder as default folder for fchooser and set nice title on fchooser 2006-02-10 16:12:16 +00:00
Yann Leboulanger 647e033c2d [knuckles] fix remaining time / size when resuming filetransfert. Fixes #1437 2006-01-21 21:26:29 +00:00
Nikos Kouremenos 8c33fab699 make decode filenames work allover 2006-01-18 19:50:16 +00:00
Yann Leboulanger 3dfba9098d decode correctly string under linux AND windows. Fixes #1375 2006-01-18 18:13:24 +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 f52afdcbe8 Merged revisions 5017-5020,5022-5029 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r5017 | asterix | 2006-01-06 01:55:51 -0700 (Fri, 06 Jan 2006) | 2 lines

use escape for pango markup

........
r5018 | asterix | 2006-01-06 02:21:39 -0700 (Fri, 06 Jan 2006) | 2 lines

missing new contacts function

........
r5019 | asterix | 2006-01-06 11:03:07 -0700 (Fri, 06 Jan 2006) | 2 lines

handle the click on toggle_gpg_encryption menuitem

........
r5020 | asterix | 2006-01-06 11:14:14 -0700 (Fri, 06 Jan 2006) | 2 lines

use the saved size even if a chat window is already opened

........
r5022 | asterix | 2006-01-07 03:43:47 -0700 (Sat, 07 Jan 2006) | 2 lines

we can now resume filetransfert

........
r5023 | asterix | 2006-01-07 03:56:31 -0700 (Sat, 07 Jan 2006) | 2 lines

[Knuckles] Google E-Mail Notification

........
r5024 | asterix | 2006-01-07 04:02:16 -0700 (Sat, 07 Jan 2006) | 2 lines

better string

........
r5025 | asterix | 2006-01-07 04:14:32 -0700 (Sat, 07 Jan 2006) | 2 lines

fix a TB

........
r5026 | asterix | 2006-01-07 05:36:55 -0700 (Sat, 07 Jan 2006) | 2 lines

we can now drag a file on a contact in the roster to send him a file

........
r5027 | asterix | 2006-01-07 06:26:28 -0700 (Sat, 07 Jan 2006) | 2 lines

contact.groups is always a list, even if emtpy

........
r5028 | asterix | 2006-01-07 06:54:30 -0700 (Sat, 07 Jan 2006) | 2 lines

make all buttons insensitive on a category row in disco

........
r5029 | asterix | 2006-01-07 07:19:25 -0700 (Sat, 07 Jan 2006) | 2 lines

auto open groupchat configuration window when we create a new room

........
2006-01-07 17:25:35 +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
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
Nikos Kouremenos 7a45a5c96d fix typo 2005-12-05 15:15:46 +00:00
Nikos Kouremenos 0a5ac5d80c fix strings in places; add comments; updatea bit greek trnaslation [now has 666 translated messages] 666!! that rocks 2005-12-02 14:08:40 +00:00
Nikos Kouremenos fbec47dd3f sec text should not be escaped for pango as it is put in pango formatting. apostrophe etc show ok now in file req window 2005-11-23 22:33:58 +00:00
Yann Leboulanger 64f6f1dfd1 better string 2005-11-21 14:07:32 +00:00
Yann Leboulanger e235a7b0f5 fix a string 2005-11-21 13:52:37 +00:00
Yann Leboulanger 8cdc21f0cd filenames are utf-8 in gtk 2005-11-18 08:53:09 +00:00
Nikos Kouremenos 3238b6ad94 various minor 2005-11-13 19:31:47 +00:00
Nikos Kouremenos 36cc5bfa5d WINAPI: Gajim now can detects file lock and does not allow sending the file. 2005-11-01 20:01:14 +00:00
Yann Leboulanger 726640ef4b the old self.plugin variable becomes gajim.interface, no need to pass it to every functions/classes 2005-10-20 11:17:17 +00:00
Dimitur Kirov b9dc709800 show error on trying to send 0 byte files,
fixed button sensitivity on stopped&not_started
transfers
2005-10-07 12:00:33 +00:00
Nikos Kouremenos b90d56cf17 adding back a FIXME that dimitur removed wihtout fixing! 2005-09-13 21:36:23 +00:00
Dimitur Kirov b38911c514 fixed TB due to code from the older version 2005-09-13 20:09:19 +00:00
Nikos Kouremenos fcc4a6a0ce class higdialog class and add report this bug in exception dialog and add some fixes for adding icons to buttons 2005-09-11 13:41:21 +00:00
Dimitur Kirov 3cfd5541de fix tb, because of the new HigDialog 2005-09-10 12:16:08 +00:00
Dimitur Kirov bbf068c7db moved 'speed' in the time column. Still ugly! 2005-09-08 22:27:00 +00:00
Dimitur Kirov 268a265211 moved time column before progress column. It
still looks disgusting. Suggestions for  the
layout are welcome!
2005-09-08 22:19:26 +00:00
Dimitur Kirov ba4fadc5cc add estimated time and speed to FT 2005-09-08 22:12:14 +00:00
Dimitur Kirov 50679ba5c2 add a progressbar to FT model 2005-09-08 20:05:28 +00:00