Daniel Brötzmann pushed to branch newcontrol at gajim / gajim
Commits:
a505fa99 by wurstsalat at 2022-07-21T20:42:20+02:00
Remove scroll history and save_message remnants
- - - - -
2 changed files:
- gajim/command_system/implementation/middleware.py
- gajim/data/gui/shortcuts_window.ui
Changes:
=====================================
gajim/command_system/implementation/middleware.py
=====================================
@@ -56,7 +56,6 @@ def process_as_command(self, text):
parents = super(ChatCommandProcessor, self)
flag = parents.process_as_command(text)
if flag and self.command_succeeded:
- self.add_history(text)
self.clear_input()
return flag
@@ -147,13 +146,6 @@ def clear_input(self):
"""
self.set_input(str())
- def add_history(self, text):
- """
- Add given text to the input history, so user can scroll through
- it using ctrl + up/down arrow keys.
- """
- self.save_message(text, 'sent')
-
@property
def connection(self):
"""
=====================================
gajim/data/gui/shortcuts_window.ui
=====================================
@@ -100,34 +100,6 @@
<property name="title" translatable="yes">Complete a command
or a nickname</property>
</object>
</child>
- <child>
- <object class="GtkShortcutsShortcut">
- <property name="visible">1</property>
- <property name="accelerator"><primary>Up</property>
- <property name="title" translatable="yes">Previously sent
message</property>
- </object>
- </child>
- <child>
- <object class="GtkShortcutsShortcut">
- <property name="visible">1</property>
- <property name="accelerator"><primary>Down</property>
- <property name="title" translatable="yes">Next sent
messages</property>
- </object>
- </child>
- <child>
- <object class="GtkShortcutsShortcut">
- <property name="visible">1</property>
- <property
name="accelerator"><primary><shift>Up</property>
- <property name="title" translatable="yes">Quote previous
message</property>
- </object>
- </child>
- <child>
- <object class="GtkShortcutsShortcut">
- <property name="visible">1</property>
- <property
name="accelerator"><primary><shift>Down</property>
- <property name="title" translatable="yes">Quote next
message</property>
- </object>
- </child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/a505fa99a0118509dad297d2fa03b8911428d4ac
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/a505fa99a0118509dad297d2fa03b8911428d4ac
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits