Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gajim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
203
Issues
203
List
Boards
Labels
Service Desk
Milestones
Merge Requests
21
Merge Requests
21
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gajim
gajim
Commits
bcd15212
Commit
bcd15212
authored
Sep 29, 2019
by
Philipp Hörist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Groupchat: Fix hide_groupchat_banner option
parent
61fce039
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
gajim/data/gui/groupchat_control.ui
gajim/data/gui/groupchat_control.ui
+2
-1
gajim/groupchat_control.py
gajim/groupchat_control.py
+2
-2
No files found.
gajim/data/gui/groupchat_control.ui
View file @
bcd15212
...
...
@@ -99,12 +99,13 @@
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"margin_right"
>
4
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"orientation"
>
vertical
</property>
<child>
<object
class=
"GtkEventBox"
id=
"banner_eventbox"
>
<property
name=
"name"
>
GroupChatControl-BannerEventBox
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"no_show_all"
>
True
</property>
<child>
<object
class=
"GtkBox"
>
<property
name=
"visible"
>
True
</property>
...
...
gajim/groupchat_control.py
View file @
bcd15212
...
...
@@ -122,8 +122,8 @@ def __init__(self, parent_win, contact, muc_data, acct):
else
:
self
.
scale_factor
=
app
.
interface
.
roster
.
scale_factor
self
.
widget_set_visible
(
self
.
xml
.
get_object
(
'banner_eventbox'
),
app
.
config
.
get
(
'hide_groupchat_banner'
)
)
if
not
app
.
config
.
get
(
'hide_groupchat_banner'
):
self
.
xml
.
banner_eventbox
.
set_no_show_all
(
False
)
# muc attention flag (when we are mentioned in a muc)
# if True, the room has mentioned us
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment