Commit Graph

238 Commits

Author SHA1 Message Date
Nikos Kouremenos 59d5f23182 show the widget (linkbutton or label) before adding it 2006-10-02 16:24:10 +00:00
Stefan Bethge 42cf836b7a add copyright line 2006-10-02 12:14:56 +00:00
Stefan Bethge 6a38879014 add new zeroconf 'vcard' window, shows the information from the txt record 2006-09-29 14:39:29 +00:00
Dimitur Kirov 5fc8cf20f3 merge from trunk 2006-09-26 15:57:47 +00:00
Jean-Marie Traissard 1cf3a69d7b Do not wait for os_info if contact is not connected 2006-09-26 03:07:52 +00:00
Nikos Kouremenos bbc0940942 better varname 2006-09-25 21:14:59 +00:00
Jean-Marie Traissard 8a12655ec7 Close button in vcard and profile windows 2006-09-25 05:20:06 +00:00
Yann Leboulanger 2ebd0af9de show URL in linkbutton. Fixes #2439 2006-09-22 15:03:54 +00:00
Yann Leboulanger b02eeac875 remove useless self. 2006-09-22 15:00:51 +00:00
Yann Leboulanger a698a969ae do not override jid_label in vcard when we get the vcard. Fixes #1840 2006-09-19 08:52:51 +00:00
Yann Leboulanger af68b178a1 add progressbar in vcard window and hide it when we get vcard and os info. For #1840 2006-09-19 08:17:36 +00:00
Yann Leboulanger 3729e89099 use LinkButton in vcard window only if there is an URL. 2006-09-16 15:56:39 +00:00
Yann Leboulanger f69cd8ad5c use Linkbutton in vcard window if we have PyGTK2.10. For #1840 2006-09-16 12:20:12 +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 3399924761 don't put contact's avatar in a button. Fixes #2381 2006-09-08 21:34:10 +00:00
Yann Leboulanger 63b3c93a6f fix TB when viewing gc vcard 2006-09-08 18:53:10 +00:00
Yann Leboulanger a678c35b3f vcard window now uses label instead of entry
new profile_window to edit our vcard. For #2381
2006-09-08 17:35:28 +00:00
Yann Leboulanger 8896419494 [patrys] new vcard window. For #1840 2006-09-02 21:51:16 +00:00
Travis Shirk 6fe8efff64 Removed set_transient_for(roster) for windows/dialogs that can be launched from
message windows (i.e., the window appears on the roster desktop rather than the current
desktop).  There may be some more places where this may be wanted, but this hits the
major ones.
2006-08-30 03:25:28 +00:00
Yann Leboulanger 3175c9113a don't ask os info when we are invisible. For #1964 2006-08-21 19:54:09 +00:00
Yann Leboulanger 196062bbc2 use window.set_transient_for(parent) for some windows. Fixes #1024 2006-07-17 20:27:30 +00:00
Yann Leboulanger 5a9320c85c Fixed TB qith ICQ transport. Fixes #2159 2006-07-17 11:31:42 +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
Dimitur Kirov bfe397a27d show avatars in roster, if there is no 'TYPE'
attribute in vcard
2006-06-09 13:41:31 +00:00
Jean-Marie Traissard 936b99cc3e Don't try to disconnect signal that has been disconnected before. Fixes #2030. 2006-06-05 15:11:27 +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
Yann Leboulanger 5748b3c276 avatar size (when the original one is too big) is now 125x125 instead of 48x48 2006-05-07 19:00:38 +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
Yann Leboulanger f7c8ccea94 VcardWindow now takes a new argument: is_fake, need to be true when we open a vcard for a fake jid 2006-04-28 20:55:45 +00:00
Dimitur Kirov 8f645b8661 msg should be string, not object instance
show error dialog if file_path is not a file
   or file_size is 0
