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
Sophie Herold
gajim
Commits
80ceee57
Commit
80ceee57
authored
7 years ago
by
Philipp Hörist
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused methods
Action Button was removed in the last ChatControl redesign
parent
8f2630b1
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/chat_control_base.py
+0
-10
0 additions, 10 deletions
gajim/chat_control_base.py
gajim/message_window.py
+0
-5
0 additions, 5 deletions
gajim/message_window.py
with
0 additions
and
15 deletions
gajim/chat_control_base.py
+
0
−
10
View file @
80ceee57
...
@@ -1044,16 +1044,6 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
...
@@ -1044,16 +1044,6 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
def
on_clear_formatting_menuitem_activate
(
self
,
widget
):
def
on_clear_formatting_menuitem_activate
(
self
,
widget
):
self
.
msg_textview
.
clear_tags
()
self
.
msg_textview
.
clear_tags
()
def
on_actions_button_clicked
(
self
,
widget
):
"""
Popup action menu
"""
menu
=
self
.
prepare_context_menu
(
hide_buttonbar_items
=
True
)
menu
.
show_all
()
menu
.
attach_to_widget
(
widget
,
None
)
gtkgui_helpers
.
popup_emoticons_under_button
(
menu
,
widget
,
self
.
parent_win
)
def
update_tags
(
self
):
def
update_tags
(
self
):
self
.
conv_textview
.
update_tags
()
self
.
conv_textview
.
update_tags
()
...
...
This diff is collapsed.
Click to expand it.
gajim/message_window.py
+
0
−
5
View file @
80ceee57
...
@@ -451,11 +451,6 @@ class MessageWindow(object):
...
@@ -451,11 +451,6 @@ class MessageWindow(object):
elif
keyval
==
Gdk
.
KEY_m
:
# ALT + M show emoticons menu
elif
keyval
==
Gdk
.
KEY_m
:
# ALT + M show emoticons menu
control
.
emoticons_button
.
get_popover
().
show
()
control
.
emoticons_button
.
get_popover
().
show
()
return
True
return
True
elif
keyval
==
Gdk
.
KEY_d
:
# ALT + D show actions menu
if
Gtk
.
Settings
.
get_default
().
get_property
(
'
gtk-key-theme-name
'
)
!=
'
Emacs
'
:
control
.
on_actions_button_clicked
(
control
.
actions_button
)
return
True
elif
control
.
type_id
==
message_control
.
TYPE_GC
and
\
elif
control
.
type_id
==
message_control
.
TYPE_GC
and
\
keyval
==
Gdk
.
KEY_t
:
# ALT + t
keyval
==
Gdk
.
KEY_t
:
# ALT + t
control
.
_on_change_subject_menuitem_activate
(
None
)
control
.
_on_change_subject_menuitem_activate
(
None
)
...
...
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