Commit Graph

273 Commits

Author SHA1 Message Date
Yann Leboulanger e6b4382aaf apply config to minimized controls too. Fixes #5515 2009-12-28 22:41:05 +01:00
Alexander Cherniuk a23961fbf6 Big portion of doc-string refactoring 2009-11-25 22:59:43 +02:00
Yann Leboulanger e617b134b2 Alt-a -> Alt-d to open advanced action menu in (group)chat control. Fixes #5387 2009-11-10 21:50:11 +01:00
Yann Leboulanger 4bf3be4665 don't remove a _control when we try to rename it to the same name. Fixes #5346 2009-11-06 20:51:16 +01:00
Yann Leboulanger c91da54c9c remove hack I did for #5366, It was most probably due to #5375. see #5366, #5375 2009-10-30 09:51:16 +01:00
Yann Leboulanger d6f4241102 prevent a traceback which happen with obscure reasons. Fixes #5366 2009-10-28 20:03:45 +01:00
Yann Leboulanger 503aebd919 [change window icon according to the content (muc, chat). Fixes #4300 2009-10-23 10:02:45 +02:00
Yann Leboulanger da29844342 [Dicson] fix typo. Fixes #5267 2009-09-15 19:49:56 +02:00
Yann Leboulanger 651e801334 correctly change the resource of a control. Fixes #5261 2009-09-15 17:41:47 +02:00
Yann Leboulanger 9ea2a5c677 we now depend on GTK2.12. Remove test for older versions. Fixes #4996 2009-04-27 19:28:53 +00:00
Yann Leboulanger fdcf75ae59 minimize groupchats when closing several windows at the same time. Fixes #4987 2009-04-23 07:26:08 +00:00
Yann Leboulanger 0c27b86cc1 Warn user before closing chat window with tabs where we can loose data. Fixes #3645 2009-04-08 16:28:51 +00:00
Yann Leboulanger 36f8280620 prevent traceback when closing a transport chat window. Fixes #4767 2009-02-03 15:10:56 +00:00
Yann Leboulanger 2087fcb016 better way to get window maximized state. Fixes #4710, see #4630 2009-01-26 09:22:28 +00:00
Yann Leboulanger 9d6312d198 [shtein] save maximized state window. Fixes #4630 2009-01-17 13:50:15 +00:00
js 23905492f5 Merge r10825 from osx_newbuildsys branch, as this might be useful on
X11 and win32 as well.
2008-12-13 10:42:01 +00:00
Yann Leboulanger 28bc50316e better keypress handling 2008-12-05 14:12:31 +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 27bc3bba1a revert r10690 and r10691, it's not translatable 2008-12-01 10:03:04 +00:00
js 5e6d15837c Make previous patch translatable. 2008-11-23 19:26:45 +00:00
js bc5795a10b [killerfox] Show chatstate in title if no tabs left 2008-11-23 19:23:21 +00:00
Yann Leboulanger bd8ae59a76 Use Alt+T to change subject in a room instead of Ctrl+T 2008-11-02 14:04:46 +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 02ac05ed19 don't close a MUC when we said we don't want. 2008-10-12 12:52:26 +00:00
Brendan Taylor addbc34bc6 fix tb when closing a message window 2008-10-11 19:58:22 +00:00
Yann Leboulanger 4f55c1826a fix var names. type -> type_. see #4403 2008-10-11 13:21:25 +00:00
Yann Leboulanger 0afc57ad6d [Mishail] fix var name. Fixes #4403 2008-10-11 13:06:59 +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 c9b7dc6827 [misc] check existance of control before checking control type. fixes #4385 2008-10-07 08:20:46 +00:00
Yann Leboulanger 5795a27162 prevent traceback in case a groupchat comes in roster. fixes #4362 2008-10-06 20:42:56 +00:00
Yann Leboulanger c797a14b8c fix listing and leaving groupchats from adhoc commands. Fixes #4344 2008-09-26 17:41:07 +00:00
Mateusz Biliński f0822dcdb4 Fixed problem with saving window properties (position, size) when closing window through window close button (closing through tab close button worked properly). 2008-08-28 09:51:45 +00:00
Travis Shirk 55c1868d92 Make the message control text entry grab focus when new controls are created and each time the tabs
are switched.  Fixes #4227
2008-08-22 03:03:15 +00:00
Nikos Kouremenos aae8ceb4ce commit a FIXME 2008-08-20 20:36:34 +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
Yann Leboulanger 4e320ed36f CTRL+i in private message now works. Fixes #4066 2008-08-15 09:35:44 +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 4e52e954d0 use accel func for all key in chat controls. Fixes #1503 2008-08-14 16:17:32 +00:00
Yann Leboulanger 4aa33d3421 fix closing last muc tab 2008-08-09 19:30:40 +00:00
Yann Leboulanger f5059b4e26 fix closing a tab 2008-08-08 17:03:56 +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 4eebf0e036 fix some translated strings 2008-08-01 13:03:23 +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
Jean-Marie Traissard 65ec746e4f Fix ctrl + tab (get_control called with too much parameters) 2008-06-27 10:00:27 +00:00
Brendan Taylor 5a772a046c teeny-tiny fix 2008-06-26 23:37:24 +00:00
Brendan Taylor b21a1e2489 win.get_controls() isn't needed anymore 2008-06-26 23:37:12 +00:00
Brendan Taylor e3613be1fa first pass at stripping out the one-tab-per-session code 2008-06-26 23:36:58 +00:00
Brendan Taylor d6be46be84 hopefully fix some has_window bugs 2008-06-21 19:12:58 +00:00
Jean-Marie Traissard 7fbfa0547d Regroup window.present() calls. See #3908. 2008-06-05 15:09:17 +00:00
Brendan Taylor cb1c24ff7d remove empty branches of sessionless_ctrls (fixes single window mode) 2008-06-03 23:54:14 +00:00
Brendan Taylor 7b6b6de1c5 fix TB in move_from_sessionless 2008-06-02 23:26:23 +00:00
Brendan Taylor bcf7018fce gave sessionless window location its own method 2008-05-29 02:48:55 +00:00
Brendan Taylor f7874d29c7 reuse chat controls after session termination
fixes #3950
2008-05-23 23:27:08 +00:00
Yann Leboulanger 005cc0770e fix indentation 2008-05-13 21:27:13 +00:00
Brendan Taylor fffa574015 fixed bt when closing tab when multiple tabs with a JID are open 2008-05-13 12:51:35 +00:00
Brendan Taylor d511b5afc4 merged in session-centric branch, with fixes for OTR compatibility 2008-05-13 01:59:10 +00:00
js 573568f9ac Reverted r9614 and r9615.
Sorry, bct, but I think it is to early to merge that as it completely
breaks. It seems nobody in gajim@conference.gajim.org considers it
usable yet.
I don't know if you got asterix' ok for it and I'm sorry if I reverted
it now although you had his ok, but having broken trunk is very
contra-productive. I think it was just too early to merge.
2008-05-11 13:17:28 +00:00
Brendan Taylor 2162c3730a merged in session_centric branch 2008-05-11 01:19:59 +00:00
js b04250cf9f Added bookmarks for *EVERY* button in chat window and GC window. 2008-05-09 09:34:38 +00:00
Brendan Taylor 1962b231e6 pm bugfix 2008-05-04 00:24:27 +00:00
Brendan Taylor 20beea4b49 fixed groupchat 2008-05-02 02:32:28 +00:00
Brendan Taylor d4a766963f multiple chat session windows per contact. groupchat and pms broken. 2008-04-30 02:55:13 +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
Jean-Marie Traissard 2ce13dc40e 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
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:02:56 +00:00
Travis Shirk 4b0ab39716 bumped (C) 2008-03-22 21:02:19 +00:00
Travis Shirk 8db2a68632 More sizing fixes. Along with [9408] closes #3713 2008-03-22 20:51:19 +00:00
Travis Shirk 00fe194744 Single window mode to any other resulted in the roster being the size of the roster + any chats that were in the orignal window. This fixes that. (#3713) 2008-03-22 18:19:56 +00:00
Yann Leboulanger b0d3e1f123 [shtrom] Disable CTRL+W when GTK has Emacs-like key mappings. Fixes #3738 2008-02-17 20:57:47 +00:00
Brendan Taylor c8cae71099 merged trunk 2008-02-14 02:20:07 +00:00
Nikos Kouremenos 15acf57f5f cosmetic changes 2008-02-06 14:59:28 +00:00
Yann Leboulanger 7e6bcdc6ed always show tabs in one_window mode so that we can close latest tab in GUI. fixes #3720 2008-02-06 09:45:15 +00:00
Nikos Kouremenos dea4d9f745 Merwok complained about left and right arrow on tab in chats couldn't allow him to do traversing. This patch is a almost there fix. What is missing after the new tab is focused, it steals focus [couldn't find how to fix that atm], hopefully Yann remembers nicfit's code better.. 2008-02-05 16:46:05 +00:00
Brendan Taylor 0b48b05218 merged trunk into session_centric branch 2008-02-05 03:09:31 +00:00
Jean-Marie Traissard 39fe7fc4c0 Remove saveposition. Now we always save and restore positions and sizes. See #3638. steve-e, this bug
is still opened for what you told ;)
2008-01-22 21:08:24 +00:00
Yann Leboulanger b3bafa75ff never move a window outside the screen. fixes #3501 2008-01-22 17:47:56 +00:00
Travis Shirk 4bedeec964 MessageWindow reconfig bug fixes for deleted roster 2007-12-20 03:40:27 +00:00
Travis Shirk 1a7b1672a7 Use show_all on the notebook and not the window when a new tab is added.
For example, if the roster is hidden in single UI mode and a new chat arrived the roster would unhide.
2007-12-20 03:11:44 +00:00
Travis Shirk 0afc7b2328 Merge one_window branch
Merged revisions 9143,9145-9155,9157-9162,9164-9169,9171-9177 via svnmerge from
svn://88.191.11.156/gajim/branches/one_window