2006-04-12 14:47:31 +00:00
Yann Leboulanger 7a723b51ee decode filename only once 2006-04-12 14:25:33 +00:00
Yann Leboulanger 6b1e1d1c8b remove useless function. It has moved to dialogs.py. 2006-04-10 21:29:50 +00:00
Yann Leboulanger e2ed5d82ff new non-blocking ImageChooserDialog. Fixes #777 2006-04-10 19:49:24 +00:00
Nikos Kouremenos db1cffb299 parent.destroy() destroys childs too 2006-04-07 11:09:11 +00:00
Yann Leboulanger 29f41b223a we can now disable avatars by setting width or height to 0. Partially fixes #1816 2006-04-06 16:20:59 +00:00
Nikos Kouremenos a899295d80 enrich comment 2006-04-05 12:12:37 +00:00
Yann Leboulanger 2f9b0eab28 [dkirov] JEP says we should not use EXTVAL in vcard 2006-04-05 11:29:35 +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
Yann Leboulanger 8e9444d880 nickname is no more editable in gc vcard. Fixes #1766 2006-03-29 15:46:34 +00:00
Yann Leboulanger c165c12334 fix status for gc vcard. Fixes #1765 2006-03-28 20:17:13 +00:00
Yann Leboulanger ac1b00ec8b status in gc vcard. Fixes #1765 2006-03-28 14:51:02 +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
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 1c992be553 default to home folder when choosing an avatar. Fixes #1701 2006-03-14 23:07:45 +00:00
Yann Leboulanger dce057d29e avatars are in gc roster. gc avatar images are saved in room_jid folder. Fixes #1121 2006-03-13 13:25:51 +00:00
Yann Leboulanger 903393d172 prevent TB 2006-03-10 21:58:23 +00:00
Yann Leboulanger 9d045fc69b avatar is now 200x200 max in vcar window. Fixes #1582 2006-03-08 16:01:01 +00:00
Yann Leboulanger 743d514997 strftime returns local-encoded string. decode it. Fixes #1662 2006-03-05 22:09:39 +00:00
Nikos Kouremenos 0584025f8c italic instead of bold. use since for not offline contacts and last status for offline; fix spacing in vcard text 2006-02-23 21:44:05 +00:00
Nikos Kouremenos 04d6b58dc3 use focus-out-event and not changed 2006-02-23 15:54:16 +00:00
Nikos Kouremenos 506e6752ea nickname changes do instant apply now. fixes #1612 2006-02-23 14:36:41 +00:00
Yann Leboulanger 0b2f9d4617 we now keep last_status_time, show it in tooltip and information window, ask it (jabber:iq:last, JEP-0012) when we open information window. Fixes #1133 2006-02-22 14:31:01 +00:00
Yann Leboulanger 9197cbf61b update opened chat window when we change nick in information window. Fixes #1599 2006-02-21 20:51:01 +00:00
Nikos Kouremenos 36fd9dc0a8 better english and typo 2006-02-21 11:15:54 +00:00
Yann Leboulanger 9fe2475eba show a correct vcard when it's the one of a contact that request our subscription. Fixes #1524 2006-02-20 21:30:45 +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
Nikos Kouremenos c4ea6556bb 16 kb as max for avatar. to follow: auto resize bigger images 2006-01-20 13:58:52 +00:00
Nikos Kouremenos 8c33fab699 make decode filenames work allover 2006-01-18 19:50:16 +00:00
Yann Leboulanger 9d7f27bf66 gtk always return utf-8 strings. fixes #1375 2006-01-11 08:58:56 +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 757ed426e3 Merged revisions 4987-4989,4991-4996,4999,5003 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r4987 | nk | 2006-01-03 04:00:51 -0700 (Tue, 03 Jan 2006) | 1 line

commit 48x48 transport online/offline imgs by Grenshad (I pngcrushed them)
........
r4988 | nk | 2006-01-03 04:32:01 -0700 (Tue, 03 Jan 2006) | 1 line

icon in notification window not always jabber now. MSN if he uses msn etc. thanks stian barmen for helping me test
........
r4989 | nk | 2006-01-03 04:40:44 -0700 (Tue, 03 Jan 2006) | 1 line

all strings I got report about them, are not translatable; pot/po update
........
r4991 | asterix | 2006-01-03 08:08:21 -0700 (Tue, 03 Jan 2006) | 2 lines

don't remove the jid entry in _contacts[account] when we remove a contact

........
r4992 | asterix | 2006-01-03 08:18:30 -0700 (Tue, 03 Jan 2006) | 2 lines

fix logic

........
r4993 | asterix | 2006-01-03 09:04:14 -0700 (Tue, 03 Jan 2006) | 2 lines

a GC_Contact can have a resource if we knoe his real JID

........
r4994 | asterix | 2006-01-03 09:32:58 -0700 (Tue, 03 Jan 2006) | 2 lines

missing argument in create_gc_contact

........
r4995 | asterix | 2006-01-03 10:36:41 -0700 (Tue, 03 Jan 2006) | 2 lines

we save gc_contact vcard instance in instances[self.account]['infos'][Fake_jid]

........
r4996 | asterix | 2006-01-03 11:17:43 -0700 (Tue, 03 Jan 2006) | 2 lines

in DataForm, a field of type 'list-single' can have no <value> element. Create a default one in such a case to prevent TB

........
r4999 | asterix | 2006-01-04 05:52:26 -0700 (Wed, 04 Jan 2006) | 2 lines

prevent TB when we move a contact that was in no group

........
r5003 | asterix | 2006-01-04 09:03:42 -0700 (Wed, 04 Jan 2006) | 2 lines

handle correctly unlabeled option values in DataForms

