Commit Graph

8305 Commits

Author SHA1 Message Date
Yann Leboulanger 2dfeb10fef set default values to audio/video input/output devices 2009-11-29 14:15:25 +01:00
Bruno Tarquini fe8bd2b027 autotools: remove confusing variables ${datadir} and DATADIR.
Those variables were confusing because autoconf usually defines DATADIR to
PREFIX/share and gajim uses both defs.datadir=PREFIX/share/gajim and
gajim.DATA_DIR=PREFIX/share/gajim/data.

Now, autoconf will use PKGDATADIR for setting the (renamed) defs.basedir
variable which will be used to set gajimpaths['DATA_DIR'] and
gajimpaths['ICONS_DIR'] in configpaths.py

Gajim will also looks for the ${GAJIM_BASEDIR} environment variable instead of
${datadir} which was really too generic (no namespace).
2009-11-28 12:54:41 +01:00
Bruno Tarquini 6123687dda autotools: add a new autoconf variable: ${gajim_srcdir}.
It expanded version is GAJIM_SRCDIR.

It indicate where pyfiles will be installed (for now: PREFIX/share/gajim/src).

simplify src/Makefile.am by using nobase_ and dist_ prefix.
nobase_ allows hiearchical installation instead of flat directory
installation.
2009-11-28 12:54:30 +01:00
Alexander Cherniuk 1ad6f217a8 gtk.ACCEL_VISIBLE is not needed anymore 2009-11-28 15:00:51 +02:00
Alexander Cherniuk f5fff3e4e6 Refactored CTRL+J 2009-11-28 14:53:31 +02:00
Alexander Cherniuk af67012f63 Added CTRL+J shortcut for joining a conference 2009-11-28 13:29:28 +02:00
Yann Leboulanger 38958094c9 device is saved in config, not name 2009-11-27 23:12:24 +01:00
Yann Leboulanger 5f58e2a9ac save audio / video input / output device in config 2009-11-27 23:11:17 +01:00
Alexander Cherniuk 9bfad93279 A final refactoring touch 2009-11-28 00:07:01 +02:00
Alexander Cherniuk 7c2ea20c03 A bit of refactoring 2009-11-27 23:46:09 +02:00
Yann Leboulanger 8b3276cc12 prepare preference audio / video tab 2009-11-27 22:17:24 +01:00
Stephan Erb 723c09d26d Remove logging within each idlequeue process step. (A log entry every two seconds without much value) 2009-11-27 21:03:38 +01:00
Yann Leboulanger 5b10d8fe5c base of using icon themes. see #2378 2009-11-27 16:42:32 +01:00
Alexander Cherniuk aed9690dc5 Tiny refactoring bits of jingle code 2009-11-27 12:09:43 +02:00
Thibaut GIRKA 04d098b4ec Merge local changes 2009-11-27 10:29:17 +01:00
Alexander Cherniuk 5b64efe4f3 Corrections for method refactoring 2009-11-27 11:13:27 +02:00
Alexander Cherniuk a8cb838769 Small portion of method refactoring 2009-11-27 11:06:35 +02:00
Alexander Cherniuk 3fe45b5a56 Fixes #5458 2009-11-27 10:50:24 +02:00
Alexander Cherniuk 24cea09fbd Missed some spots while refactoring 2009-11-27 10:24:31 +02:00
Yann Leboulanger a7ba440cab announce windows 7 in os info 2009-11-26 23:32:53 +01:00
Yann Leboulanger c6dffb8864 fix Gajim startup when bonjour is not available. 2009-11-26 23:00:57 +01:00
Thibaut GIRKA ee452a57a2 [Jingle] Renamed callbacks to match name conventions 2009-11-26 22:09:34 +01:00
Thibaut GIRKA 0edb624fec Renamed a few methods, refactor on_*_button_toggled, use getattr/setattr instead of eval/self.__dict__ 2009-11-26 21:53:44 +01:00
Yann Leboulanger 8946a2f898 get statusicon position and size correctly now that we swtiched to gtk.statusicon 2009-11-26 20:18:09 +01:00
Alexander Cherniuk 4d904560a7 Last portion of doc-string and formatting refactoring 2009-11-26 18:12:52 +02:00
Alexander Cherniuk f084a1f78b One more portion of doc-string and formatting refactoring 2009-11-26 17:46:48 +02:00
Alexander Cherniuk 6d0f28c47d More doc-string (and not only) refactoring 2009-11-26 16:32:56 +02:00
Alexander Cherniuk 99472b1702 Yet more doc-string refactoring 2009-11-26 14:27:47 +02:00
Alexander Cherniuk 6bf2246de5 A big portion of doc-string refactoring 2009-11-26 13:58:12 +02:00
Alexander Cherniuk cea7c66f75 A portion of doc-string refactoring 2009-11-26 12:21:43 +02:00
Alexander Cherniuk a23961fbf6 Big portion of doc-string refactoring 2009-11-25 22:59:43 +02:00
Alexander Cherniuk 7316d00766 New portion of doc-string refactoring 2009-11-25 19:52:56 +02:00
Yann Leboulanger 18fc83c1e8 merge local diff 2009-11-25 16:51:26 +01:00
Yann Leboulanger 98e27253b6 prevent showing error message when we receive a PEP error message and really ignore it 2009-11-25 16:50:49 +01:00
Yann Leboulanger 1c137dd6c4 remove debug print 2009-11-25 16:49:13 +01:00
Alexander Cherniuk 31f5e22f62 One more portion of doc-strings refactoring 2009-11-25 17:45:05 +02:00
Yann Leboulanger 3aa07f485e refactor connection_handlers_zeroconf.py 2009-11-25 16:29:33 +01:00
Alexander Cherniuk f7b7e59935 More doc-string refactoring 2009-11-25 16:41:44 +02:00
Alexander Cherniuk 0ee0ade03a More doc-string refactoring 2009-11-25 15:52:32 +02:00
Alexander Cherniuk 8c82c35654 More doc-string refactoring 2009-11-25 15:24:48 +02:00
Alexander Cherniuk b6c4aaba6f Refactored doc-strings 2009-11-25 15:01:40 +02:00
Yann Leboulanger a6d2c4f286 fix typo in a variable name 2009-11-25 13:29:57 +01:00
Alexander Cherniuk 2325791eeb Minor refactoring 2009-11-25 13:39:05 +02:00
Yann Leboulanger 6c4724f53f fix attribute name. Fixes #5448 2009-11-25 12:31:40 +01:00
Yann Leboulanger 7eb24c3c53 fix traceback when using a non-BOSH proxy. Fixes #5449 2009-11-25 12:25:28 +01:00
Yann Leboulanger ddb493c87d always use statusicon in systray, not event icon, we already blink. 2009-11-25 08:27:06 +01:00
Alexander Cherniuk c5843e8878 Fixes #5447 2009-11-25 09:10:30 +02:00
Yann Leboulanger bbf12be6f2 set AccountCreationWizardWindow transient for RosterWindow. Fixes #5444 2009-11-24 20:07:05 +01:00
Yann Leboulanger 5ce4d52dc3 Don't clean dict twice, Fixes #5419 2009-11-24 19:41:29 +01:00
Stephan Erb bcef68c8e2 Merge local changes. 2009-11-24 16:04:58 +01:00
Yann Leboulanger 39dc648ec8 don't use removed variables 2009-11-24 15:42:31 +01:00
Yann Leboulanger 478454985b fix strimg comparison according to locales. Fixes #4201 2009-11-24 15:41:16 +01:00
Yann Leboulanger e3dbbed2dd auto-increment order value in privacy list entries. Fixes #5441 2009-11-24 15:06:04 +01:00
Yann Leboulanger eb11c24eea egg.trayicon is dead. Light a candle :'(
Fixes #3021, #5246
2009-11-24 14:33:49 +01:00
Alexander Cherniuk 94f6d6b79a Fixed timezone parsing 2009-11-24 14:24:35 +02:00
Alexander Cherniuk 3a190b8328 Fixed a typo 2009-11-24 12:20:40 +02:00
Alexander Cherniuk 8be7f9d2e1 Setting my identity straight 2009-11-23 16:08:09 +02:00
Stephan Erb fb456b1ee4 Make dependencies of ConnectionPEP explicit.
This means ConnectionPEP now knows the objects on which it calls method. Before, it just assumed that: "it will be subclassed and that the subclass defines a few methods".

