Commit Graph

246 Commits

Author SHA1 Message Date
Nikos Kouremenos e7498bca12 notify_on_all_muc_messages advanced option 2005-08-09 19:56:49 +00:00
Nikos Kouremenos f9e3223d76 if one tab, make sure you show the name and not Chat or Groupchat 2005-08-08 16:42:30 +00:00
Nikos Kouremenos 5aec9060cd remove switch to menuitems in a better way 2005-08-08 15:47:10 +00:00
Nikos Kouremenos 73a4bf97e8 fix jep0070 accidental reversion 2005-08-08 15:38:07 +00:00
Yann Leboulanger 0fa731445a popup menu is now shown in tabs 2005-08-08 12:21:47 +00:00
Yann Leboulanger d17c42cbcb contectmenu now works on banner 2005-08-08 10:52:27 +00:00
Nikos Kouremenos 99f1f4acc4 fix a tb until we have the menu working there too 2005-08-08 09:51:48 +00:00
Dimitur Kirov fef534d8a5 message line don;t get smaller that one line
height
2005-08-07 19:35:12 +00:00
Yann Leboulanger cbbbb4d511 we can now configure font in chat / gc windows 2005-08-07 18:58:36 +00:00
Nikos Kouremenos f1c58e462b gtk.MenuItem() -> gtk.SeparatorMenuItem() 2005-08-07 15:22:51 +00:00
Nikos Kouremenos 9472d318b2 do not send inactive if context menu is shown and fixes in glade (we also now use a dict to connect custom signals) 2005-08-07 15:19:21 +00:00
Nikos Kouremenos 680dace366 send gone chatstate to all tabs if many and we close window holding them 2005-08-06 20:17:45 +00:00
Nikos Kouremenos d04ae286ae fix string 2005-08-05 15:46:34 +00:00
Nikos Kouremenos f047663bf8 we now use wiktionary by defualt. dictionary and web search url accepts %s and checks if it exists before operating as expected 2005-08-05 15:42:55 +00:00
Nikos Kouremenos 08b1d56a7a better page to look for wikipedia results 2005-08-05 14:55:42 +00:00
Nikos Kouremenos 3ef05fb5cc small fix 2005-08-05 14:15:31 +00:00
Nikos Kouremenos ecb476d796 action button in TC now is functional 2005-08-04 14:57:36 +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
Nikos Kouremenos cf260d18b2 add to roster menuitem in context menu of banner is now visible and only when needed. switch to removal was rewritten to remove position of childs 2005-08-04 12:46:31 +00:00
Yann Leboulanger 6b26a5d332 when we right click on a tab, we switch to it, so popup menu item are correct :) 2005-08-04 09:42:34 +00:00
Yann Leboulanger 3aa9a9a830 fix a TB 2005-08-03 19:42:26 +00:00
Nikos Kouremenos dcfd92f2d5 send file menuitem in tc_context_menu and actions button in TC. the last need to popup the menu. it is not done yet 2005-08-03 15:42:44 +00:00
Yann Leboulanger 8018890427 clean some vars when we close (group)chat windows/tabs 2005-08-03 11:36:00 +00:00
Nikos Kouremenos 6591574a8a fixing #618 2005-08-03 10:40:29 +00:00
Nikos Kouremenos 6aefa6ae86 use plural forms (ngettext) in a string. please convert your strings that way 2005-08-02 23:03:21 +00:00
Nikos Kouremenos 55a5678ee4 add a FIXME 2005-08-01 22:47:11 +00:00
Dimitur Kirov ba229ed0e6 scroll to end when changing from compact view
to "full view"
2005-07-29 18:10:23 +00:00
Dimitur Kirov 30517fa3e1 fixes for message view - reset size
on new tab &&
not always scroll to the end
2005-07-26 14:58:42 +00:00
Dimitur Kirov 07f52fce9c removed vpane in chat windows 2005-07-25 23:52:22 +00:00
Dimitur Kirov 6eb31e283c Make textviews scroll to the end when their
size is changed
2005-07-25 20:58:19 +00:00
Yann Leboulanger c622f62607 remove unneeded line 2005-07-25 19:51:47 +00:00
Nikos Kouremenos 71a7f32032 fixes in dkirovs commit about autoresize of msg textview 2005-07-25 14:56:48 +00:00
Dimitur Kirov 8521c7b8e3 extendable message view -
a solution for ticket #313
2005-07-25 14:27:48 +00:00
Nikos Kouremenos ec7fd8af99 we now have "print_ichat_every_foo_minutes" in expert. 2005-07-24 20:29:32 +00:00
Nikos Kouremenos 6718408bae [rohan] increase the position counter only when adding something to history list 2005-07-23 16:08:33 +00:00
Nikos Kouremenos 4108ef31b8 fix a traceback [do not pass empty jid] 2005-07-22 20:06:16 +00:00
Nikos Kouremenos de60232020 on_chat_notebook_switch_page now sends chatstates 2005-07-22 18:10:28 +00:00
Dimitur Kirov c1be7e955d don;t ask for close if last message was shown
from trayicon or roster (#276)
2005-07-22 10:29:54 +00:00
Nikos Kouremenos 123cfb70d4 [dcraven] ctrl+w, escape etc call remove_tab so no delete event so positions where not saved. this is now fixed 2005-07-21 23:41:13 +00:00
Nikos Kouremenos f63545c757 on_tabbed_chat_window_motion_notify_event never gets called. I commit so everyone can have a look why 2005-07-21 22:38:22 +00:00
Nikos Kouremenos 884ff33383 self.users -> self.contacts 2005-07-20 22:14:40 +00:00
Nikos Kouremenos e4d5ece8a2 _30 seconds fixes 2005-07-19 23:46:21 +00:00
Nikos Kouremenos e880d1dc2c timers should work now 2005-07-19 21:40:08 +00:00
Nikos Kouremenos 013d63279d we now catch send paused and inactive or active depnding on mouse and keybaord activity 2005-07-19 20:17:28 +00:00
Nikos Kouremenos f094f65bd2 send gone chatstate to every tab when closing a window with many tabs 2005-07-19 17:08:01 +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 f088e4203a higging 2005-07-18 16:40:12 +00:00
Nikos Kouremenos 98b44990bb Ctrl+W closes tab 2005-07-18 15:35:15 +00:00
Nikos Kouremenos 6104779bcb allow always using english wikipedia and allow custom link for dictionary 2005-07-17 19:45:32 +00:00
Nikos Kouremenos e902eaed7d print subject first 2005-07-08 00:53:50 +00:00
Nikos Kouremenos f8a4675174 not in the roster string can be translated now 2005-07-07 17:33:15 +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
Nikos Kouremenos 56fefe30f8 fix algo 2005-07-04 23:16:50 +00:00
Nikos Kouremenos a231b1fd16 menu suck when they reposition 2005-07-04 21:30:35 +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 7c8bd6ac38 fix a traceback 2005-07-02 18:32:22 +00:00
Yann Leboulanger 0d0835c112 don't count restored messages as new messages 2005-07-01 18:29:23 +00:00
Yann Leboulanger c53a3286bd don't show text formating button for 0.8 release 2005-07-01 17:55:41 +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
Nikos Kouremenos c144d980f3 smallfix 2005-07-01 10:34:19 +00:00
Nikos Kouremenos 3b347a9b9c bugfix 2005-06-30 22:22:03 +00:00
Yann Leboulanger 1c1ffd1611 fixme: check if the contact is in not in the roster 2005-06-30 21:51:42 +00:00
Yann Leboulanger 281ab32034 l and v keys are now printed in message textview when conversation tv has focus 2005-06-30 19:47:08 +00:00
Nikos Kouremenos f2cedc68a3 remove a print 2005-06-30 16:50:41 +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
Nikos Kouremenos 4fef38de93 do gc and tabbedchat menus via glade; and various other fixes 2005-06-30 13:31:31 +00:00
Yann Leboulanger 2da1d8b171 Ctrl+PageUp/Down is back, it is done by gtk, so no need to do it in the code 2005-06-27 08:37:02 +00:00
Nikos Kouremenos b64634880f for ctrl+[shift]+tab it works. I put a print in what you said it's a gtk+ bug and it get called so it may be one [need small example to show the case] 2005-06-27 00:07:20 +00:00
Yann Leboulanger ef926b1c2b more simple tab switching (still doesn't work ... GTK bug ?) 2005-06-26 22:41:25 +00:00
Nikos Kouremenos b657c0ff8c ctrl+up/down now put the cursor after the message with and with a space [thanks to rohan and me] 2005-06-26 13:10:37 +00:00
Nikos Kouremenos 20e6434ba7 some better comments 2005-06-25 09:46:04 +00:00
Yann Leboulanger f0547ba13d don't show huge messages in context menu
we can also have this submenu on a status message word
2005-06-25 08:12:59 +00:00
Nikos Kouremenos 958beaa486 Gajim now can search, visit wikipedia and dict a selected word or phrase. Yes it rocks :) 2005-06-25 01:23:21 +00:00
Yann Leboulanger 0433b146c7 no need of print_with_tag_list function, we can use buffer.insert_with_tags_by_name() (Thx Liorithiel) 2005-06-23 21:35:54 +00:00
Nikos Kouremenos b2d83f092f yet another string that was commited and didn't obey to HIG nor was marked for translation 2005-06-23 21:20:26 +00:00
Nikos Kouremenos 7e6878e2f3 fix logic 2005-06-23 21:16:10 +00:00
Yann Leboulanger 2650441742 on_close_button_clicked need one more argument 2005-06-23 15:23:24 +00:00
Yann Leboulanger 3b358d603c add icons to menu 2005-06-23 10:28:31 +00:00
Yann Leboulanger 1eda5e7b38 don't show text formating buttons for 0.8 release 2005-06-23 08:15:13 +00:00
Yann Leboulanger 772d79fa78 alt + c now toggle compact mode
some functions goes to chat.py
2005-06-22 21:58:45 +00:00
Yann Leboulanger 399589e406 we can now togglt to a minimalistic mode in gc/tabbed chat window thankx to liorithiel
TODO: add a keyboard shortcut, should we save the latest state ?
2005-06-22 19:39:19 +00:00
Nikos Kouremenos a4263d3515 nothing new 2005-06-20 22:22:54 +00:00
Nikos Kouremenos 17967d38d7 fix comment 2005-06-19 13:12:50 +00:00
Yann Leboulanger e5ee6829da gropchat messages that are not for us do not count as new messages 2005-06-19 11:20:06 +00:00
Yann Leboulanger 8ac67fef09 we can now have animations in textview 2005-06-18 15:57:06 +00:00
Nikos Kouremenos 8e94b98d6e include 2.6.0 check 2005-06-18 15:29:05 +00:00
Nikos Kouremenos 29799bf2f4 removing two unneeded lines 2005-06-17 15:35:13 +00:00
Nikos Kouremenos c951abccf3 irc emulation: /me adds * and then the nick 2005-06-17 15:31:21 +00:00
Yann Leboulanger 213c617780 messages for us in gc are now bold and colored (thx Liorothiel) 2005-06-16 19:14:07 +00:00
Yann Leboulanger e7ff7da1da themes are back (TODO: manage themes) 2005-06-13 22:11:09 +00:00
Yann Leboulanger 4e329c4c0c remove a commented out line 2005-06-13 15:43:43 +00:00
Yann Leboulanger f1d1a0a07e we now have history for gc too 2005-06-13 14:46:08 +00:00
Nikos Kouremenos f634209067 remove 3 unneeded lines 2005-06-12 22:20:42 +00:00
Nikos Kouremenos dc7f0c4e80 removing CR+LF that were added by accident 2005-06-12 15:14:07 +00:00
Nikos Kouremenos 69f937bfa7 applying patch by aldafu to make ctrl+l clear the converstaion_textview 2005-06-11 17:55:31 +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 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 f3cf1b1f66 few lines less code in a block 2005-06-10 20:13:37 +00:00
Nikos Kouremenos b23b2eac9a commiting GC mockup and supporting code both by Dennis Craven 2005-06-10 20:06:01 +00:00
Nikos Kouremenos c96c3c123e chat window mockup and related code by Dennis Craven 2005-06-07 21:28:21 +00:00
Yann Leboulanger 0c79775f5a we now have private messages ! (TODO: update the chat window when the contact change his status) 2005-06-07 16:52:24 +00:00
Nikos Kouremenos 4166022b3d applying ctrl+keyup/down patch after cleaning and testing. Thanks rohan for patch 2005-06-07 16:25:55 +00:00
Nikos Kouremenos 78c7ca566f try again later 2005-06-07 01:10:24 +00:00
Nikos Kouremenos 6c7d811a3c fixing #294 [thanks to Nick Lopez!] 2005-06-03 21:52:36 +00:00
Yann Leboulanger 8a3d23cf81 we now print restored message as grey and add an empty line at the end 2005-06-03 21:29:07 +00:00
Nikos Kouremenos 4b14127049 make good use of the context menu in notebook 2005-06-03 15:37:17 +00:00
Yann Leboulanger 1ac9feb35a we now print the restored conversation in small (I think it's not enough and we should print it grey too, comments ?) 2005-06-02 19:38:22 +00:00
Nikos Kouremenos 037199e30a Do not let long nicknames take all the space in notebook 2005-06-02 16:30:18 +00:00
Nikos Kouremenos 968762437f do not remember lines for transports 2005-05-30 21:12:34 +00:00
Nikos Kouremenos b34b3c8e55 remember last lines after reopening chat window (thanks Sergey Kuleshov, and don't fail on gtkspell-lang not available 2005-05-30 21:00:04 +00:00
Nikos Kouremenos 14b8d03a56 globals() not locals() 2005-05-26 00:29:22 +00:00
Nikos Kouremenos 3f890b8063 completing gtkspell support
adding escape to close accounts_window
using %s instead of + for joining strings [gives us better translation] and fixing a typo there
sorry for big commit
2005-05-26 00:07:49 +00:00
Nikos Kouremenos c1e472bcbd adding gtkspell and #323 2005-05-25 23:58:27 +00:00
Nikos Kouremenos ddcbbca289 some more translatable strings 2005-05-21 15:19:58 +00:00
Yann Leboulanger c2481dc949 use
keyval == keysyms.Tab or keyval == keysyms.ISO_Left_Tab
instead of:
hardware_keycode == 23
so it works under win too.
2005-05-15 20:58:04 +00:00
Nikos Kouremenos 1a5927afb2 at last a way to always scroll to end. thanks muntyan from #gtk+ :) 2005-05-14 22:24:14 +00:00
Nikos Kouremenos e2012ca370 clear menuitem to use stock [have image] 2005-05-13 19:58:03 +00:00
Nikos Kouremenos 526430c9b2 ichat style in time fix 2005-05-13 18:03:10 +00:00
Nikos Kouremenos 97aef098bc fixes/cleanups allover:
Basically a traceback a traceback with present()
replace some menuitem strings to be more HIG
introducing /clear and that is all I think
2005-05-13 16:53:30 +00:00
Yann Leboulanger 834d16654f fix #216 (Ctrl+V works when we open the chat window) 2005-05-12 21:39:20 +00:00
Nikos Kouremenos 9be572c32d more common [gedit, gossip, ..] to prepend a custom menuitem (Clear) and also adding _ to it 2005-05-12 18:40:42 +00:00
Yann Leboulanger e9abca09fc we now have clear in the conversation textview in gc and chat window (close #220) 2005-05-11 19:40:37 +00:00
Nikos Kouremenos 2475d4728d \t is only possible via copy pasting and we shouldn't touch clipboard text where we can 2005-05-09 10:46:40 +00:00
Yann Leboulanger b9406c24d6 /me\n or /me't also works ! 2005-05-09 10:36:44 +00:00
Nikos Kouremenos 5bb1df8a19 for /mebalbla u want a space after /me right? :) 2005-05-09 10:20:08 +00:00
Yann Leboulanger 0f8de69f57 /meblabla is not a /me 2005-05-09 08:17:42 +00:00
Nikos Kouremenos 0a15ecc5b4 removing extra identation. I also want to mention that the previous commit shouldn't have had all those files. It was by accident. Anyways the previous commit also fixed a GUI bug for the Groupchat: now groupchat window and chat window use *different* hboxes 2005-05-04 16:40:41 +00:00
Nikos Kouremenos 2e668210c2 if not foo else becomes if foo else: 2005-05-04 16:22:07 +00:00
Nikos Kouremenos 68b0672437 show contact status if tabbed and more than one tabs in the tab itself. this is more HIG and ergonomic cause we know the status of a contact without clicking on it. Also this design is followed by Gossip, Gaim and many others IM clients that do tabbedUI 2005-05-03 16:37:59 +00:00
Yann Leboulanger 84b8ee6708 when we scroll to end, in a textview, we also scroll to left 2005-04-25 13:18:12 +00:00
Vincent Hanquez 8465b76ba7 remove two self instances that were missed my last commit 2005-04-24 09:45:11 +00:00
Vincent Hanquez 4fd1413266 remove unnecessary variables registered in self 2005-04-24 00:54:10 +00:00
Vincent Hanquez 9f463820c2 remove unnecessary variable registered in self 2005-04-24 00:20:40 +00:00
Yann Leboulanger a231862c73 bugfix 2005-04-22 20:48:04 +00:00
Yann Leboulanger ad0f8a4775 when we initiathe groupchat_window there is not tab, we add them with add_group finction 2005-04-22 18:08:08 +00:00
Nikos Kouremenos 103ee6e6bc tab missed a var change. gajim didnt work 2005-04-22 14:00:35 +00:00
Vincent Hanquez d315135652 broke too long lines
reduce freakin' long variable names
2005-04-22 00:02:42 +00:00
Vincent Hanquez ba5acab7f7 [codingstyle] one space between each + - * / = operator 2005-04-21 23:20:18 +00:00
Yann Leboulanger 58fc9bd255 remove unneeded print 2005-04-21 18:43:52 +00:00
Yann Leboulanger dd2ca4dcd4 ctrl + V now print the text in message_textview even if the focus is on conversation_textview 2005-04-21 16:41:22 +00:00
Nikos Kouremenos 387e09162f STARTING TO: now allow Ctrl+V to chat windows, do not ESC --> close tab (or window) in GC. SEE FIXMEs 2005-04-20 22:56:33 +00:00
Yann Leboulanger a4c47e661e update from trunk 2005-04-16 23:15:03 +00:00
Yann Leboulanger 60f2ef8adc keep namespace when we call a class :
* from xx import yy -> import xx
 * yy() -> xx.yy()
2005-04-14 17:07:55 +00:00
Yann Leboulanger b40bcc9105 plugin.accounts[name] -> gajim.config.get_per() 2005-04-14 07:05:10 +00:00
Yann Leboulanger aa861b907a configuration is now in common/config
currently gajim cannot be accessed from every where, even with global gajim :(
2005-04-12 21:09:06 +00:00
Yann Leboulanger 149ed7a22d reorder files 2005-04-12 15:47:20 +00:00
Renamed from plugins/gtkgui/chat.py (Browse further)