Commit Graph

417 Commits

Author SHA1 Message Date
Dimitur Kirov 8e2dd60449 set font of the tv render with the new font
attributes
2005-09-17 08:34:55 +00:00
Dimitur Kirov af9d242bc1 check for default color 2005-09-16 21:30:30 +00:00
Yann Leboulanger 973631a2c9 error messages are nowprinted as if they come from server 2005-09-15 17:33:02 +00:00
Alex Mauer b3de522e27 Comment code better; use references more often for greater efficiency 2005-09-14 23:11:13 +00:00
Alex Mauer 52e076e4c4 Get information about self-contact from the right place, instead of just copying the current account status/priority 2005-09-14 17:17:19 +00:00
Alex Mauer c8059fd3fa * Make tooltip behave if we're not yet connected when it appears, or if we're the only resource online. 2005-09-13 22:15:22 +00:00
Nikos Kouremenos 77650c4a6d fix english 2005-09-13 21:29:38 +00:00
Alex Mauer d36a647698 Show all our resources in the account line tooltip 2005-09-13 21:13:40 +00:00
Alex Mauer 4c990ccb1e Tooltip for account line in roster 2005-09-13 18:46:21 +00:00
Yann Leboulanger 50a179b301 we now bug user when he wants to go invisible and he is in rooms 2005-09-13 17:53:31 +00:00
Yann Leboulanger 95fc6741a8 account row is back even if we have only one account 2005-09-13 16:27:48 +00:00
Alex Mauer 867dc64798 Fix my roster breakage from cs3613 -- accounts need to be referenced by
name, not name stored in jid field.
Use the new get_jid_from_account in a few places.
2005-09-12 22:46:41 +00:00
Nikos Kouremenos 9a91297e5b some more [][] 2005-09-12 22:12:17 +00:00
Nikos Kouremenos 863b4bae66 use C_ and [][] instead of get_value 2005-09-12 21:56:50 +00:00
Yann Leboulanger 9336be0448 fix indentation 2005-09-12 21:04:55 +00:00
Alex Mauer fb0e0a6bdd Store the JID instead of the account name for the roster account line 2005-09-12 17:57:16 +00:00
Yann Leboulanger 19a61ee605 fix TB 2005-09-12 11:51:29 +00:00
Yann Leboulanger 92bbc215cc update banner only if it's a presence from higher ptiority resource 2005-09-12 11:51:18 +00:00
Nikos Kouremenos a6bf8d640c usability fixes in menus. see #743. THanks Motz 2005-09-11 01:06:58 +00:00
Nikos Kouremenos 2ec0cac1cc nk is now sure 2005-09-09 20:28:25 +00:00
Dimitur Kirov 5aec18639d don't save position if show_roster_on_start is
False and roster is never shown
2005-09-09 14:56:14 +00:00
Nikos Kouremenos 02be379d83 use C_NAME instead of 0 1 2 3 4 5 6 in roster py 2005-09-08 22:07:49 +00:00
Nikos Kouremenos e969ff6558 if we were to edit password/passphrase then Hidden string was saved as our password. now make it not editable 2005-09-08 19:55:47 +00:00
Yann Leboulanger f1fb1a13b6 do not send "I'm status" status message when we don't use gpg 2005-09-08 07:10:59 +00:00
Yann Leboulanger b9edb2bd4a show status icon when sub=to 2005-09-07 16:16:31 +00:00
Nikos Kouremenos 8eaf336763 fix a TB 2005-09-05 18:12:47 +00:00
Yann Leboulanger 72393ac068 autoreconnect of account is ready 2005-09-05 13:28:09 +00:00
Nikos Kouremenos 8377bdb54b [aldafu] quit_on_roster_x_button advanced setting [I reverted logic] 2005-09-04 18:38:25 +00:00
Nikos Kouremenos 74ceb1f9f8 if we have pygtk28/gtk28 we now set UrgencyHint instead of just *. I LOVE 2.8 [see inside for new way via .props] CONGRAAAAAATS to jdahlin, gjc and rest of gang :) 2005-09-04 16:57:09 +00:00
Nikos Kouremenos 7d2a698fc9 [Hawke patches Lukas patch :D] now Gajim can use gpg-agent 2005-08-30 21:10:14 +00:00
Nikos Kouremenos 99699d60e0 [stephan k.] fixes with unicode in dnd 2005-08-30 20:58:40 +00:00
Nikos Kouremenos 24e9188a42 now also catch weather transport and show correct icons 2005-08-29 22:24:13 +00:00
Dimitur Kirov 12ef793d54 fix creating menu for wrong resource 2005-08-29 11:36:57 +00:00
Nikos Kouremenos ac05887b43 make human logic safe resizements, moves of windows 2005-08-28 10:57:08 +00:00
Nikos Kouremenos 731de491d2 do not show roster out of screen 2005-08-28 10:29:53 +00:00
Nikos Kouremenos c0c32680cd revert a commit 2005-08-27 17:24:12 +00:00
Nikos Kouremenos 461041ae5b fix wrong replacement 2005-08-27 14:08:00 +00:00
Nikos Kouremenos 7b5997156b [stephan]use for-else statement (one less var used) 2005-08-27 13:35:11 +00:00
Nikos Kouremenos 23aaea5803 decode one more string, and cleanup 2005-08-27 13:26:24 +00:00
Nikos Kouremenos 73cfebd78f [stephan] do not allow del key on account/group row 2005-08-27 12:48:02 +00:00
Dimitur Kirov b093ce9da7 roster postion is saved when roster
window is not visible
2005-08-26 13:23:26 +00:00
Nikos Kouremenos 21a3971952 some more helpers for our API 2005-08-26 13:11:20 +00:00
Nikos Kouremenos 4c75c558e0 s/new_user/new_tab/ 2005-08-26 12:55:17 +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 2e26d5ee28 removes some fixmes, mark some strings for transatlion 2005-08-24 12:47:09 +00:00
Nikos Kouremenos 277e040c0d add advanced_menuitem.set_sensitive(val) depending on conditions (if no accounts it is False, else True) 2005-08-18 16:51:03 +00:00
Nikos Kouremenos 444346a789 remove those 4 2005-08-18 16:29:30 +00:00
Nikos Kouremenos 9c05382fc5 trayicon for windows is 100% ready 2005-08-16 20:24:56 +00:00
Nikos Kouremenos 1992351a67 remove a self in a var 2005-08-16 19:12:51 +00:00
Nikos Kouremenos 177a4c76de moving tooltips code to tooltips.py; moving ft_window to ft_window.py 2005-08-14 23:52:12 +00:00
Nikos Kouremenos d286a5b187 commenting the code and adding a FIXME 2005-08-14 22:00:48 +00:00
Yann Leboulanger 7e080d6415 re-build the menu when we re-draw the roster (account removed or added) 2005-08-14 21:52:48 +00:00
Yann Leboulanger 93293dfdc5 InformationDialog doesn't use run() anymore 2005-08-14 16:12:36 +00:00
Yann Leboulanger 9f0b1e50cd roster now shows the correct state image 2005-08-10 17:26:43 +00:00
Nikos Kouremenos cd024055a9 fix logic (for seperator now only use gtk.SeparatorMenuItem()) 2005-08-09 16:33:45 +00:00
Nikos Kouremenos 94c2922909 work for gtk2.6.9 2005-08-07 20:27:34 +00:00
Nikos Kouremenos f1c58e462b gtk.MenuItem() -> gtk.SeparatorMenuItem() 2005-08-07 15:22:51 +00:00
Nikos Kouremenos 838bbfd0b7 better name 2005-08-07 12:55:59 +00:00
Yann Leboulanger 903a3cc6c7 send status syncronously when we quit GUI 2005-08-07 11:41:20 +00:00
Nikos Kouremenos e3242773f5 add a show_all 2005-08-06 20:16:50 +00:00
Nikos Kouremenos 41239e8d64 advanced menu is in 2005-08-06 19:14:21 +00:00
Yann Leboulanger 5177472406 here is the OLD way to implement MOTD. It's not the JEP-133 way 2005-08-06 12:33:20 +00:00
Nikos Kouremenos de46aeaa08 when new_chat give the oontact with higher priority not the first resource 2005-08-06 10:20:04 +00:00
Yann Leboulanger 5cca92fb4e xml console is now hidden instead of destroyed, has an enable checkbutton and a clear button, and scroll to the end if we was at the end 2005-08-06 00:38:24 +00:00
Yann Leboulanger a113db8b0b don't open a new tab with the same name if we already have one that is disconencted 2005-08-04 21:14:43 +00:00
Yann Leboulanger 967de6a187 requested contacts have no status message 2005-08-04 19:47:58 +00:00
Yann Leboulanger 3f5d93a8df not in the roster contacts don't have status message 2005-08-04 19:44:09 +00:00
Nikos Kouremenos a7f5b83735 history button is gone. we now have actions button. to do that. TC needs the code for that. we also have history in GC occupants contact now 2005-08-04 14:30:41 +00:00
Yann Leboulanger bfca18b3a9 bugfix with DND when we mergeaccout or have only one account 2005-08-04 10:43:02 +00:00
Yann Leboulanger 9348bb4b99 don't show account row if we have only one account 2005-08-03 19:31:16 +00:00
Nikos Kouremenos 148db88343 close button for file transfer dialog as default; Ctrl+T and file transfers menuitem in roster 2005-08-03 15:59:44 +00:00
Dimitur Kirov a4b0226912 added "send file" menu 2005-08-03 14:14:11 +00:00
Yann Leboulanger 97b06596a0 show must not be translated 2005-08-03 12:19:18 +00:00
Yann Leboulanger 542c97df49 remove unneeded line 2005-08-03 09:29:10 +00:00
Yann Leboulanger 4e203be8bc we now know when we are connected in a room or not (fix #570) 2005-08-03 09:23:36 +00:00
Yann Leboulanger 7e225fcf7d ChooseGPGDialog is back with run() (We need to wait for the answer before continuing) and this cause NO PB with keepalive 2005-08-02 16:27:25 +00:00
Yann Leboulanger 8bc5c2fe04 just delete the iter without sending anything to the server when we delete the server contact 2005-08-01 19:37:18 +00:00
Dimitur Kirov 51b4eafa8c moved add_file_transfer method to FileTransfer
class
2005-08-01 15:04:08 +00:00
Dimitur Kirov f4bacf0989 tooltip positioning... base tooltip class...
custom tooltip in notif. area
2005-07-31 19:21:11 +00:00
Nikos Kouremenos 80b66e13fb fix string 2005-07-31 17:16:39 +00:00
Dimitur Kirov 9d1a64fa50 save the last opened directory 2005-07-30 14:40:58 +00:00
Dimitur Kirov fd1e2e7a3f notifications for completed download 2005-07-30 14:14:10 +00:00
Dimitur Kirov d30efa1421 simple file receiving 2005-07-30 10:20:46 +00:00
Dimitur Kirov 689af77a53 tooltip in notification area shows
status & message for all active accounts
2005-07-30 00:25:31 +00:00
Nikos Kouremenos 5720ddba59 try to fix a TB 2005-07-25 18:48:15 +00:00
Nikos Kouremenos dcfdc006e0 nothing 2005-07-25 14:38:41 +00:00
Nikos Kouremenos 3227d67666 try to prevent a TB 2005-07-24 15:42:19 +00:00
Nikos Kouremenos 3722402bbc use of in: code is cleaner 2005-07-23 15:23:45 +00:00
Dimitur Kirov 3c393f10df added handler for editing-started and check
if the previously edited cell path is the same
2005-07-22 22:50:25 +00:00
Nikos Kouremenos d35791d136 ChooseGPGKeyDialog no longer creates another loop 2005-07-22 22:49:03 +00:00
Yann Leboulanger 7acbbd0af3 when we become offline, we remove the padlock 2005-07-22 20:16:10 +00:00
Nikos Kouremenos 7e570e66b4 model.get_value(iter, X) -> model[iter][X] for roster_window.py (takes less code space so cleaner code) 2005-07-22 19:26:17 +00:00
Yann Leboulanger 5792e54b23 when we cancel editing, editable becomes False 2005-07-22 14:57:59 +00:00
Dimitur Kirov 0740da3341 now use model[iter], instead of model.get_iter 2005-07-22 14:45:49 +00:00
Dimitur Kirov d65beee037 when editing is canceled restore the number of
resources string at the end of contact name
2005-07-22 14:37:15 +00:00
Nikos Kouremenos b5fe60112d nick was utf8, room_jid was unicode so we had a problem. it is fixed [stills Tracebacks because of TODO: use gc_contacts in common/gaim.py] 2005-07-22 14:30:35 +00:00
Dimitur Kirov 45ead83fad disallow renaming groups from or to
_('not in the roster')
2005-07-22 14:10:03 +00:00
Nikos Kouremenos 549b10369e moving contacts-related functions to common/gajim.py 2005-07-22 00:01:05 +00:00
Nikos Kouremenos f6d16b1db0 sleeper_state now holds string instead of 0 1 2 3 2005-07-21 23:47:27 +00:00
Nikos Kouremenos 3aa0363a2a prefix with roster_ 2005-07-21 21:19:08 +00:00
Nikos Kouremenos ef6643b24d status message in the banner instaed of jid; remove_user => remove_contact 2005-07-21 17:54:58 +00:00
Nikos Kouremenos 4ec127aa92 cleanups 2005-07-21 17:00:05 +00:00
Yann Leboulanger d2c9d3b253 fix a TB 2005-07-21 15:43:53 +00:00
Nikos Kouremenos 2db64d9ce8 put chatstate in the banner 2005-07-21 14:56:39 +00:00
Yann Leboulanger fa69961f57 remove unneeded print 2005-07-21 13:28:07 +00:00
Nikos Kouremenos 128800be28 fix a renaming group tb 2005-07-21 13:16:31 +00:00
Dimitur Kirov 23dbb25763 hide one of the two consecutive separators in
popup menu on item from 'not in roster' group
2005-07-21 09:45:55 +00:00
Yann Leboulanger 7108bcf6d9 typo 2005-07-19 18:09:41 +00:00
Yann Leboulanger 52d573e58c no need of sre 2005-07-19 16:59:42 +00:00
Nikos Kouremenos 5654843eae fix a tb 2005-07-19 15:17:13 +00:00
Nikos Kouremenos e9e9c24d0a [delmonico] on renaming remove resource number and add it after renaming is done 2005-07-19 14:53:35 +00:00
Nikos Kouremenos d6c9c7cbc6 [peralta] Chat State Notifications inital patch. I assume that every wm will focus-out before iconify. If that is not the case I am going to use window-state-changed too [to be tested] 2005-07-19 14:38:58 +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 5b4c3b4ca8 comment out some code until I can overcome a gtk+ limit 2005-07-18 12:26:21 +00:00
Nikos Kouremenos ff18a88d92 advanced menuitem does not segfault any more 2005-07-18 09:55:55 +00:00
Nikos Kouremenos 9f2c75163f typo fixes in previous commit 2005-07-17 20:32:49 +00:00
Nikos Kouremenos 4a2014a9d0 dkirov patch to show popup on menu kbd key; I removed duplication of code 2005-07-17 20:29:44 +00:00
Yann Leboulanger 2ec1d31e11 missing substitution 2005-07-17 17:38:03 +00:00
Nikos Kouremenos 537d1e6026 [dkirov] fix to show correct state icon 2005-07-17 11:49:29 +00:00
Nikos Kouremenos abe9c7708d [dkirov] show transport status icon in tooltip 2005-07-15 18:13:54 +00:00
Nikos Kouremenos ef7c64acf2 Show the real status icon on new message patch by Dimitur Kirov 2005-07-08 23:43:11 +00:00
Nikos Kouremenos 2aa4f0fa96 hide tooltip on certain events 2005-07-08 22:26:46 +00:00
Nikos Kouremenos 4fe2414534 tooltip to show multiple resources [thanks Dimitur Kirov!!] 2005-07-08 00:04:59 +00:00
Nikos Kouremenos b75562490b fix a Traceback, a typo in string, and adhere to coding style 2005-07-07 23:37:04 +00:00
Nikos Kouremenos 4240fd7ecc fix a traceback 2005-07-07 22:22:13 +00:00
Yann Leboulanger 0acf9c168c we now have tooltip in roster window ! A great thanks to Dimitur 2005-07-07 21:27:53 +00:00
Nikos Kouremenos f8a4675174 not in the roster string can be translated now 2005-07-07 17:33:15 +00:00
Nikos Kouremenos e2a3c1121a Transports string is now marked for translation 2005-07-07 17:25:04 +00:00
Nikos Kouremenos 2c44dfa19d remove sth that should not have been commmited 2005-07-07 17:01:35 +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 6c9d148e07 advanced actions show account if multiple acocunts 2005-07-07 15:41:03 +00:00
Nikos Kouremenos 0da81481ca edit groups dialog now works again [repoter: ehh] 2005-07-06 16:46:50 +00:00
Nikos Kouremenos e8917d200b usage of stockitems in some menuitems and less code 2005-07-06 14:34:59 +00:00
Yann Leboulanger b81747f483 typo 2005-07-06 14:26:10 +00:00
Yann Leboulanger f933b29b2e when we choose None in ChooseGPGWindow, we don't print None in config file 2005-07-06 14:07:20 +00:00
Nikos Kouremenos e4932f56be more glade stuff for advanced menuitem [I will do the code too] 2005-07-06 13:34:47 +00:00
Nikos Kouremenos 94c01aeecc we can now receive normal and chat messages with subject and handle them ok. we can also reply to received normal message with RE: previous message and all the good stuff! hoooray! 2005-07-05 21:35:37 +00:00
Yann Leboulanger fd03253594 show Ctrl+N only when we have only one account 2005-07-05 20:47:25 +00:00
Nikos Kouremenos 192ccf2075 General group marked for translation. pending: Transports and not in the roster 2005-07-04 23:18:29 +00:00
Nikos Kouremenos 4e66548813 gajim now sends xml stanza via xml console 2005-07-04 21:29:22 +00:00
Nikos Kouremenos 5032f888f9 yet another menu now in glade 2005-07-04 16:59:43 +00:00
Yann Leboulanger 669b7bde6b last_message_time is now saved in gajim.py so we begin to count time when we receive the message and not when we print it (fix #162) 2005-07-03 15:27:41 +00:00
Nikos Kouremenos 9b11b98af2 Gajim now can send type=normal messages [TODO: handle incoming normal better] 2005-07-02 15:49:25 +00:00
Yann Leboulanger dc2d1924f8 separate gpg keys in config file 2005-07-02 08:50:11 +00:00
Yann Leboulanger 48d36a16e5 more beautifull code 2005-07-01 22:20:01 +00:00
Nikos Kouremenos 11434df567 roster contact context menu now via glade, also has a non working yet menuitem to single message (eg. type=normal and not chat); last but not we now use ImageMenuItem and not hbox + MenuItem to have images where we implement gui on code and not on glade [as we prefer] 2005-07-01 15:15:35 +00:00
Yann Leboulanger 633b45de92 little comment for nk :) 2005-06-30 21:52:42 +00:00
Nikos Kouremenos c7f8486e8c we now have option in case abc@doremi.org is not an email and it is jid (we can add it to roster, we can chat to it, we can join group chat). Most of the patch is done by neurocyte 2005-06-30 16:45:14 +00:00
Yann Leboulanger 414abe3687 HistoryWindow must now have account as param to get the nicks 2005-06-30 06:21:12 +00:00