summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2016-02-18 23:20:42 +0200
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2016-02-18 23:20:42 +0200
commit7557dfd9393eefc9bb65e1f43059227cfc7e22db (patch)
tree2cfd383e54be4da3d431bbe209976726870a312c /src
parent0ec72c75e3348cccedfb2f6adaf6aea899035f98 (diff)
downloadmetacity-7557dfd9393eefc9bb65e1f43059227cfc7e22db.tar.gz
use upstream gettext & itstool
Diffstat (limited to 'src')
-rw-r--r--src/50-metacity-navigation.xml.in80
-rw-r--r--src/50-metacity-system.xml.in13
-rw-r--r--src/50-metacity-windows.xml.in50
-rw-r--r--src/Makefile.am29
-rw-r--r--src/metacity.desktop.in17
-rw-r--r--src/org.gnome.metacity.gschema.xml.in84
-rw-r--r--src/tools/Makefile.am2
7 files changed, 0 insertions, 275 deletions
diff --git a/src/50-metacity-navigation.xml.in b/src/50-metacity-navigation.xml.in
deleted file mode 100644
index 597cc47b..00000000
--- a/src/50-metacity-navigation.xml.in
+++ /dev/null
@@ -1,80 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<KeyListEntries schema="org.gnome.desktop.wm.keybindings"
- group="system"
- _name="Navigation"
- wm_name="Metacity"
- package="metacity">
-
- <KeyListEntry name="move-to-workspace-1"
- _description="Move window to workspace 1" />
-
- <KeyListEntry name="move-to-workspace-2"
- _description="Move window to workspace 2" />
-
- <KeyListEntry name="move-to-workspace-3"
- _description="Move window to workspace 3" />
-
- <KeyListEntry name="move-to-workspace-4"
- _description="Move window to workspace 4" />
-
- <KeyListEntry name="move-to-workspace-left"
- _description="Move window one workspace to the left" />
-
- <KeyListEntry name="move-to-workspace-right"
- _description="Move window one workspace to the right" />
-
- <KeyListEntry name="move-to-workspace-up"
- _description="Move window one workspace up" />
-
- <KeyListEntry name="move-to-workspace-down"
- _description="Move window one workspace down" />
-
- <KeyListEntry name="switch-windows"
- _description="Switch windows"/>
-
- <KeyListEntry name="switch-applications"
- _description="Switch applications"/>
-
- <KeyListEntry name="switch-group"
- _description="Switch windows of an application"/>
-
- <KeyListEntry name="switch-panels"
- _description="Switch system controls"/>
-
- <KeyListEntry name="cycle-windows"
- _description="Switch windows directly"/>
-
- <KeyListEntry name="cycle-group"
- _description="Switch windows of an app directly"/>
-
- <KeyListEntry name="cycle-panels"
- _description="Switch system controls directly"/>
-
- <KeyListEntry name="show-desktop"
- _description="Hide all normal windows"/>
-
- <KeyListEntry name="switch-to-workspace-1"
- _description="Switch to workspace 1" />
-
- <KeyListEntry name="switch-to-workspace-2"
- _description="Switch to workspace 2" />
-
- <KeyListEntry name="switch-to-workspace-3"
- _description="Switch to workspace 3" />
-
- <KeyListEntry name="switch-to-workspace-4"
- _description="Switch to workspace 4" />
-
- <KeyListEntry name="switch-to-workspace-left"
- _description="Move to workspace left" />
-
- <KeyListEntry name="switch-to-workspace-right"
- _description="Move to workspace right" />
-
- <KeyListEntry name="switch-to-workspace-up"
- _description="Move to workspace above" />
-
- <KeyListEntry name="switch-to-workspace-down"
- _description="Move to workspace below" />
-
-</KeyListEntries>
diff --git a/src/50-metacity-system.xml.in b/src/50-metacity-system.xml.in
deleted file mode 100644
index 8dd5e528..00000000
--- a/src/50-metacity-system.xml.in
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<KeyListEntries schema="org.gnome.desktop.wm.keybindings"
- group="system"
- _name="System"
- wm_name="Metacity"
- package="metacity">
-
- <KeyListEntry name="panel-run-dialog" _description="Show the run command prompt"/>
-
- <KeyListEntry name="panel-main-menu" _description="Show the applications menu"/>
-
-</KeyListEntries>
-
diff --git a/src/50-metacity-windows.xml.in b/src/50-metacity-windows.xml.in
deleted file mode 100644
index af4d2658..00000000
--- a/src/50-metacity-windows.xml.in
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<KeyListEntries schema="org.gnome.desktop.wm.keybindings"
- group="system"
- _name="Windows"
- wm_name="Metacity"
- package="metacity">
-
- <KeyListEntry name="activate-window-menu" _description="Activate the window menu"/>
-
- <KeyListEntry name="toggle-fullscreen" _description="Toggle fullscreen mode"/>
-
- <KeyListEntry name="toggle-maximized" _description="Toggle maximization state"/>
-
- <KeyListEntry name="maximize" _description="Maximize window"/>
-
- <KeyListEntry name="unmaximize" _description="Restore window"/>
-
- <KeyListEntry name="toggle-shaded" _description="Toggle shaded state"/>
-
- <KeyListEntry name="close" _description="Close window"/>
-
- <KeyListEntry name="minimize" _description="Minimize window"/>
-
- <KeyListEntry name="begin-move" _description="Move window"/>
-
- <KeyListEntry name="begin-resize" _description="Resize window"/>
-
- <KeyListEntry name="toggle-on-all-workspaces"
- _description="Toggle window on all workspaces or one"/>
-
- <KeyListEntry name="raise-or-lower" _description="Raise window if covered, otherwise lower it"/>
-
- <KeyListEntry name="raise" _description="Raise window above other windows"/>
-
- <KeyListEntry name="lower" _description="Lower window below other windows"/>
-
- <KeyListEntry name="maximize-vertically" _description="Maximize window vertically"/>
-
- <KeyListEntry name="maximize-horizontally" _description="Maximize window horizontally"/>
-
- <KeyListEntry name="toggle-tiled-left"
- schema="org.gnome.metacity.keybindings"
- _description="View split on left"/>
-
- <KeyListEntry name="toggle-tiled-right"
- schema="org.gnome.metacity.keybindings"
- _description="View split on right"/>
-
-</KeyListEntries>
-
diff --git a/src/Makefile.am b/src/Makefile.am
index 67b6a9ed..d652ad11 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -110,10 +110,6 @@ metacity_SOURCES= \
ui/ui.c \
$(NULL)
-gsettings_SCHEMAS = org.gnome.metacity.gschema.xml
-@INTLTOOL_XML_NOMERGE_RULE@
-@GSETTINGS_RULES@
-
bin_PROGRAMS=metacity
metacity_LDADD=@METACITY_LIBS@ $(top_builddir)/libmetacity/libmetacity.la
@@ -128,29 +124,4 @@ testboxes_LDADD= @METACITY_LIBS@
testgradient_LDADD= @METACITY_LIBS@
testasyncgetprop_LDADD= @METACITY_LIBS@
-@INTLTOOL_DESKTOP_RULE@
-
-desktopfilesdir=$(datadir)/applications
-desktopfiles_in_files=metacity.desktop.in
-desktopfiles_files=$(desktopfiles_in_files:.desktop.in=.desktop)
-desktopfiles_DATA = $(desktopfiles_files)
-
-xmldir = @GNOME_KEYBINDINGS_KEYSDIR@
-xml_in_files = \
- 50-metacity-navigation.xml.in \
- 50-metacity-system.xml.in \
- 50-metacity-windows.xml.in
-
-xml_DATA = $(xml_in_files:.xml.in=.xml)
-
-@INTLTOOL_SCHEMAS_RULE@
-
-CLEANFILES = \
- metacity.desktop org.gnome.metacity.gschema.xml 50-metacity-launchers.xml 50-metacity-navigation.xml 50-metacity-screenshot.xml 50-metacity-system.xml 50-metacity-windows.xml
-
-EXTRA_DIST=$(desktopfiles_files) \
- $(desktopfiles_in_files) \
- org.gnome.metacity.gschema.xml.in \
- $(xml_in_files)
-
-include $(top_srcdir)/git.mk
diff --git a/src/metacity.desktop.in b/src/metacity.desktop.in
deleted file mode 100644
index 220ed51d..00000000
--- a/src/metacity.desktop.in
+++ /dev/null
@@ -1,17 +0,0 @@
-[Desktop Entry]
-Type=Application
-_Name=Metacity
-Exec=metacity
-NoDisplay=true
-# name of loadable control center module
-X-GNOME-WMSettingsModule=metacity
-# name we put on the WM spec check window
-X-GNOME-WMName=Metacity
-# back compat only
-X-GnomeWMSettingsLibrary=metacity
-X-GNOME-Bugzilla-Bugzilla=GNOME
-X-GNOME-Bugzilla-Product=metacity
-X-GNOME-Bugzilla-Component=general
-X-GNOME-Autostart-Phase=WindowManager
-X-GNOME-Provides=windowmanager
-X-GNOME-Autostart-Notify=true
diff --git a/src/org.gnome.metacity.gschema.xml.in b/src/org.gnome.metacity.gschema.xml.in
deleted file mode 100644
index 23a893be..00000000
--- a/src/org.gnome.metacity.gschema.xml.in
+++ /dev/null
@@ -1,84 +0,0 @@
-<schemalist>
-
- <enum id="org.gnome.metacity.MetaPlacementMode">
- <value nick="smart" value="0" />
- <value nick="cascade" value="1" />
- <value nick="center" value="2" />
- <value nick="origin" value="3" />
- <value nick="random" value="4" />
- </enum>
-
- <schema id="org.gnome.metacity" path="/org/gnome/metacity/"
- gettext-domain="@GETTEXT_PACKAGE@">
- <key name="compositing-manager" type="b">
- <default>true</default>
- <_summary>Compositing Manager</_summary>
- <_description>
- Determines whether Metacity is a compositing manager.
- </_description>
- </key>
- <key name="reduced-resources" type="b">
- <default>false</default>
- <_summary>If true, trade off usability for less resource usage</_summary>
- <_description>
- If true, Metacity will give the user less feedback by using wireframes,
- avoiding animations, or other means. This is a significant reduction
- in usability for many users, but may allow legacy applications to
- continue working, and may also be a useful tradeoff
- for terminal servers.
-
- However, the wireframe feature is disabled when accessibility is on.
- </_description>
- </key>
- <key name="edge-tiling" type="b">
- <default>true</default>
- <_summary>Enable edge tiling when dropping windows on screen edges</_summary>
- <_description>
- If enabled, dropping windows on vertical screen edges maximizes them
- vertically and resizes them horizontally to cover half of the available
- area. Dropping windows on the top screen edge maximizes them completely.
- </_description>
- </key>
- <key name="placement-mode" enum="org.gnome.metacity.MetaPlacementMode">
- <default>'smart'</default>
- <_summary>Window placement behavior</_summary>
- <_description>
- Metacity's default window-placement behavior is smart (first-fit),
- similar to behaviors in some other window managers. It will try to tile
- windows so that they do not overlap. Set this option to "smart" for this
- behavior.
-
- This option can be set to "center" to place new windows in the centers
- of their workspaces, "origin" for the upper-left corners of the
- workspaces, or "random" to place new windows at random locations within
- their workspaces.
- </_description>
- </key>
- <key name="alt-tab-thumbnails" type="b">
- <default>false</default>
- <_summary>Show window content thumbnail in Alt-Tab</_summary>
- <_description>
- If set to true, Metacity will show window content thumbnails in the
- Alt-Tab window instead of only icons.
- </_description>
- </key>
- <key name="theme" type="s">
- <default>'Adwaita'</default>
- <_summary>Current theme</_summary>
- <_description>
- The theme determines the appearance of window borders, titlebar,
- and so forth.
- </_description>
- </key>
- </schema>
-
- <schema id="org.gnome.metacity.keybindings" path="/org/gnome/metacity/keybindings/">
- <key name="toggle-tiled-left" type="as">
- <default><![CDATA[['<Super>Left']]]></default>
- </key>
- <key name="toggle-tiled-right" type="as">
- <default><![CDATA[['<Super>Right']]]></default>
- </key>
- </schema>
-
-</schemalist>
diff --git a/src/tools/Makefile.am b/src/tools/Makefile.am
index ebf8bd5e..c6b1a76f 100644
--- a/src/tools/Makefile.am
+++ b/src/tools/Makefile.am
@@ -1,5 +1,3 @@
-@INTLTOOL_DESKTOP_RULE@
-
icondir=$(pkgdatadir)/icons
icon_DATA=metacity-window-demo.png