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
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
eta
gajim
Commits
166a70b4
Commit
166a70b4
authored
15 years ago
by
Yann Leboulanger
Browse files
Options
Downloads
Patches
Plain Diff
update some colors. Fixes #5321
parent
d7a780e6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
configure.ac
+1
-1
1 addition, 1 deletion
configure.ac
src/common/config.py
+2
-2
2 additions, 2 deletions
src/common/config.py
src/common/defs.py
+1
-1
1 addition, 1 deletion
src/common/defs.py
src/common/optparser.py
+12
-0
12 additions, 0 deletions
src/common/optparser.py
with
16 additions
and
4 deletions
configure.ac
+
1
−
1
View file @
166a70b4
AC_INIT([Gajim - A Jabber Instant Messager],
AC_INIT([Gajim - A Jabber Instant Messager],
[0.12.5.
4
-dev],[http://trac.gajim.org/],[gajim])
[0.12.5.
5
-dev],[http://trac.gajim.org/],[gajim])
AC_PREREQ([2.59])
AC_PREREQ([2.59])
AC_CONFIG_HEADER(config.h)
AC_CONFIG_HEADER(config.h)
...
...
This diff is collapsed.
Click to expand it.
src/common/config.py
+
2
−
2
View file @
166a70b4
...
@@ -93,8 +93,8 @@ class Config:
...
@@ -93,8 +93,8 @@ class Config:
'
inmsgcolor
'
:
[
opt_color
,
'
#a40000
'
,
_
(
'
Incoming nickname color.
'
),
True
],
'
inmsgcolor
'
:
[
opt_color
,
'
#a40000
'
,
_
(
'
Incoming nickname color.
'
),
True
],
'
outmsgcolor
'
:
[
opt_color
,
'
#3465a4
'
,
_
(
'
Outgoing nickname color.
'
),
True
],
'
outmsgcolor
'
:
[
opt_color
,
'
#3465a4
'
,
_
(
'
Outgoing nickname color.
'
),
True
],
'
inmsgtxtcolor
'
:
[
opt_color
,
''
,
_
(
'
Incoming text color.
'
),
True
],
'
inmsgtxtcolor
'
:
[
opt_color
,
''
,
_
(
'
Incoming text color.
'
),
True
],
'
outmsgtxtcolor
'
:
[
opt_color
,
'
#
a2a2a2
'
,
_
(
'
Outgoing text color.
'
),
True
],
'
outmsgtxtcolor
'
:
[
opt_color
,
'
#
555753
'
,
_
(
'
Outgoing text color.
'
),
True
],
'
statusmsgcolor
'
:
[
opt_color
,
'
#
73d21
6
'
,
_
(
'
Status message text color.
'
),
True
],
'
statusmsgcolor
'
:
[
opt_color
,
'
#
4e9a0
6
'
,
_
(
'
Status message text color.
'
),
True
],
'
markedmsgcolor
'
:
[
opt_color
,
'
#ff8080
'
,
''
,
True
],
'
markedmsgcolor
'
:
[
opt_color
,
'
#ff8080
'
,
''
,
True
],
'
urlmsgcolor
'
:
[
opt_color
,
'
#204a87
'
,
''
,
True
],
'
urlmsgcolor
'
:
[
opt_color
,
'
#204a87
'
,
''
,
True
],
'
inmsgfont
'
:
[
opt_str
,
''
,
_
(
'
Incoming nickname font.
'
),
True
],
'
inmsgfont
'
:
[
opt_str
,
''
,
_
(
'
Incoming nickname font.
'
),
True
],
...
...
This diff is collapsed.
Click to expand it.
src/common/defs.py
+
1
−
1
View file @
166a70b4
...
@@ -27,7 +27,7 @@ docdir = '../'
...
@@ -27,7 +27,7 @@ docdir = '../'
datadir
=
'
../
'
datadir
=
'
../
'
localedir
=
'
../po
'
localedir
=
'
../po
'
version
=
'
0.12.5.
4
-dev
'
version
=
'
0.12.5.
5
-dev
'
import
sys
,
os
.
path
import
sys
,
os
.
path
for
base
in
(
'
.
'
,
'
common
'
):
for
base
in
(
'
.
'
,
'
common
'
):
...
...
This diff is collapsed.
Click to expand it.
src/common/optparser.py
+
12
−
0
View file @
166a70b4
...
@@ -208,6 +208,8 @@ class OptionsParser:
...
@@ -208,6 +208,8 @@ class OptionsParser:
self
.
update_config_to_01253
()
self
.
update_config_to_01253
()
if
old
<
[
0
,
12
,
5
,
4
]
and
new
>=
[
0
,
12
,
5
,
4
]:
if
old
<
[
0
,
12
,
5
,
4
]
and
new
>=
[
0
,
12
,
5
,
4
]:
self
.
update_config_to_01254
()
self
.
update_config_to_01254
()
if
old
<
[
0
,
12
,
5
,
5
]
and
new
>=
[
0
,
12
,
5
,
5
]:
self
.
update_config_to_01255
()
gajim
.
logger
.
init_vars
()
gajim
.
logger
.
init_vars
()
gajim
.
config
.
set
(
'
version
'
,
new_version
)
gajim
.
config
.
set
(
'
version
'
,
new_version
)
...
@@ -764,4 +766,14 @@ class OptionsParser:
...
@@ -764,4 +766,14 @@ class OptionsParser:
gajim
.
config
.
set
(
c
,
vals
[
c
][
1
])
gajim
.
config
.
set
(
c
,
vals
[
c
][
1
])
gajim
.
config
.
set
(
'
version
'
,
'
0.12.5.4
'
)
gajim
.
config
.
set
(
'
version
'
,
'
0.12.5.4
'
)
def
update_config_to_01254
(
self
):
vals
=
{
'
statusmsgcolor
'
:
[
'
#73d216
'
,
'
#4e9a06
'
],
'
outmsgtxtcolor
'
:
[
'
#a2a2a2
'
,
'
#555753
'
]}
for
c
in
vals
:
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.5
'
)
# vim: se ts=3:
# 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