Commit graph

515 commits

Author SHA1 Message Date
Brendan Taylor
e3613be1fa first pass at stripping out the one-tab-per-session code 2008-06-26 23:36:58 +00:00
Jean-Marie Traissard
7fbfa0547d Regroup window.present() calls. See #3908. 2008-06-05 15:09:17 +00:00
Jean-Marie Traissard
e487aa7802 Change the way to remember last message time in groupchat again. Save the time on
disconnection or exit. Previous version seemed perfect, but if server don't have the
same exact time than us (always), lots of messages can be logged twice. Here we will
lost log for messages that were sent beetween we lost connection and we see it. But that
seems better for me. For previous version, see [9516].
2008-06-05 11:18:33 +00:00
js
fcbb71a6d2 This shoudl fix tab completion in GC. For real now, I hope. 2008-05-18 19:51:58 +00:00
Julien Pivotto
3d21a3b6b0 One-to-one chat to MUC: set a beter tab name than the jid of the room. See #2095. 2008-05-17 14:00:27 +00:00
js
f6e74e22b6 Same for groupchat. 2008-05-17 13:32:37 +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
c4b2cdc31f * Add button for new chat window GUI.
* Buttons get disabled as needed now [we still need something to update
  this while the window is open (it might change, for example, the
  contact was added)].
* Remove the new accelerators in destroy_menu().
* Move some OTR stuff.
* Don't hide OTR from the user if not available, but set unsensitive.
2008-05-10 11:39:25 +00:00
js
b04250cf9f Added bookmarks for *EVERY* button in chat window and GC window. 2008-05-09 09:34:38 +00:00
js
dbdf6a135e Improve the last commit, popup is shown under the button now. 2008-05-07 16:36:45 +00:00
js
99a8c05bb8 * Converted GC to new GUI as well.
* Moved some code so we can get rid of a few ifs.

What still needs to be done for the GUI redesign to be complete:
Don't show entries in the actions menu that have buttons.
2008-05-07 15:34:00 +00:00
js
ab1f59c433 Same for groupchat. 2008-05-05 18:43:44 +00:00
Brendan Taylor
1962b231e6 pm bugfix 2008-05-04 00:24:27 +00:00
Brendan Taylor
99f2997d27 pm fixes 2008-05-03 00:10:17 +00:00
Brendan Taylor
20beea4b49 fixed groupchat 2008-05-02 02:32:28 +00:00
Yann Leboulanger
ec08797805 [js] fix nick completion in groupchats 2008-04-28 21:13:13 +00:00
Stephan Erb
29d2e00803 Small roster API cleanups. 2008-04-23 22:34:10 +00:00
Jean-Marie Traissard
94580b3019 Change the way last_history_time for room is saved. Save time in mem at each message logged. When closing
control, save the value in rooms_last_message_time table. Previous version could introduce duplicate logs or
messages not logged.
2008-04-21 15:48:06 +00:00
Jean-Marie Traissard
47bc1d61b4 Added one unique function to src/gajim.py to add a GC bookmark.
Moved newly created auto_join_bookmarks() to good source file.
Fix :
-when using bookmark auto from join dialog : Action rebuild now done; Add GC sorted in list
-when using gc_control->bookmark : Store password if any.
2008-04-20 19:45:09 +00:00
Jean-Marie Traissard
8b8f139f79 Moved methods for opening new messages controls from roster.py to src/gajim.py. This is not roster related. See #3643.
Sorted src/gajim.py functions, using steve-e style :p
2008-04-20 18:14:04 +00:00
Stephan Erb
4e6bd4ee8f Port roster_window to gtk.TreeModelFilter.
Contacts are now online hidden when they connect/reconnect and not completely removed/readded. Should come with a great speed improvement for people with big rosters.
There are still a few known problems but non that should dalay this patch any longer. Related bugs will be tracked with 'modelfilter' keyword.

