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
Contributor 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
mesonium
gajim
Commits
0b27c968
Commit
0b27c968
authored
3 years ago
by
Philipp Hörist
Browse files
Options
Downloads
Patches
Plain Diff
GroupchatSettings: Use JID instead of string
parent
bbafe882
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
gajim/gtk/controls/groupchat.py
+1
-1
1 addition, 1 deletion
gajim/gtk/controls/groupchat.py
gajim/gtk/groupchat_settings.py
+2
-1
2 additions, 1 deletion
gajim/gtk/groupchat_settings.py
with
3 additions
and
2 deletions
gajim/gtk/controls/groupchat.py
+
1
−
1
View file @
0b27c968
...
...
@@ -459,7 +459,7 @@ def _on_groupchat_settings(self, _action, _param):
self
.
_groupchat_settings_box
.
destroy
()
self
.
_groupchat_settings_box
=
GroupChatSettings
(
self
.
account
,
self
.
room_
jid
)
self
.
account
,
self
.
contact
.
jid
)
self
.
_groupchat_settings_box
.
show_all
()
self
.
xml
.
settings_scrolled_box
.
add
(
self
.
_groupchat_settings_box
)
self
.
_show_page
(
'
muc-settings
'
)
...
...
This diff is collapsed.
Click to expand it.
gajim/gtk/groupchat_settings.py
+
2
−
1
View file @
0b27c968
...
...
@@ -13,6 +13,7 @@
# along with Gajim. If not, see <http://www.gnu.org/licenses/>.
from
gi.repository
import
Gtk
from
nbxmpp.protocol
import
JID
from
gajim.common.const
import
THRESHOLD_OPTIONS
from
gajim.common.i18n
import
_
...
...
@@ -24,7 +25,7 @@
class
GroupChatSettings
(
SettingsBox
):
def
__init__
(
self
,
account
:
str
,
jid
:
str
)
->
None
:
def
__init__
(
self
,
account
:
str
,
jid
:
JID
)
->
None
:
SettingsBox
.
__init__
(
self
,
account
,
jid
)
self
.
get_style_context
().
add_class
(
'
settings-border
'
)
...
...
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