Big advantage is that false positives in the pylint report are gone
2009-11-22 22:57:52 +01:00
Stephan Erb 96b9326b0f Move function closer to where it is used.
This makes it easier to reason about its usage.
2009-11-22 22:14:05 +01:00
Stephan Erb 07c008cbaa Remove TODO which was more or less a "might be useful one day" 2009-11-22 22:10:55 +01:00
Stephan Erb a53e906a92 Ignore error <message /> stanzas with event tag.
This prevents dialogs poping up with showing "Service unavailable".
2009-11-22 22:07:48 +01:00
red-agent 22ab1c9553 Fixed refactoring artifact 2009-11-22 20:05:30 +02:00
red-agent 102126b330 Fixed broken resource setting 2009-11-22 13:33:19 +02:00
Yann Leboulanger 8bd359dc30 fix resizing of the MUC occupant treeview when we resize chat window. Fixes #5433 2009-11-20 22:09:05 +01:00
Yann Leboulanger 094941f89e don't try to send thing after we are disconnected. Fixes #5437 2009-11-19 22:42:35 +01:00
Yann Leboulanger 8720eb221d don't propose to add contacts we already have in our roster when we get a RIE request. 2009-11-19 22:13:16 +01:00
Yann Leboulanger d664daad1a we can now send pep thing to a zeroconf connection objec, it will just send nothing. so GUI doesn't have to know it's a zeroconf connection or not. fixes #5432 2009-11-19 20:36:40 +01:00
red-agent 909ef8da53 Added /grep command. Fixes #5438 2009-11-19 07:39:04 +02:00
Yann Leboulanger 750fbc844d [Urcher] ability to copy emoticons when they are selected. Fixes #2570 2009-11-18 21:32:10 +01:00
Yann Leboulanger c9c5f72ff9 fix traceback on startup. Fixes #5435 2009-11-18 21:07:11 +01:00
Yann Leboulanger 4671f62d2f fix ConnectionZeroconf initialization 2009-11-18 11:16:15 +01:00
Yann Leboulanger 86b39a72c6 fix http message parsing, it may contain \n\n! 2009-11-18 11:12:06 +01:00
Yann Leboulanger 88f3104c4e refactor normal and zeroconf Connection objects with a CommonConnection class 2009-11-18 11:06:09 +01:00
Yann Leboulanger 960e402cf0 typo in a comment 2009-11-18 11:04:05 +01:00
Stephan Erb d6e6a5d62d Do not try to send (and fail) sending PEP via Zeroconf. Fixes #5432. 2009-11-17 23:17:08 +01:00
Yann Leboulanger ff551cd75d make some strings translatable in RIE dialog 2009-11-16 20:56:51 +01:00
Stephan Erb 8b3a82ff12 Merge changes from default branch into refactoring branch 2009-11-16 19:53:43 +01:00
Stephan Erb 10428555aa Various pep-related cleanups.
Most important change is that pep send/retract functions no reside on the ConnectionPEP object.
2009-11-16 19:31:17 +01:00
Yann Leboulanger 1c28dbfae9 properly decode string in history manager. Fixes #5430 2009-11-16 16:42:40 +01:00
Stephan Erb a3ea00f4ea Remove different dicts for tune, activity and mood and from now on only use the common 'pep' dict.
The pep dict contacts the different UserPEP classes.
2009-11-15 23:52:43 +01:00
Stephan Erb aa53988fd1 Similar to update_pep, unify towards draw_pep of the RosterWindow. 2009-11-15 23:23:56 +01:00
Stephan Erb 28161dc33c Apply coding standards. 2009-11-15 22:59:43 +01:00
Stephan Erb 338cb11dcc Unify update_mood, update_tune, update_activity by using a single update_pep(pep_type) method. 2009-11-15 22:54:20 +01:00
Stephan Erb 4c03c1ab85 Remove duplicated Icon determination logic used when drawing accounts. 2009-11-15 22:41:17 +01:00
Thibaut GIRKA b1173a2e87 Fix a regression introduced by my last patch 2009-11-15 21:21:10 +01:00
Thibaut GIRKA b2c5810869 Refactorize a bit jingle.py and split it into different files.
There is still room for improvement, but it should be better.
2009-11-15 20:47:06 +01:00
Stephan Erb 3b15d70782 Unify PEP cell_data_functions. 2009-11-15 17:11:06 +01:00
Stephan Erb b7c7beafd9 Unify the PEP drawing methods in the RosterWindow. 2009-11-15 17:00:39 +01:00
Stephan Erb 30191888ba Create asPixbufIcon and asMarkupText functions on the UserActivity class. 2009-11-15 16:52:19 +01:00
Stephan Erb 6c0fb26e58 Use central event_handler in Interface() instead of updating the GUI directly from XMPP callbacks. 2009-11-15 11:11:51 +01:00
Stephan Erb 5f4db2eed9 Unify updating of accounts and contact pep information. Implement and use asMarkupText() for tunes. 2009-11-15 10:55:31 +01:00
Stephan Erb 234a6520dd Removed unused code. 2009-11-15 00:15:31 +01:00
Stephan Erb e41e484855 Proof of concept: Move markup / pixbuf determination logic from the UI to the different PEP classes.
Currently this is only done for UserMood. We can decide later on (if needed), to move the asPixbufIcon and asMarkupText methods to a more appropriate place.

Goal is to remove as much redundant code as possible.
2009-11-15 00:12:15 +01:00
Stephan Erb 088916f4e7 Strip PEP info at the network level.
(Currently it is done at the UI level in many, many different places)
2009-11-14 23:07:22 +01:00
Stephan Erb 3d5e8cc427 Move common pep constructor logic to base class. 2009-11-14 22:47:21 +01:00
Stephan Erb 99e718583a Initial simplification of PEP data extraction by moving the extraction methods to the newly created PEP classess.
If-else-retract complexity is substituted by dictionaries.
2009-11-14 22:31:27 +01:00
Stephan Erb 7c6dc424af Make user_tune a instance method, not a function. 2009-11-14 20:54:42 +01:00
Stephan Erb 85b7b89b49 Create a class for each PEP XEP that we support. Dispatch an event to the Interface() handlers when we have have received a PEP event. 2009-11-14 20:48:33 +01:00
Stephan Erb 30580702d5 Create a ConnectionPEP class and directly register its callback to handle pep events. 2009-11-14 19:56:15 +01:00
Stephan Erb ac5d0f24da Fix error in the documentation of our xmpp dispatcher fork.
Raise NodeProcessed if the stanza should NOT be handled by other user handlers.
2009-11-14 19:54:33 +01:00