........
  r9145 | nicfit | 2007-12-13 21:49:09 -0700 (Thu, 13 Dec 2007) | 2 lines

  Implemented the original Nikos patch with an HPaned instead of a HBox and only do this mode when one_message_window == 'always'
........
  r9152 | nicfit | 2007-12-15 13:33:56 -0700 (Sat, 15 Dec 2007) | 2 lines

  Added config and GUI for one_message_window_with_roster
........
  r9153 | nicfit | 2007-12-15 13:41:46 -0700 (Sat, 15 Dec 2007) | 2 lines

  Use one_message_window_with_roster and some whitespace cleanup
........
  r9154 | nicfit | 2007-12-15 14:04:49 -0700 (Sat, 15 Dec 2007) | 2 lines

  Scratch the chckbox for with roster mode, use one_message_window opt and combo
........
  r9155 | nicfit | 2007-12-15 17:01:13 -0700 (Sat, 15 Dec 2007) | 2 lines

  MessageWindowMgr knows about ONE_MESSAGE_WINDOW_ALWAYS_WITH_ROSTER and MessageWindow can reparent itself rather then the roster having to do so.
........
  r9157 | nicfit | 2007-12-15 17:47:20 -0700 (Sat, 15 Dec 2007) | 2 lines

  Resizing fixes and make the roster window shrink when last tab is removed
........
  r9158 | nicfit | 2007-12-15 19:15:11 -0700 (Sat, 15 Dec 2007) | 2 lines

  Added "Show roster" (CTRL+R) to view menu when using always_with_roster to quickly hide/show the roster.
........
  r9159 | nicfit | 2007-12-15 19:49:30 -0700 (Sat, 15 Dec 2007) | 2 lines

  Handle window title setting in always_with_roster mode.
........
  r9160 | nicfit | 2007-12-15 20:13:57 -0700 (Sat, 15 Dec 2007) | 2 lines

  Removed FIXME
........
  r9167 | nicfit | 2007-12-17 18:40:59 -0700 (Mon, 17 Dec 2007) | 2 lines

  When roster is hidden, show it when the number of MessageWindow controls == 0
........
  r9168 | nicfit | 2007-12-17 19:07:49 -0700 (Mon, 17 Dec 2007) | 2 lines

  Disable hiding roster when there are no message controls open
........
  r9169 | nicfit | 2007-12-17 20:41:11 -0700 (Mon, 17 Dec 2007) | 2 lines

  Bunch of saved size bugs fixed
........
2007-12-18 23:42:22 +00:00
Yann Leboulanger 24413948ab update gajim.last_message_time var when a room participant changes his nick. fixes #3555 2007-11-13 21:59:13 +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 ec8044c4dc prevent infinite loop when pressing ctrl+PageUp / Down 2007-10-17 14:31:26 +00:00
Yann Leboulanger 0869ce362c Follow nick change in private message. fixes #3455 2007-10-13 14:37:22 +00:00
Yann Leboulanger 88cd5c3a50 [Davidov] use gtk.AccelGroup to handle key press. Fixes #1503. also fixes #3466 2007-10-10 16:13:16 +00:00
Yann Leboulanger f9a7a5c373 move accelerators tom (group)chat_control to message_window. fixes traceback with minimized groupchats 2007-09-16 09:02:04 +00:00
Yann Leboulanger 29cc2d0939 add key shortcut to open history and information window. fixes #3233 2007-09-15 10:11:46 +00:00
Stephan Erb 2fdeabc012 Add my copyright :-) 2007-08-31 23:19:23 +00:00
Yann Leboulanger 03dbf641de fix dubble disconnect of a handler. self.hid is already disconnected in _on_window_destroy function 2007-08-27 12:36:55 +00:00
Julien Pivotto 1dd251bb91 Better comment 2007-06-26 10:36:00 +00:00
Julien Pivotto 966a6f7a49 Fix a bug with closing tabs if GTK version >= 2.10.0 (don't disconnect
tab DnD)
2007-06-26 10:33:51 +00:00
Stephan Erb 7be506e3f5 Compact View:
* Move checkbox to preferences. Fixes #2662
 * Merge option for muc and chat
2007-06-25 23:51:44 +00:00
Julien Pivotto 9a4a6a7eda Use gtk native way to reorder tabs if gtk version >= 2.10 2007-06-25 21:46:08 +00:00
Julien Pivotto 786d63a430 Don't ask twice if we want to leave a groupchat. Fix #3245. 2007-06-17 15:59:46 +00:00
Yann Leboulanger 0a165c813b improve minimize on close code 2007-06-15 18:30:48 +00:00
Yann Leboulanger fb95530daf prevent TB when closing a window. fixes #3152 2007-05-07 20:18:22 +00:00