........
2006-01-05 03:17:36 +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
Nikos Kouremenos 09edc883e6 add a fixme for a string that Stian found. thanks Stian! 2005-12-08 16:03:14 +00:00
Yann Leboulanger 34255e5682 Vincent left us a long time ago 2005-12-07 23:09:10 +00:00
Yann Leboulanger c158ffe2d4 don't autoconnect signal on a widget than can be hidden (loh_history_checkbutton in vcard window) 2005-12-07 21:06:43 +00:00
Nikos Kouremenos b06a5718c4 log conversation history better string and catch change on the fly 2005-12-07 14:32:42 +00:00
Nikos Kouremenos 10d0b06d44 deny avatar if > 32kb; used to be 8 but JEP now has it at SHOULD from MUST for 8kb so be more tollerant 2005-12-02 20:35:19 +00:00
Nikos Kouremenos 037e9d6b9c pychecker on vcard.py u always find sth 2005-12-01 18:07:43 +00:00
Yann Leboulanger 0bf6346ab1 [SF] fix string 2005-12-01 15:21:20 +00:00
Yann Leboulanger 751ec180a0 add tooltips in vcard window about subscription and as 2005-12-01 14:42:25 +00:00
Nikos Kouremenos c3012b4ec6 fix a tb for contacts that have EXTVAL in vcard 2005-11-16 11:05:45 +00:00
Nikos Kouremenos 51601d42cc mime_type is better than glob syntax for filefilter; also fix logic 2005-11-14 15:54:13 +00:00
Nikos Kouremenos 1921c43a94 try to prevent circular imports 2005-11-13 20:25:04 +00:00
Nikos Kouremenos 082fc7aaa9 fixing dict name: gajim.interface.windows --> gajim.interface.instances 2005-11-13 15:08:47 +00:00
Nikos Kouremenos 0d3be44948 error about size too big should not come after we close fchooser 2005-11-10 12:43:37 +00:00
Nikos Kouremenos 0670282453 better funcname 2005-10-31 11:06:11 +00:00
Yann Leboulanger 17f67e6a90 remove unneeded BeautifulSoup class
refactor the code so that it's not dup (vcard.get_avatar_pixbuf)
2005-10-31 10:23:33 +00:00
Nikos Kouremenos 8a1326a810 sys.getfilesystemencoding() can return None to some systems (eg. OpenBSD). Thanks Jolan for patches 2005-10-21 13:21:31 +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
Nikos Kouremenos 7671dae8b8 missing import 2005-10-03 18:27:39 +00:00
Nikos Kouremenos f6470778a6 we now show a happy dialog on nick conflict asking (and even proposing new nick); also refactor code and add a new gtkgui helper 2005-10-03 18:19:31 +00:00
Nikos Kouremenos 85b1dcd9a4 not the path, just the name, or else bold makes it huge 2005-09-22 11:35:59 +00:00
Yann Leboulanger 4d4434c951 do not send None as avatar mime tye 2005-09-15 16:57:42 +00:00
Nikos Kouremenos a725792f36 remove lazy exception catching and fix logic for previewing images 2005-09-05 13:59:41 +00:00
Nikos Kouremenos ef06e78abb scale and catch for avatar & emoticon 2005-09-05 13:35:45 +00:00
Nikos Kouremenos 4523a1f4b3 we always scale avatar image to 100x100 2005-09-05 12:26:05 +00:00
Nikos Kouremenos 88b2f3b1f1 do some ellipsize via glade2.10 and remove some fixmes 2005-09-03 12:43:12 +00:00
Nikos Kouremenos ac34593ff6 [hawke] fix 2 fields to be editable 2005-09-01 16:16:46 +00:00
Nikos Kouremenos 4902e17742 [stephan k.] fchooser now does unicode correctly 2005-08-30 21:03:23 +00:00
Nikos Kouremenos 780b3d4e20 avatar/win32: open with rb so windows are ok 2005-08-26 22:12:19 +00:00
Nikos Kouremenos 121911f8f6 more of isinstance 2005-08-26 12:52:40 +00:00
Nikos Kouremenos cec336112d [Stéphan K.] make most strings we use unicode instacnes 2005-08-26 00:52:44 +00:00
Nikos Kouremenos e641745500 using comments and Q_() for make disctioning of None and Unknown strings. this breaks strings freeze but I hope it is for the good and I hope it is the last time [sorry ppl] 2005-08-12 22:32:35 +00:00
Nikos Kouremenos 0807d207d2 fix string 2005-08-06 23:22:57 +00:00
Nikos Kouremenos a0e7df5961 typo 2005-08-05 15:15:31 +00:00
Nikos Kouremenos 885b1d9e91 uf_sub, uf_ask and they are translatable too 2005-08-04 22:08:33 +00:00
Nikos Kouremenos fa5ddbe498 better and translatble strings 2005-08-04 19:48:57 +00:00
Nikos Kouremenos 5ffbf2dbc0 uf_show for vcard 2005-08-03 10:59:44 +00:00
Nikos Kouremenos 2bf0f3e625 remove some user in favor of contact and fix a CB name 2005-07-24 19:36:26 +00:00
Nikos Kouremenos e06c4551c3 we now explain Resource (5) in a tooltip 2005-07-24 19:31:37 +00:00
Yann Leboulanger b4ff6fd116 vcard now works in gc 2005-07-20 12:48:11 +00:00
Yann Leboulanger b14b33fb1b fix some bug thanks to pychecker 2005-07-19 20:12:02 +00:00
Yann Leboulanger a47cca07f0 move var that have nothing to do with GTK to gajim instead of roster or gajim.py: contacts, groups, newly_added, to_be_removed, awaiting_messages (was queues), nicks, allow_notifications, con_types, sleeper_state 2005-07-18 21:08:31 +00:00
Nikos Kouremenos 4ec2eea678 update_user => update_contact 2005-07-18 14:52:28 +00:00
Nikos Kouremenos f2cb015f73 user --> contact in some functions name, also type is contact too now 2005-07-07 16:38:36 +00:00
Nikos Kouremenos 8729b19c8e publish, retrieve buttons now in glade. and we just hide them if we do not need them 2005-07-06 13:05:07 +00:00
Nikos Kouremenos 3f32315dd0 moving init above 2005-07-02 23:03:57 +00:00
Yann Leboulanger ea7d45ac2a fixes in editable properties of some entries in vcard (fix #438) 2005-06-26 21:35:52 +00:00
Yann Leboulanger 5e3a405329 we now have Contacts in gc, so we can ask information to everyone (even if we don't have the real jid) 2005-06-26 19:40:57 +00:00
Nikos Kouremenos 8e94b98d6e include 2.6.0 check 2005-06-18 15:29:05 +00:00
Nikos Kouremenos 268fba26b4 fix #441 by adding a tooltip and max_width [pygtk2.6 only] 2005-06-14 15:51:34 +00:00
Nikos Kouremenos d549183d4e hig a string 2005-06-12 20:38:19 +00:00
Nikos Kouremenos c77387346c adhering to our new coding style for Classes and fixing glade banners stuff 2005-06-10 22:45:50 +00:00
Nikos Kouremenos f82addfce5 altering a patch by denis craven and commiting 2005-06-10 22:04:59 +00:00
Nikos Kouremenos 3d59234f7f class name Foo_widgettype becomes FooWidgettype so we now look 100% pygtkish [sed rocks] 2005-06-10 21:14:16 +00:00
Nikos Kouremenos d88ca88a4a clear avatar removes avatar now 2005-06-10 20:40:07 +00:00
Nikos Kouremenos 02186cd67f filechooser for avatar and emoticon has now preview 2005-06-10 19:03:32 +00:00
Yann Leboulanger ad19f954ac fix #421 2005-06-10 13:46:41 +00:00
Nikos Kouremenos 53cfc5a79c typo 2005-06-10 13:43:39 +00:00
Nikos Kouremenos a890d43cf7 fix #421 2005-06-10 13:14:52 +00:00
Nikos Kouremenos 597f84b027 fixing a Traceback 2005-06-07 19:54:32 +00:00
Yann Leboulanger 9918b17e2f check if all fiels for the photo are in vcard 2005-06-07 14:31:10 +00:00
Yann Leboulanger ce07cfe759 vcard is now fixed: we use lists for ADR, TEL EMAIL entry cause we can have several 2005-06-07 08:50:47 +00:00
Nikos Kouremenos 78c7ca566f try again later 2005-06-07 01:10:24 +00:00
Yann Leboulanger 9e58a5b68c we can now add an avatar in our vcard 2005-06-06 22:58:06 +00:00
Yann Leboulanger 051adcab4d we can now receive photos in vcard (sending it come soon) 2005-06-06 20:16:51 +00:00
Yann Leboulanger 69a6aaff74 vcard is more complete (avatar is commig soon) 2005-06-06 15:29:27 +00:00
Yann Leboulanger 561efafe65 update translation files 2005-06-01 21:29:24 +00:00
Yann Leboulanger 056ff7bd28 do not print ": " in vcard window if there is no status message 2005-05-20 15:50:44 +00:00
Nikos Kouremenos 8a6132d929 clean up in vcard.py 2005-05-16 14:15:13 +00:00
Nikos Kouremenos d98a451764 send and show N/A if client or os is empty 2005-05-11 11:09:53 +00:00
Nikos Kouremenos 058b326e60 platform => os 2005-05-05 14:02:39 +00:00
Yann Leboulanger a2b6a44079 ask and show os info from each resource 2005-04-24 22:58:41 +00:00
Vincent Hanquez c0ea210834 leave vcard_window into dialogs namespace to not bloat null namespace
rename of the vcard_information_window file to something saner
2005-04-22 01:47:03 +00:00
Renamed from src/vcard_information_window.py (Browse further)