Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wusspuss
gajim
Commits
50aac85e
Commit
50aac85e
authored
15 years ago
by
Yann Leboulanger
Browse files
Options
Downloads
Patches
Plain Diff
remove our outgoing nickname color and status message color from gc_nicknames_colors
parent
8bffd77a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
configure.ac
+1
-1
1 addition, 1 deletion
configure.ac
src/common/defs.py
+1
-1
1 addition, 1 deletion
src/common/defs.py
src/common/optparser.py
+13
-0
13 additions, 0 deletions
src/common/optparser.py
with
15 additions
and
2 deletions
configure.ac
+
1
−
1
View file @
50aac85e
AC_INIT([Gajim - A Jabber Instant Messager],
[0.12.5.
5
-dev],[http://trac.gajim.org/],[gajim])
[0.12.5.
6
-dev],[http://trac.gajim.org/],[gajim])
AC_PREREQ([2.59])
AC_CONFIG_HEADER(config.h)
...
...
This diff is collapsed.
Click to expand it.
src/common/defs.py
+
1
−
1
View file @
50aac85e
...
...
@@ -27,7 +27,7 @@
datadir
=
'
../
'
localedir
=
'
../po
'
version
=
'
0.12.5.
5
-dev
'
version
=
'
0.12.5.
6
-dev
'
import
sys
,
os
.
path
for
base
in
(
'
.
'
,
'
common
'
):
...
...
This diff is collapsed.
Click to expand it.
src/common/optparser.py
+
13
−
0
View file @
50aac85e
...
...
@@ -210,6 +210,8 @@ def update_config(self, old_version, new_version):
self
.
update_config_to_01254
()
if
old
<
[
0
,
12
,
5
,
5
]
and
new
>=
[
0
,
12
,
5
,
5
]:
self
.
update_config_to_01255
()
if
old
<
[
0
,
12
,
5
,
6
]
and
new
>=
[
0
,
12
,
5
,
6
]:
self
.
update_config_to_01256
()
gajim
.
logger
.
init_vars
()
gajim
.
config
.
set
(
'
version
'
,
new_version
)
...
...
@@ -780,4 +782,15 @@ def update_config_to_01255(self):
gajim
.
config
.
set
(
c
,
vals
[
c
][
1
])
gajim
.
config
.
set
(
'
version
'
,
'
0.12.5.5
'
)
def
update_config_to_01256
(
self
):
vals
=
{
'
gc_nicknames_colors
'
:
[
'
#4e9a06:#f57900:#ce5c00:#3465a4:#204a87:#75507b:#5c3566:#c17d11:#8f5902:#ef2929:#cc0000:#a40000
'
,
'
#f57900:#ce5c00:#204a87:#75507b:#5c3566:#c17d11:#8f5902:#ef2929:#cc0000:#a40000
'
]}
for
c
in
vals
:
if
c
not
in
self
.
old_values
:
continue
val
=
self
.
old_values
[
c
]
if
val
==
vals
[
c
][
0
]:
# We didn't change default value, so update it with new default
gajim
.
config
.
set
(
c
,
vals
[
c
][
1
])
gajim
.
config
.
set
(
'
version
'
,
'
0.12.5.6
'
)
# vim: se ts=3:
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment