summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhuyaliang <[email protected]>2023-04-06 17:08:50 +0800
committerLuke from DC <[email protected]>2023-04-07 17:12:50 +0000
commit457669530e7f68a8b777ea2aaa61d79cf3c2a673 (patch)
tree638ef543a429185d3474ab87711a9f81f7e76697
parent1b316395e529c3af334953eb0bd8908aebc29bab (diff)
downloadengrampa-457669530e7f68a8b777ea2aaa61d79cf3c2a673.tar.bz2
engrampa-457669530e7f68a8b777ea2aaa61d79cf3c2a673.tar.xz
UI: Remove useless code and file
-rw-r--r--po/POTFILES.in1
-rw-r--r--src/engrampa.gresource.xml1
-rw-r--r--src/ui/Makefile.am1
-rw-r--r--src/ui/app-menu.ui18
-rw-r--r--src/ui/menus-toolbars.ui4
5 files changed, 0 insertions, 25 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 4762e92..552a767 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -121,7 +121,6 @@ src/server.c
src/test-server.c
src/typedefs.h
src/ui/add-options.ui
-src/ui/app-menu.ui
src/ui/batch-add-files.ui
src/ui/batch-password.ui
src/ui/delete.ui
diff --git a/src/engrampa.gresource.xml b/src/engrampa.gresource.xml
index deed6e3..8d7ebc2 100644
--- a/src/engrampa.gresource.xml
+++ b/src/engrampa.gresource.xml
@@ -2,7 +2,6 @@
<gresources>
<gresource prefix="/org/mate/Engrampa">
<file compressed="true">ui/add-options.ui</file>
- <file compressed="true">ui/app-menu.ui</file>
<file compressed="true">ui/batch-add-files.ui</file>
<file compressed="true">ui/batch-password.ui</file>
<file compressed="true">ui/delete.ui</file>
diff --git a/src/ui/Makefile.am b/src/ui/Makefile.am
index db123ae..95b9d51 100644
--- a/src/ui/Makefile.am
+++ b/src/ui/Makefile.am
@@ -1,6 +1,5 @@
EXTRA_DIST = \
add-options.ui \
- app-menu.ui \
batch-add-files.ui \
batch-password.ui \
delete.ui \
diff --git a/src/ui/app-menu.ui b/src/ui/app-menu.ui
deleted file mode 100644
index 11428d5..0000000
--- a/src/ui/app-menu.ui
+++ /dev/null
@@ -1,18 +0,0 @@
-<interface>
- <menu id="app-menu">
- <section>
- <item>
- <attribute name="action">app.help</attribute>
- <attribute name="label" translatable="yes">_Help</attribute>
- </item>
- <item>
- <attribute name="action">app.about</attribute>
- <attribute name="label" translatable="yes">_About Archive Manager</attribute>
- </item>
- <item>
- <attribute name="action">app.quit</attribute>
- <attribute name="label" translatable="yes">_Quit</attribute>
- </item>
- </section>
- </menu>
-</interface>
diff --git a/src/ui/menus-toolbars.ui b/src/ui/menus-toolbars.ui
index b6b68ed..c5dc080 100644
--- a/src/ui/menus-toolbars.ui
+++ b/src/ui/menus-toolbars.ui
@@ -88,10 +88,6 @@
<menuitem action="Rename"/>
<menuitem action="Delete"/>
</popup>
- <popup name="AddMenu">
- <menuitem action="AddFiles"/>
- <menuitem action="AddFolder"/>
- </popup>
<popup name="SidebarFolderPopupMenu">
<menuitem action="OpenFolderFromSidebar"/>
<separator/>