See #1201
2008-04-20 14:01:04 +00:00
Yann Leboulanger
ffbc0c65bc use a textview to change subject of a room. Fixes #3858 2008-04-18 19:15:03 +00:00
Yann Leboulanger
5dd0d4fce8 move functions that build icons to gtkgui_helpers instead of roster_window. Fixes #3873 2008-04-17 14:17:14 +00:00
Jean-Marie Traissard
fbc1ae9b5c fix possible TB (can be None) 2008-04-16 21:39:58 +00:00
Jean-Marie Traissard
eb22930361 do a little less loops 2008-04-06 13:23:10 +00:00
Jean-Marie Traissard
06fdc8367b Auto sort bookmarked rooms list (when opening manage dialog and when adding
new one). Fixes #3739.
2008-04-06 13:14:00 +00:00
Jean-Marie Traissard
59cc0a4aa8 Correct indent 2008-04-05 12:53:01 +00:00
Jean-Marie Traissard
df13948d87 Make nick cycle works with spaces in nicks, fix a possible bug if gc_refer_to_nick_char is not ",". Fixes #3810. 2008-04-05 12:48:39 +00:00
Jean-Marie Traissard
c497087115 Continue to check message for HL words after we found one that could be only the beginning of another real word. 2008-04-01 19:57:27 +00:00
Jean-Marie Traissard
d10e203255 Cleaner version to check if char after a highlight is an alphanum or not 2008-03-30 21:45:51 +00:00
Jean-Marie Traissard
39d18c893d Fix logic, fix char code 2008-03-30 21:16:35 +00:00
Yann Leboulanger
6de493fbb5 update GC_Contact instance when we change our nickname in a room. fixes #3784 2008-03-24 09:16:03 +00:00
Jean-Marie Traissard
ccb23a9e0c Fix TB introduced in [9400] if using minimized muc 2008-03-20 20:39:51 +00:00
Jean-Marie Traissard
9e15e4bcab do not redraw_tab too much if not needed 2008-03-20 19:37:20 +00:00
Brendan Taylor
c8cae71099 merged trunk 2008-02-14 02:20:07 +00:00
Yann Leboulanger
36438f44b6 fix the draw avatar calls 2008-02-05 21:24:48 +00:00
Jean-Marie Traissard
37ea4052e1 Cleaner way to check for 'show_avatars_in_roster' 2008-02-05 17:48:25 +00:00
Jean-Marie Traissard
4d675c42b1 Never load avatars for roster and gc-roster if we don't want them.
See #3718. See also [9287].
2008-02-05 17:02:05 +00:00
Brendan Taylor
0b48b05218 merged trunk into session_centric branch 2008-02-05 03:09:31 +00:00
Yann Leboulanger
d85e0fdc75 prevent a GTK warning 2008-01-30 08:12:59 +00:00
Stephan Erb
67b9f1cdae We may not add ourself to roster. Make entry in occupants menu insensitive. 2008-01-28 21:22:38 +00:00
Stephan Erb
1b5b9138a4 Kill risk of double color usage when color pool is not exhausted.
Make code a bit more pythonic.
2008-01-05 22:07:53 +00:00
Stephan Erb
ea5db436e1 Do not duplicate accounts with pep support in Edit->Profile menu.
Fix some strange encoding error.
2008-01-02 13:41:41 +00:00
Yann Leboulanger
2acc696716 improve look when we set avatar to the left. fixes #2102 2008-01-02 13:08:42 +00:00
Jean-Marie Traissard
ddbcfcd7a2 Highlight on (nick/muc_highlight_words) that contains a space too. Fixes #3624. 2007-12-17 21:54:18 +00:00
Jean-Marie Traissard
674b4f57d5 Readd part of [8904] removed in [8938]. Then mix them. So we fix #3495/#3506 and problem when connecting
with an already used nick.
Fixes problem when we change nick with dialog to an already used one and then cancel. Fixes #3506.
2007-12-03 19:39:40 +00:00
Stephan Erb
7b563e3734 Remove tooltips when we close a groupchat window. 2007-11-29 21:43:39 +00:00
Stephan Erb
5c92566a1d Hide status/topic label when there is nothing to show.
Disable empty tooltips.
2007-11-29 20:33:10 +00:00