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
8175a92f
Commit
8175a92f
authored
19 years ago
by
nkour
Browse files
Options
Downloads
Patches
Plain Diff
proxy user/pass gui rdy
parent
b6648278
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/config.py
+2
-4
2 additions, 4 deletions
src/config.py
src/gtkgui.glade
+115
-23
115 additions, 23 deletions
src/gtkgui.glade
with
117 additions
and
27 deletions
src/config.py
+
2
−
4
View file @
8175a92f
...
...
@@ -923,10 +923,8 @@ class Account_modification_window:
w
.
set_sensitive
(
widget
.
get_active
())
def
on_use_proxy_checkbutton_toggled
(
self
,
widget
):
proxyhost_entry
=
self
.
xml
.
get_widget
(
'
proxyhost_entry
'
)
proxyport_entry
=
self
.
xml
.
get_widget
(
'
proxyport_entry
'
)
self
.
on_checkbutton_toggled
(
widget
,
[
proxyhost_entry
,
proxyport_entry
])
proxy_table
=
self
.
xml
.
get_widget
(
'
proxy_table
'
)
self
.
on_checkbutton_toggled
(
widget
,
[
proxy_table
])
def
init_account_gpg
(
self
):
keyid
=
gajim
.
config
.
get_per
(
'
accounts
'
,
self
.
account
,
'
keyid
'
)
...
...
This diff is collapsed.
Click to expand it.
src/gtkgui.glade
+
115
−
23
View file @
8175a92f
...
...
@@ -541,7 +541,7 @@
<widget
class=
"GtkWindow"
id=
"account_modification_window"
>
<property
name=
"border_width"
>
4
</property>
<property
name=
"width_request"
>
440
</property>
<property
name=
"height_request"
>
2
7
0
</property>
<property
name=
"height_request"
>
2
9
0
</property>
<property
name=
"title"
translatable=
"yes"
>
Account Modification
</property>
<property
name=
"type"
>
GTK_WINDOW_TOPLEVEL
</property>
<property
name=
"window_position"
>
GTK_WIN_POS_NONE
</property>
...
...
@@ -979,7 +979,7 @@
<widget
class=
"GtkCheckButton"
id=
"log_history_checkbutton"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
_Log
history for all contacts in this account
</property>
<property
name=
"label"
translatable=
"yes"
>
Conversation _
history for all contacts in this account
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"relief"
>
GTK_RELIEF_NORMAL
</property>
<property
name=
"focus_on_click"
>
True
</property>
...
...
@@ -1029,7 +1029,7 @@
<child>
<widget
class=
"GtkLabel"
id=
"label7"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Preferences
</property>
<property
name=
"label"
translatable=
"yes"
>
General
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
True
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
...
...
@@ -1345,10 +1345,10 @@
<property
name=
"right_padding"
>
0
</property>
<child>
<widget
class=
"GtkTable"
id=
"table
14
"
>
<widget
class=
"GtkTable"
id=
"
proxy_
table"
>
<property
name=
"border_width"
>
5
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"n_rows"
>
3
</property>
<property
name=
"n_rows"
>
5
</property>
<property
name=
"n_columns"
>
2
</property>
<property
name=
"homogeneous"
>
False
</property>
<property
name=
"row_spacing"
>
5
</property>
...
...
@@ -1426,36 +1426,84 @@
</child>
<child>
<widget
class=
"Gtk
CheckButton
"
id=
"
use_
proxy
_checkbutton
"
>
<widget
class=
"Gtk
Entry
"
id=
"proxy
port_entry
"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
_Use proxy
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"relief"
>
GTK_RELIEF_NORMAL
</property>
<property
name=
"focus_on_click"
>
True
</property>
<property
name=
"active"
>
False
</property>
<property
name=
"inconsistent"
>
False
</property>
<property
name=
"draw_indicator"
>
True
</property>
<signal
name=
"toggled"
handler=
"on_use_proxy_checkbutton_toggled"
last_modification_time=
"Fri, 08 Apr 2005 21:12:47 GMT"
/>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
>
3128
</property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
2
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"bottom_attach"
>
3
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkLabel"
id=
"label253"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
_Username:
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0.5
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"mnemonic_widget"
>
proxyusername_entry
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
1
</property>
<property
name=
"top_attach"
>
3
</property>
<property
name=
"bottom_attach"
>
4
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"proxyport_entry"
>
<widget
class=
"GtkLabel"
id=
"label254"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Pass_word:
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
<property
name=
"wrap"
>
False
</property>
<property
name=
"selectable"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"yalign"
>
0.5
</property>
<property
name=
"xpad"
>
0
</property>
<property
name=
"ypad"
>
0
</property>
<property
name=
"mnemonic_widget"
>
proxyport_entry
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"right_attach"
>
1
</property>
<property
name=
"top_attach"
>
4
</property>
<property
name=
"bottom_attach"
>
5
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"proxyusername_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
>
3128
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
...
...
@@ -1463,8 +1511,52 @@
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
2
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"bottom_attach"
>
3
</property>
<property
name=
"top_attach"
>
3
</property>
<property
name=
"bottom_attach"
>
4
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkEntry"
id=
"proxypassword_entry"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"editable"
>
True
</property>
<property
name=
"visibility"
>
True
</property>
<property
name=
"max_length"
>
0
</property>
<property
name=
"text"
translatable=
"yes"
></property>
<property
name=
"has_frame"
>
True
</property>
<property
name=
"invisible_char"
>
*
</property>
<property
name=
"activates_default"
>
False
</property>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
2
</property>
<property
name=
"top_attach"
>
4
</property>
<property
name=
"bottom_attach"
>
5
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
<child>
<widget
class=
"GtkCheckButton"
id=
"use_proxy_checkbutton"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
_Use proxy
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"relief"
>
GTK_RELIEF_NORMAL
</property>
<property
name=
"focus_on_click"
>
True
</property>
<property
name=
"active"
>
False
</property>
<property
name=
"inconsistent"
>
False
</property>
<property
name=
"draw_indicator"
>
True
</property>
<signal
name=
"toggled"
handler=
"on_use_proxy_checkbutton_toggled"
last_modification_time=
"Fri, 08 Apr 2005 21:12:47 GMT"
/>
</widget>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"right_attach"
>
2
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"bottom_attach"
>
1
</property>
<property
name=
"x_options"
>
fill
</property>
<property
name=
"y_options"
></property>
</packing>
</child>
...
...
@@ -1494,7 +1586,7 @@
</widget>
<packing>
<property
name=
"padding"
>
0
</property>
<property
name=
"expand"
>
Tru
e
</property>
<property
name=
"expand"
>
Fals
e
</property>
<property
name=
"fill"
>
True
</property>
</packing>
</child>
...
...
@@ -1508,7 +1600,7 @@
<child>
<widget
class=
"GtkLabel"
id=
"label8"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Connection
</property>
<property
name=
"label"
translatable=
"yes"
>
Proxy
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
...
...
@@ -1578,7 +1670,7 @@
<child>
<widget
class=
"GtkLabel"
id=
"label86"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"label"
translatable=
"yes"
>
Details
</property>
<property
name=
"label"
translatable=
"yes"
>
Personal
Details
</property>
<property
name=
"use_underline"
>
False
</property>
<property
name=
"use_markup"
>
False
</property>
<property
name=
"justify"
>
GTK_JUSTIFY_LEFT
</property>
...
...
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