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
6ff5643c
Commit
6ff5643c
authored
19 years ago
by
nkour
Browse files
Options
Downloads
Patches
Plain Diff
autodetect for links now should work
parent
6e61913e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
src/common/config.py
+2
-1
2 additions, 1 deletion
src/common/config.py
src/config.py
+1
-1
1 addition, 1 deletion
src/config.py
src/gajim.py
+1
-1
1 addition, 1 deletion
src/gajim.py
src/gtkgui.glade
+2
-1
2 additions, 1 deletion
src/gtkgui.glade
src/gtkgui_helpers.py
+7
-2
7 additions, 2 deletions
src/gtkgui_helpers.py
with
13 additions
and
6 deletions
src/common/config.py
+
2
−
1
View file @
6ff5643c
...
...
@@ -118,7 +118,8 @@ class Config:
'
always_english_wikipedia
'
:
[
opt_bool
,
False
],
'
use_dbus
'
:
[
opt_bool
,
True
],
# allow control via dbus service
'
send_receive_chat_state_notifications
'
:
[
opt_bool
,
True
],
'
print_ichat_every_foo_minutes
'
:
[
opt_int
,
5
],
# default is every 5 minutes
'
autodetect_browser_mailer
'
:
[
opt_bool
,
True
],
'
print_ichat_every_foo_minutes
'
:
[
opt_int
,
5
],
'
confirm_close_muc
'
:
[
opt_bool
,
True
],
# confirm closing MUC window
'
notify_on_file_complete
'
:
[
opt_bool
,
True
],
# notif. on file complete
'
file_transfers_port
'
:
[
opt_int
,
28011
],
# port, used for file transfers
...
...
This diff is collapsed.
Click to expand it.
src/config.py
+
1
−
1
View file @
6ff5643c
...
...
@@ -365,7 +365,7 @@ class PreferencesWindow:
self
.
links_open_with_combobox
=
self
.
xml
.
get_widget
(
'
links_open_with_combobox
'
)
if
gajim
.
config
.
get
(
'
autodetect_browser_mailer
'
):
self
.
links_open_with_combobox
.
set_active
(
0
)
gtkgui_helpers
.
plugin
.
autodetect_browser_mailer
()
gtkgui_helpers
.
autodetect_browser_mailer
()
# autodetect_browser_mailer is now False.
# so user has 'Always Use GNOME/KDE' or Custom
elif
gajim
.
config
.
get
(
'
openwith
'
)
==
'
gnome-open
'
:
...
...
This diff is collapsed.
Click to expand it.
src/gajim.py
+
1
−
1
View file @
6ff5643c
...
...
@@ -1016,7 +1016,7 @@ class Interface:
if
gajim
.
config
.
get
(
'
autodetect_browser_mailer
'
):
gtkgui_helpers
.
plugin
.
autodetect_browser_mailer
()
gtkgui_helpers
.
autodetect_browser_mailer
()
if
gajim
.
verbose
:
gajim
.
log
.
setLevel
(
gajim
.
logging
.
DEBUG
)
...
...
This diff is collapsed.
Click to expand it.
src/gtkgui.glade
+
2
−
1
View file @
6ff5643c
...
...
@@ -10138,7 +10138,8 @@ Status message</property>
<child>
<widget class="GtkEventBox" id="gpg_eventbox">
<property name="visible">True</property>
<property name="visible_window">False</property>
<property name="tooltip" translatable="yes">GPG Encryption</property>
<property name="visible_window">True</property>
<property name="above_child">False</property>
<child>
...
...
This diff is collapsed.
Click to expand it.
src/gtkgui_helpers.py
+
7
−
2
View file @
6ff5643c
...
...
@@ -22,9 +22,14 @@
import
xml.sax.saxutils
import
gtk
import
os
from
common
import
i18n
i18n
.
init
()
_
=
i18n
.
_
from
common
import
gajim
def
convert_bytes
(
string
):
suffix
=
''
...
...
@@ -60,7 +65,7 @@ def escape_for_pango_markup(string):
return
escaped_str
def
autodetect_browser_mailer
(
self
):
def
autodetect_browser_mailer
():
#recognize the environment for appropriate browser/mailer
if
os
.
path
.
isdir
(
'
/proc
'
):
# under Linux: checking if 'gnome-session' or
...
...
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