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
G
gajim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Philipp Hörist
gajim
Commits
0482ae87
Commit
0482ae87
authored
Mar 23, 2020
by
Daniel Brötzmann
Committed by
Philipp Hörist
Apr 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GroupchatControl: Add invite button
parent
575d60d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
6 deletions
+34
-6
gajim/data/gui/groupchat_control.ui
gajim/data/gui/groupchat_control.ui
+31
-6
gajim/groupchat_control.py
gajim/groupchat_control.py
+3
-0
No files found.
gajim/data/gui/groupchat_control.ui
View file @
0482ae87
...
...
@@ -272,6 +272,31 @@
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkButton"
id=
"quick_invite_button"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"tooltip_text"
translatable=
"yes"
>
Invite Contacts…
</property>
<child>
<object
class=
"GtkImage"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"icon_name"
>
list-add-symbolic
</property>
</object>
</child>
<style>
<class
name=
"chatcontrol-actionbar-button"
/>
<class
name=
"flat"
/>
</style>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"pack_type"
>
end
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkButton"
id=
"authentication_button"
>
<property
name=
"can_focus"
>
True
</property>
...
...
@@ -297,7 +322,7 @@
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"pack_type"
>
end
</property>
<property
name=
"position"
>
1
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
<child>
...
...
@@ -318,7 +343,7 @@
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"pack_type"
>
end
</property>
<property
name=
"position"
>
2
</property>
<property
name=
"position"
>
3
</property>
</packing>
</child>
<child>
...
...
@@ -343,7 +368,7 @@
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"pack_type"
>
end
</property>
<property
name=
"position"
>
3
</property>
<property
name=
"position"
>
4
</property>
</packing>
</child>
<child>
...
...
@@ -367,7 +392,7 @@
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
4
</property>
<property
name=
"position"
>
5
</property>
</packing>
</child>
<child>
...
...
@@ -396,7 +421,7 @@
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
5
</property>
<property
name=
"position"
>
6
</property>
</packing>
</child>
<child>
...
...
@@ -411,7 +436,7 @@
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
7
</property>
<property
name=
"position"
>
8
</property>
</packing>
</child>
</object>
...
...
gajim/groupchat_control.py
View file @
0482ae87
...
...
@@ -176,6 +176,9 @@ def __init__(self, parent_win, contact, muc_data, acct):
self
.
xml
.
info_grid
.
attach
(
self
.
_muc_info_box
,
0
,
0
,
1
,
1
)
# Groupchat invite
self
.
xml
.
quick_invite_button
.
set_action_name
(
'win.invite-%s'
%
self
.
control_id
)
self
.
_invite_box
=
GroupChatInvite
(
self
.
room_jid
)
self
.
xml
.
invite_grid
.
attach
(
self
.
_invite_box
,
0
,
0
,
1
,
1
)
self
.
_invite_box
.
connect
(
'listbox-changed'
,
self
.
_on_invite_ready
)
...
...
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