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
c976e50d
Commit
c976e50d
authored
2 years ago
by
Daniel Brötzmann
Browse files
Options
Downloads
Patches
Plain Diff
refactor: Rename DirectorySearch to ComponentSearch
parent
9bc1a686
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/component_search.py
+1
-1
1 addition, 1 deletion
gajim/gtk/component_search.py
gajim/gtk/discovery.py
+2
-2
2 additions, 2 deletions
gajim/gtk/discovery.py
with
3 additions
and
3 deletions
gajim/gtk/search.py
→
gajim/gtk/
component_
search.py
+
1
−
1
View file @
c976e50d
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
log
=
logging
.
getLogger
(
'
gajim.gui.search
'
)
log
=
logging
.
getLogger
(
'
gajim.gui.search
'
)
class
Directory
Search
(
Assistant
,
EventHelper
):
class
Component
Search
(
Assistant
,
EventHelper
):
def
__init__
(
self
,
def
__init__
(
self
,
account
:
str
,
account
:
str
,
jid
:
str
,
jid
:
str
,
...
...
This diff is collapsed.
Click to expand it.
gajim/gtk/discovery.py
+
2
−
2
View file @
c976e50d
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
from
gajim.common.const
import
StyleAttr
from
gajim.common.const
import
StyleAttr
from
.dialogs
import
ErrorDialog
from
.dialogs
import
ErrorDialog
from
.search
import
Directory
Search
from
.
component_
search
import
Component
Search
from
.util
import
icon_exists
from
.util
import
icon_exists
from
.builder
import
get_builder
from
.builder
import
get_builder
from
.util
import
open_window
from
.util
import
open_window
...
@@ -1310,7 +1310,7 @@ def on_search_button_clicked(self, widget=None):
...
@@ -1310,7 +1310,7 @@ def on_search_button_clicked(self, widget=None):
if
not
iter_
:
if
not
iter_
:
return
return
service
=
model
[
iter_
][
0
]
service
=
model
[
iter_
][
0
]
Directory
Search
(
self
.
account
,
service
,
self
.
window
.
window
)
Component
Search
(
self
.
account
,
service
,
self
.
window
.
window
)
def
cleanup
(
self
):
def
cleanup
(
self
):
AgentBrowser
.
cleanup
(
self
)
AgentBrowser
.
cleanup
(
self
)
...
...
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