changeset 16666da7cd22 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=16666da7cd22
description: correct Xfce capitalization (fixes #5562)
diffstat:
ChangeLog | 2 +-
README.html | 2 +-
po/cs.po | 2 +-
po/da.po | 2 +-
po/de.po | 2 +-
po/eo.po | 2 +-
po/es.po | 2 +-
po/eu.po | 2 +-
po/fr.po | 2 +-
po/gl.po | 2 +-
po/it.po | 2 +-
po/pl.po | 2 +-
po/ru.po | 2 +-
po/sv.po | 2 +-
po/uk.po | 2 +-
po/zh_CN.po | 2 +-
src/gtkgui_helpers.py | 4 ++--
17 files changed, 18 insertions(+), 18 deletions(-)
diffs (206 lines):
diff -r f617c9cc8e3a -r 16666da7cd22 ChangeLog
--- a/ChangeLog Sun Jan 17 10:39:31 2010 +0100
+++ b/ChangeLog Mon Jan 18 17:16:06 2010 +0100
@@ -44,7 +44,7 @@
* Improve error messages handling
* Totem support for played music
* Fix SSL with some servers
- * Handle XFCE notification-daemon
+ * Handle Xfce notification-daemon
* Restore old behaviour of click on systray: left click to open events
* Network manager 0.7 support
* Move logs file under windows to $APPDATA/gajim
diff -r f617c9cc8e3a -r 16666da7cd22 README.html
--- a/README.html Sun Jan 17 10:39:31 2010 +0100
+++ b/README.html Mon Jan 18 17:16:06 2010 +0100
@@ -68,7 +68,7 @@
</pre>
<h2>Running Gajim</h2>
-<p>Just do <em>gajim</em> or you can run Gajim from your GNOME/XFCE/KDE/whatever menus.<br/><br/>
+<p>Just do <em>gajim</em> or you can run Gajim from your GNOME/Xfce/KDE/whatever menus.<br/><br/>
or if you didn't 'make install' you can also run from gajim folder with<em>./launch.sh</em></p>
<hr />
<h3>Note for hg users</h3>
diff -r f617c9cc8e3a -r 16666da7cd22 po/cs.po
--- a/po/cs.po Sun Jan 17 10:39:31 2010 +0100
+++ b/po/cs.po Mon Jan 18 17:16:06 2010 +0100
@@ -1813,7 +1813,7 @@
"Automaticky zjistit při každém startu aplikace\n"
"Vždy použít výchozí aplikace z GNOME\n"
"Vždy použít výchozí aplikace z KDE\n"
-"Vždy použít výchozí aplikace z XFCE4\n"
+"Vždy použít výchozí aplikace z Xfce\n"
"Vlastní"
#: ../data/glade/preferences_window.glade.h:33
diff -r f617c9cc8e3a -r 16666da7cd22 po/da.po
--- a/po/da.po Sun Jan 17 10:39:31 2010 +0100
+++ b/po/da.po Mon Jan 18 17:16:06 2010 +0100
@@ -1799,7 +1799,7 @@
"Automatisk genkend hvergang Gajim starter\n"
"Altid brug GNOME standard programmer\n"
"Altid brug KDE standard programmer\n"
-"Altid brug XFCE4 standard programmer\n"
+"Altid brug Xfce standard programmer\n"
"Tilpasset"
#: ../data/glade/preferences_window.glade.h:33
diff -r f617c9cc8e3a -r 16666da7cd22 po/de.po
--- a/po/de.po Sun Jan 17 10:39:31 2010 +0100
+++ b/po/de.po Mon Jan 18 17:16:06 2010 +0100
@@ -1781,7 +1781,7 @@
"Bei jedem Programmstart automatisch erkennen\n"
"Immer die GNOME-Standard-Anwendungen verwenden\n"
"Immer die KDE-Standard-Anwendungen verwenden\n"
-"Immer die XFCE4-Standard-Anwendungen verwenden\n"
+"Immer die Xfce-Standard-Anwendungen verwenden\n"
"Benutzerdefiniert"
#: ../data/glade/preferences_window.glade.h:33
diff -r f617c9cc8e3a -r 16666da7cd22 po/eo.po
--- a/po/eo.po Sun Jan 17 10:39:31 2010 +0100
+++ b/po/eo.po Mon Jan 18 17:16:06 2010 +0100
@@ -1876,7 +1876,7 @@
"Aŭtodetekti dum ĉiu Gajim lanĉo\n"
"Ĉiam uzi defaŭlton de GNOME\n"
"Ĉiam uzi defaŭlton de KDE\n"
-"Ĉiam uzi defaŭlton de XFCE\n"
+"Ĉiam uzi defaŭlton de Xfce\n"
"Propraj"
#: ../data/glade/preferences_window.glade.h:33
diff -r f617c9cc8e3a -r 16666da7cd22 po/es.po
--- a/po/es.po Sun Jan 17 10:39:31 2010 +0100
+++ b/po/es.po Mon Jan 18 17:16:06 2010 +0100
@@ -1895,7 +1895,7 @@
"Autodetectar en cada inicio de Gajim\n"
"Siempre usar las aplicaciones por defecto de GNOME\n"
"Siempre usar las apliacciones por defecto de KDE\n"
-"Siempre usar las aplicaciones por defecto de XFCE\n"
+"Siempre usar las aplicaciones por defecto de Xfce\n"
"Personalizado"
#: ../data/glade/preferences_window.glade.h:40
diff -r f617c9cc8e3a -r 16666da7cd22 po/eu.po
--- a/po/eu.po Sun Jan 17 10:39:31 2010 +0100
+++ b/po/eu.po Mon Jan 18 17:16:06 2010 +0100
@@ -1890,7 +1890,7 @@
"Autodetektatu Gajim abiarazten den bakoitzean\n"
"Beti GNOME-ren berezko aplikazioak erabili\n"
"Beti KDE-ren berezko aplikazioak erabili\n"
-"Beti XFCE4-ren berezko aplikazioak erabili\n"
+"Beti Xfce-ren berezko aplikazioak erabili\n"
"Bezeroa"
#: ../data/glade/preferences_window.glade.h:33
diff -r f617c9cc8e3a -r 16666da7cd22 po/fr.po
--- a/po/fr.po Sun Jan 17 10:39:31 2010 +0100
+++ b/po/fr.po Mon Jan 18 17:16:06 2010 +0100
@@ -1816,7 +1816,7 @@
"Détection automatique à chaque démarrage\n"
"Toujours utiliser les applications par défaut de GNOME\n"
"Toujours utiliser les applications par défaut de KDE\n"
-"Toujours utiliser les applications par défaut de XFCE4\n"
+"Toujours utiliser les applications par défaut de Xfce\n"
"Personnalisé"
#: ../data/glade/preferences_window.glade.h:33
diff -r f617c9cc8e3a -r 16666da7cd22 po/gl.po
--- a/po/gl.po Sun Jan 17 10:39:31 2010 +0100
+++ b/po/gl.po Mon Jan 18 17:16:06 2010 +0100
@@ -1984,7 +1984,7 @@
"Detectar automaticamente en cada inicio do Gajim\n"
"Usar sempre as aplicacións por defecto do GNOME\n"
"Usar sempre as aplicacións por defecto do KDE\n"
-"Usar sempre as aplicacións por defecto do XFCE4\n"
+"Usar sempre as aplicacións por defecto do Xfce\n"
"Personalizado"
#: ../data/glade/preferences_window.glade.h:40
diff -r f617c9cc8e3a -r 16666da7cd22 po/it.po
--- a/po/it.po Sun Jan 17 10:39:31 2010 +0100
+++ b/po/it.po Mon Jan 18 17:16:06 2010 +0100
@@ -1845,7 +1845,7 @@
"Rilevamento automatico ad ogni avvio di Gajim\n"
"Usa sempre le applicazioni predefinite di GNOME\n"
"Usa sempre le applicazioni predefinite di KDE\n"
-"Usa sempre le applicazioni predefinite XFCE4\n"
+"Usa sempre le applicazioni predefinite Xfce\n"
"Personalizzate"
#: ../data/glade/preferences_window.glade.h:33
diff -r f617c9cc8e3a -r 16666da7cd22 po/pl.po
--- a/po/pl.po Sun Jan 17 10:39:31 2010 +0100
+++ b/po/pl.po Mon Jan 18 17:16:06 2010 +0100
@@ -1774,7 +1774,7 @@
"Automatyczne wykrywanie przy każdym uruchomieniu Gajima\n"
"Zawsze używaj domyślnych aplikacji GNOME\n"
"Zawsze używaj domyślnych aplikacji KDE\n"
-"Zawsze używaj domyślnych aplikacji XFCE\n"
+"Zawsze używaj domyślnych aplikacji Xfce\n"
"Własne"
#: ../data/glade/preferences_window.glade.h:33
diff -r f617c9cc8e3a -r 16666da7cd22 po/ru.po
--- a/po/ru.po Sun Jan 17 10:39:31 2010 +0100
+++ b/po/ru.po Mon Jan 18 17:16:06 2010 +0100
@@ -1807,7 +1807,7 @@
"Определять автоматически при каждом запуске Gajim\n"
"Всегда использовать приложения GNOME по умолчанию\n"
"Всегда использовать приложения KDE по умолчанию\n"
-"Всегда использовать приложения XFCE4 по умолчанию\n"
+"Всегда использовать приложения Xfce по умолчанию\n"
"Другое"
#: ../data/glade/preferences_window.glade.h:33
diff -r f617c9cc8e3a -r 16666da7cd22 po/sv.po
--- a/po/sv.po Sun Jan 17 10:39:31 2010 +0100
+++ b/po/sv.po Mon Jan 18 17:16:06 2010 +0100
@@ -1806,7 +1806,7 @@
"Detektera vid varje Gajimstart\n"
"Använd alltid GNOMEs standardprogram\n"
"Använd alltid KDEs standardprogram\n"
-"Använd alltid XFCE4s standardprogram\n"
+"Använd alltid Xfces standardprogram\n"
"Anpassa"
#: ../data/glade/preferences_window.glade.h:33
diff -r f617c9cc8e3a -r 16666da7cd22 po/uk.po
--- a/po/uk.po Sun Jan 17 10:39:31 2010 +0100
+++ b/po/uk.po Mon Jan 18 17:16:06 2010 +0100
@@ -1811,7 +1811,7 @@
"Автоматично визначати під час запуску Gajim\n"
"Завжди використовувати типові програми GNOME\n"
"Завжди використовувати типові програми KDE\n"
-"Завжди використовувати типові програми XFCE\n"
+"Завжди використовувати типові програми Xfce\n"
"Власний набір"
#: ../data/glade/preferences_window.glade.h:33
diff -r f617c9cc8e3a -r 16666da7cd22 po/zh_CN.po
--- a/po/zh_CN.po Sun Jan 17 10:39:31 2010 +0100
+++ b/po/zh_CN.po Mon Jan 18 17:16:06 2010 +0100
@@ -1875,7 +1875,7 @@
"每次 Gajim 启动时自动探测\n"
"总是使用 GNOME 默认应用\n"
"总是使用 KDE 默认应用\n"
-"总是使用 XFCE4 默认应用\n"
+"总是使用 Xfce 默认应用\n"
"自定义"
#: ../data/glade/preferences_window.glade.h:33
diff -r f617c9cc8e3a -r 16666da7cd22 src/gtkgui_helpers.py
--- a/src/gtkgui_helpers.py Sun Jan 17 10:39:31 2010 +0100
+++ b/src/gtkgui_helpers.py Mon Jan 18 17:16:06 2010 +0100
@@ -180,8 +180,8 @@
except Exception:
pass
- # try to get xfce default font
- # Xfce 4.2 adopts freedesktop.org's Base Directory Specification
+ # try to get Xfce default font
+ # Xfce 4.2 and higher follow freedesktop.org's Base Directory Specification
# see http://www.xfce.org/~benny/xfce/file-locations.html
# and http://freedesktop.org/Standards/basedir-spec
xdg_config_home = os.environ.get('XDG_CONFIG_HOME', '')
changeset f617c9cc8e3a in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=f617c9cc8e3a
description: fix HTML code in README.html. Fixes #5559
diffstat:
README.html | 85 +++++++++++++++++++++++-------------------------------------
1 files changed, 33 insertions(+), 52 deletions(-)
diffs (164 lines):
diff -r d5026853e2e8 -r f617c9cc8e3a README.html
--- a/README.html Fri Jan 15 20:20:56 2010 +0100
+++ b/README.html Sun Jan 17 10:39:31 2010 +0100
@@ -4,14 +4,13 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Gajim - Read Me</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<h1>Gajim Read Me</h1>
-<p>
-Welcome to Gajim and thank you for trying out our client.
-</p>
+<p>Welcome to Gajim and thank you for trying out our client.</p>
<h2>Runtime Requirements</h2>
<ul>
@@ -21,10 +20,7 @@
<li>pysqlite2 (if you have python 2.5, you already have this)</li>
</ul>
-<p>
-<strong>Note to packagers</strong>
-Gajim is a GTK+ app that loves GNOME. You can do 'make' so you don't require gnomepythonextras (aka gnome-python-desktop) which is gnome dep, but you will miss gnomekeyring integration.
-</p>
+<p><strong>Note to packagers</strong> Gajim is a GTK+ app that loves GNOME. You can do 'make' so you don't require gnomepythonextras (aka gnome-python-desktop) which is gnome dep, but you will miss gnomekeyring integration.</p>
<h2>Optional Runtime Requirements</h2>
<ul>
@@ -41,11 +37,7 @@
<li>python-kerberos to use GSSAPI authentification. Note: version1.1 or higher is required</li>
</ul>
-<p>
-Some distributions also split too much python standard library.
-I know SUSE does. In such distros you also need python-xml
-the xml lib that *comes* with python and not pyxml or whatever.
-</p>
+<p>Some distributions also split too much python standard library. I know SUSE does. In such distros you also need python-xml the xml lib that *comes* with python and not pyxml or whatever.</p>
<h2>Compile-time Requirements</h2>
<ul>
@@ -54,10 +46,7 @@
<li>intltool (>= 0.40.1)</li>
</ul>
-<p>
-<strong>NOTE:</strong>
-If you still have problems compiling, you may want to try removing the gtk1 series of the above dependencies.
-</p>
+<p><strong>NOTE:</strong> If you still have problems compiling, you may want to try removing the gtk1 series of the above dependencies.</p>
<h2>Installation Procedure</h2>
<ol>
@@ -68,25 +57,22 @@
<li>su -c make install</li>
</ol>
-<p>
-To specify what modules to build do:
-make help
-</p>
+<p>To specify what modules to build do:</p>
+<pre>
+ make help
+</pre>
-<p>
-To specify where to install do:
-su -c make PREFIX=custom_path install
-</p>
+<p>To specify where to install do:</p>
+<pre>
+ su -c make PREFIX=custom_path install
+</pre>
<h2>Running Gajim</h2>
-<p>
-Just do <em>gajim</em> or you can run Gajim from your GNOME/XFCE/KDE/whatever menus.<br/><br/>
-
-or if you didn't 'make install' you can also run from gajim folder with
-<em>./launch.sh</em></p>
+<p>Just do <em>gajim</em> or you can run Gajim from your GNOME/XFCE/KDE/whatever menus.<br/><br/>
+or if you didn't 'make install' you can also run from gajim folder with<em>./launch.sh</em></p>
<hr />
-<h3>Note for svn users</h3>
-You will need GNU autotools in order to install Gajim from svn. This includes:
+<h3>Note for hg users</h3>
+<p>You will need GNU autotools in order to install Gajim from svn. This includes:</p>
<ul>
<li>automake >= 1.8 </li>
<li>autoconf >= 2.59 </li>
@@ -94,45 +80,41 @@
<li>intltool-0.40.1 </li>
<li>pkgconfig >= 0.19</li>
</ul>
-</p>
-steps to compile gajim:
+<p>steps to compile gajim:</p>
<pre>
$ sh autogen.sh
$ ./configure
$ make
</pre>
-Alternatively, if you don't want to install all these packages, you can get a nightly snapshot from <a href="http://www.gajim.org/downloads/snap/">here</a> and procede as usual:
+<p>Alternatively, if you don't want to install all these packages, you can get a nightly snapshot from <a href="http://www.gajim.org/downloads/snap/">here</a> and procede as usual:</p>
<pre>
$ ./configure
$ make
</pre>
<h2>Uninstallation Procedure</h2>
-<p>
-su -c make uninstall<br/>
-this will try to remove Gajim from the default directories.
-If you want to remove it from custom directory provide it as:<br/>
-make PREFIX=custom_path uninstall
+<pre>
+ su -c make uninstall
+</pre>
+<p>this will try to remove Gajim from the default directories.
+If you want to remove it from custom directory provide it as:
</p>
+<pre>
+ make PREFIX=custom_path uninstall
+</pre>
<h2>Miscellaneous</h2>
<h3>XML & Debugging</h3>
-<p>
-If you want to see the xml stanzas and/or help us debugging
+<p>If you want to see the xml stanzas and/or help us debugging
you're advised to enable verbose via advanced configuration window.
If you don't want to make this permanent, execute gajim with --verbose
-everytime you want to have verbose output.
-</p>
+everytime you want to have verbose output.</p>
<h3>FAQ/Wiki</h3>
-<p>
-FAQ can be found at <a href="http://trac.gajim.org/wiki/GajimFaq">http://trac.gajim.org/wiki/GajimFaq</a><br/>
-Wiki can be found at <a href="http://trac.gajim.org/wiki">http://trac.gajim.org/wiki</a>
-</p>
+<p>FAQ can be found at <a href="http://trac.gajim.org/wiki/GajimFaq">http://trac.gajim.org/wiki/GajimFaq</a><br/>
+Wiki can be found at <a href="http://trac.gajim.org/wiki">http://trac.gajim.org/wiki</a></p>
-<p>
-That is all, <strong>enjoy!</strong>
-</p>
+<p>That is all, <strong>enjoy!</strong></p>
<p>
<br/>
@@ -148,6 +130,5 @@
We use original art and parts of sounds and other art from Psi, Gossip,
Gnomebaker, Gaim and some icons from various gnome-icons
(mostly Dropline Etiquette) we found at art.gnome.org
-If you think we're violating a license please inform us. Thank you.
-</p>
+If you think we're violating a license please inform us. Thank you.</p>
</body></html>
changeset 1eb1facb0e21 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=1eb1facb0e21
description: allow to not specify status in gajim-remote change_status to change only status message. Fixes #5039
diffstat:
src/gajim-remote.py | 2 +-
src/remote_control.py | 16 +++++++++++++---
2 files changed, 14 insertions(+), 4 deletions(-)
diffs (47 lines):
diff -r 50c1a5f0a005 -r 1eb1facb0e21 src/gajim-remote.py
--- a/src/gajim-remote.py Thu Jan 14 15:50:21 2010 +0100
+++ b/src/gajim-remote.py Thu Jan 14 21:16:13 2010 +0100
@@ -106,7 +106,7 @@
_('Changes the status of account or accounts'),
[
#offline, online, chat, away, xa, dnd, invisible should not be translated
- (_('status'), _('one of: offline, online, chat, away, xa, dnd, invisible '), True),
+ (_('status'), _('one of: offline, online, chat, away, xa, dnd, invisible. If not set, use accoun\'t previous status'), False),
(_('message'), _('status message'), False),
(_('account'), _('change status of account "account". '
'If not specified, try to change status of all accounts that have '
diff -r 50c1a5f0a005 -r 1eb1facb0e21 src/remote_control.py
--- a/src/remote_control.py Thu Jan 14 15:50:21 2010 +0100
+++ b/src/remote_control.py Thu Jan 14 21:16:13 2010 +0100
@@ -416,9 +416,13 @@
specified status is changed for all accounts
"""
if status not in ('offline', 'online', 'chat',
- 'away', 'xa', 'dnd', 'invisible'):
- return DBUS_BOOLEAN(False)
+ 'away', 'xa', 'dnd', 'invisible'):
+ status = ''
if account:
+ if not status:
+ if account not in gajim.connections:
+ return DBUS_BOOLEAN(False)
+ status = gajim.SHOW_LIST[gajim.connections[account].connected]
gobject.idle_add(gajim.interface.roster.send_status, account,
status, message)
else:
@@ -427,8 +431,14 @@
if not gajim.config.get_per('accounts', acc,
'sync_with_global_status'):
continue
+ if status:
+ status_ = status
+ else:
+ if acc not in gajim.connections:
+ continue
+ status_ = gajim.SHOW_LIST[gajim.connections[acc].connected]
gobject.idle_add(gajim.interface.roster.send_status, acc,
- status, message)
+ status_, message)
return DBUS_BOOLEAN(False)
@dbus.service.method(INTERFACE, in_signature='ss', out_signature='')