Fixed chat context menu and added stuff to secondary menu

This commit is contained in:
jeffser
2024-06-24 22:08:05 -06:00
parent dd20ff78c4
commit f9b3f91d3f
2 changed files with 41 additions and 21 deletions

View File

@@ -114,7 +114,12 @@
</object>
</property>
<child type="end">
<object class="GtkMenuButton">
<property name="primary">False</property>
<property name="icon-name">open-menu-symbolic</property>
<property name="tooltip-text" translatable="yes">Chat Menu</property>
<property name="menu-model">secondary_menu</property>
</object>
</child>
</object>
</child>
@@ -855,10 +860,8 @@
<attribute name="label" translatable="yes">Import chat</attribute>
<attribute name="action">app.import_chat</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Clear chat</attribute>
<attribute name="action">app.clear</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">Preferences</attribute>
<attribute name="action">app.preferences</attribute>
@@ -873,6 +876,20 @@
</item>
</section>
</menu>
<menu id="secondary_menu">
<item>
<attribute name="label" translatable="yes">Rename chat</attribute>
<attribute name="action">app.rename_chat</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Export chat</attribute>
<attribute name="action">app.export_chat</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Clear chat</attribute>
<attribute name="action">app.clear</attribute>
</item>
</menu>
<menu id="right_click_menu">
<section>
<item>