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
Weblate
gajim
Commits
87cb977f
Commit
87cb977f
authored
17 years ago
by
steve-e
Browse files
Options
Downloads
Patches
Plain Diff
Hide label in history_manager when we search something.
parent
1cd82a9f
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
data/glade/history_manager.glade
+1
-1
1 addition, 1 deletion
data/glade/history_manager.glade
src/history_manager.py
+20
-20
20 additions, 20 deletions
src/history_manager.py
with
21 additions
and
21 deletions
data/glade/history_manager.glade
+
1
−
1
View file @
87cb977f
...
...
@@ -43,7 +43,7 @@
<widget
class=
"GtkVBox"
id=
"vbox1"
>
<property
name=
"visible"
>
True
</property>
<child>
<widget
class=
"GtkVBox"
id=
"vbox
2
"
>
<widget
class=
"GtkVBox"
id=
"
welcome_
vbox"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"events"
>
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
</property>
<child>
...
...
This diff is collapsed.
Click to expand it.
src/history_manager.py
+
20
−
20
View file @
87cb977f
...
...
@@ -21,25 +21,25 @@
## NOTE: some method names may match those of logger.py but that's it
## someday (TM) should have common class that abstracts db connections and helpers on it
## the same can be said for history_window.py
import
os
if
os
.
name
==
'
nt
'
:
import
warnings
warnings
.
filterwarnings
(
action
=
'
ignore
'
)
import
os
if
os
.
name
==
'
nt
'
:
import
warnings
warnings
.
filterwarnings
(
action
=
'
ignore
'
)
# Used to create windows installer with GTK included
# paths = os.environ['PATH']
# list_ = paths.split(';')
# new_list = []
# for p in list_:
# if p.find('gtk') < 0 and p.find('GTK') < 0:
# new_list.append(p)
# new_list.insert(0, 'gtk/lib')
# new_list.insert(0, 'gtk/bin')
# os.environ['PATH'] = ';'.join(new_list)
# paths = os.environ['PATH']
# list_ = paths.split(';')
# new_list = []
# for p in list_:
# if p.find('gtk') < 0 and p.find('GTK') < 0:
# new_list.append(p)
# new_list.insert(0, 'gtk/lib')
# new_list.insert(0, 'gtk/bin')
# os.environ['PATH'] = ';'.join(new_list)
# os.environ['GTK_BASEPATH'] = 'gtk'
import
sys
import
signal
import
gtk
...
...
@@ -100,7 +100,7 @@ class HistoryManager:
self
.
logs_scrolledwindow
=
xml
.
get_widget
(
'
logs_scrolledwindow
'
)
self
.
search_results_scrolledwindow
=
xml
.
get_widget
(
'
search_results_scrolledwindow
'
)
self
.
welcome_
label
=
xml
.
get_widget
(
'
welcome_
label
'
)
self
.
welcome_
vbox
=
xml
.
get_widget
(
'
welcome_
vbox
'
)
self
.
jids_already_in
=
[]
# holds jids that we already have in DB
self
.
AT_LEAST_ONE_DELETION_DONE
=
False
...
...
@@ -236,7 +236,7 @@ class HistoryManager:
self
.
logs_liststore
.
clear
()
# clear the store
self
.
welcome_
label
.
hide
()
self
.
welcome_
vbox
.
hide
()
self
.
search_results_scrolledwindow
.
hide
()
self
.
logs_scrolledwindow
.
show
()
...
...
@@ -579,7 +579,7 @@ class HistoryManager:
if
text
==
''
:
return
self
.
welcome_
label
.
hide
()
self
.
welcome_
vbox
.
hide
()
self
.
logs_scrolledwindow
.
hide
()
self
.
search_results_scrolledwindow
.
show
()
...
...
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