mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
build: Say good-bye to intltool
intltool is unmaintained nowadays while upstream gettext gained support for formats like GSettings schemas and .desktop files, and offers a mechanism to teach it about other XML formats not yet supported out of the box which we can use for the rest. So there's nothing stopping us, just make the switch ... https://bugzilla.gnome.org/show_bug.cgi?id=769073
This commit is contained in:
parent
5649734100
commit
3248c6852c
6
.gitignore
vendored
6
.gitignore
vendored
@ -41,8 +41,14 @@ stamp-h1
|
|||||||
*~
|
*~
|
||||||
stamp-it
|
stamp-it
|
||||||
.intltool-merge-cache
|
.intltool-merge-cache
|
||||||
|
ABOUT-NLS
|
||||||
POTFILES
|
POTFILES
|
||||||
|
Makevars.template
|
||||||
|
po/*.header
|
||||||
po/*.pot
|
po/*.pot
|
||||||
|
po/*.sed
|
||||||
|
po/*.sin
|
||||||
|
Rules-quot
|
||||||
libmutter.pc
|
libmutter.pc
|
||||||
mutter
|
mutter
|
||||||
mutter-restart-helper
|
mutter-restart-helper
|
||||||
|
@ -43,9 +43,11 @@ GETTEXT_PACKAGE=mutter
|
|||||||
AC_SUBST(GETTEXT_PACKAGE)
|
AC_SUBST(GETTEXT_PACKAGE)
|
||||||
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[Name of default gettext domain])
|
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[Name of default gettext domain])
|
||||||
|
|
||||||
|
AM_GNU_GETTEXT_VERSION([0.19.6])
|
||||||
|
AM_GNU_GETTEXT([external])
|
||||||
|
|
||||||
LT_PREREQ([2.2.6])
|
LT_PREREQ([2.2.6])
|
||||||
LT_INIT([disable-static])
|
LT_INIT([disable-static])
|
||||||
IT_PROG_INTLTOOL([0.41])
|
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_CC_C_O
|
AC_PROG_CC_C_O
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
|
@ -1,140 +1,140 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<KeyListEntries schema="org.gnome.desktop.wm.keybindings"
|
<KeyListEntries schema="org.gnome.desktop.wm.keybindings"
|
||||||
group="system"
|
group="system"
|
||||||
_name="Navigation"
|
name="Navigation"
|
||||||
wm_name="Mutter"
|
wm_name="Mutter"
|
||||||
package="mutter">
|
package="mutter">
|
||||||
|
|
||||||
<KeyListEntry name="move-to-workspace-1"
|
<KeyListEntry name="move-to-workspace-1"
|
||||||
_description="Move window to workspace 1" />
|
description="Move window to workspace 1" />
|
||||||
|
|
||||||
<KeyListEntry name="move-to-workspace-2"
|
<KeyListEntry name="move-to-workspace-2"
|
||||||
_description="Move window to workspace 2" />
|
description="Move window to workspace 2" />
|
||||||
|
|
||||||
<KeyListEntry name="move-to-workspace-3"
|
<KeyListEntry name="move-to-workspace-3"
|
||||||
_description="Move window to workspace 3" />
|
description="Move window to workspace 3" />
|
||||||
|
|
||||||
<KeyListEntry name="move-to-workspace-4"
|
<KeyListEntry name="move-to-workspace-4"
|
||||||
_description="Move window to workspace 4" />
|
description="Move window to workspace 4" />
|
||||||
|
|
||||||
<KeyListEntry name="move-to-workspace-last"
|
<KeyListEntry name="move-to-workspace-last"
|
||||||
_description="Move window to last workspace" />
|
description="Move window to last workspace" />
|
||||||
|
|
||||||
<KeyListEntry name="move-to-workspace-left"
|
<KeyListEntry name="move-to-workspace-left"
|
||||||
_description="Move window one workspace to the left" />
|
description="Move window one workspace to the left" />
|
||||||
|
|
||||||
<KeyListEntry name="move-to-workspace-right"
|
<KeyListEntry name="move-to-workspace-right"
|
||||||
_description="Move window one workspace to the right" />
|
description="Move window one workspace to the right" />
|
||||||
|
|
||||||
<KeyListEntry name="move-to-workspace-up"
|
<KeyListEntry name="move-to-workspace-up"
|
||||||
_description="Move window one workspace up" />
|
description="Move window one workspace up" />
|
||||||
|
|
||||||
<KeyListEntry name="move-to-workspace-down"
|
<KeyListEntry name="move-to-workspace-down"
|
||||||
_description="Move window one workspace down" />
|
description="Move window one workspace down" />
|
||||||
|
|
||||||
<KeyListEntry name="move-to-monitor-left"
|
<KeyListEntry name="move-to-monitor-left"
|
||||||
_description="Move window one monitor to the left" />
|
description="Move window one monitor to the left" />
|
||||||
|
|
||||||
<KeyListEntry name="move-to-monitor-right"
|
<KeyListEntry name="move-to-monitor-right"
|
||||||
_description="Move window one monitor to the right" />
|
description="Move window one monitor to the right" />
|
||||||
|
|
||||||
<KeyListEntry name="move-to-monitor-up"
|
<KeyListEntry name="move-to-monitor-up"
|
||||||
_description="Move window one monitor up" />
|
description="Move window one monitor up" />
|
||||||
|
|
||||||
<KeyListEntry name="move-to-monitor-down"
|
<KeyListEntry name="move-to-monitor-down"
|
||||||
_description="Move window one monitor down" />
|
description="Move window one monitor down" />
|
||||||
|
|
||||||
<KeyListEntry name="switch-applications"
|
<KeyListEntry name="switch-applications"
|
||||||
reverse-entry="switch-applications-backward"
|
reverse-entry="switch-applications-backward"
|
||||||
_description="Switch applications"/>
|
description="Switch applications"/>
|
||||||
|
|
||||||
<KeyListEntry name="switch-applications-backward"
|
<KeyListEntry name="switch-applications-backward"
|
||||||
reverse-entry="switch-applications"
|
reverse-entry="switch-applications"
|
||||||
hidden="true"
|
hidden="true"
|
||||||
_description="Switch to previous application"/>
|
description="Switch to previous application"/>
|
||||||
|
|
||||||
<KeyListEntry name="switch-windows"
|
<KeyListEntry name="switch-windows"
|
||||||
reverse-entry="switch-windows-backward"
|
reverse-entry="switch-windows-backward"
|
||||||
_description="Switch windows"/>
|
description="Switch windows"/>
|
||||||
|
|
||||||
<KeyListEntry name="switch-windows-backward"
|
<KeyListEntry name="switch-windows-backward"
|
||||||
reverse-entry="switch-windows"
|
reverse-entry="switch-windows"
|
||||||
hidden="true"
|
hidden="true"
|
||||||
_description="Switch to previous window"/>
|
description="Switch to previous window"/>
|
||||||
|
|
||||||
<KeyListEntry name="switch-group"
|
<KeyListEntry name="switch-group"
|
||||||
reverse-entry="switch-group-backward"
|
reverse-entry="switch-group-backward"
|
||||||
_description="Switch windows of an application"/>
|
description="Switch windows of an application"/>
|
||||||
|
|
||||||
<KeyListEntry name="switch-group-backward"
|
<KeyListEntry name="switch-group-backward"
|
||||||
reverse-entry="switch-group"
|
reverse-entry="switch-group"
|
||||||
hidden="true"
|
hidden="true"
|
||||||
_description="Switch to previous window of an application"/>
|
description="Switch to previous window of an application"/>
|
||||||
|
|
||||||
<KeyListEntry name="switch-panels"
|
<KeyListEntry name="switch-panels"
|
||||||
reverse-entry="switch-panels-backward"
|
reverse-entry="switch-panels-backward"
|
||||||
_description="Switch system controls"/>
|
description="Switch system controls"/>
|
||||||
|
|
||||||
<KeyListEntry name="switch-panels-backward"
|
<KeyListEntry name="switch-panels-backward"
|
||||||
reverse-entry="switch-panels"
|
reverse-entry="switch-panels"
|
||||||
hidden="true"
|
hidden="true"
|
||||||
_description="Switch to previous system control"/>
|
description="Switch to previous system control"/>
|
||||||
|
|
||||||
<KeyListEntry name="cycle-windows"
|
<KeyListEntry name="cycle-windows"
|
||||||
reverse-entry="cycle-windows-backward"
|
reverse-entry="cycle-windows-backward"
|
||||||
_description="Switch windows directly"/>
|
description="Switch windows directly"/>
|
||||||
|
|
||||||
<KeyListEntry name="cycle-windows-backward"
|
<KeyListEntry name="cycle-windows-backward"
|
||||||
reverse-entry="cycle-windows"
|
reverse-entry="cycle-windows"
|
||||||
hidden="true"
|
hidden="true"
|
||||||
_description="Switch directly to previous window"/>
|
description="Switch directly to previous window"/>
|
||||||
|
|
||||||
<KeyListEntry name="cycle-group"
|
<KeyListEntry name="cycle-group"
|
||||||
reverse-entry="cycle-group-backward"
|
reverse-entry="cycle-group-backward"
|
||||||
_description="Switch windows of an app directly"/>
|
description="Switch windows of an app directly"/>
|
||||||
|
|
||||||
<KeyListEntry name="cycle-group-backward"
|
<KeyListEntry name="cycle-group-backward"
|
||||||
reverse-entry="cycle-group"
|
reverse-entry="cycle-group"
|
||||||
hidden="true"
|
hidden="true"
|
||||||
_description="Switch directly to previous window of an app"/>
|
description="Switch directly to previous window of an app"/>
|
||||||
|
|
||||||
<KeyListEntry name="cycle-panels"
|
<KeyListEntry name="cycle-panels"
|
||||||
reverse-entry="cycle-panels-backward"
|
reverse-entry="cycle-panels-backward"
|
||||||
_description="Switch system controls directly"/>
|
description="Switch system controls directly"/>
|
||||||
|
|
||||||
<KeyListEntry name="cycle-panels-backward"
|
<KeyListEntry name="cycle-panels-backward"
|
||||||
reverse-entry="cycle-panels"
|
reverse-entry="cycle-panels"
|
||||||
hidden="true"
|
hidden="true"
|
||||||
_description="Switch directly to previous system control"/>
|
description="Switch directly to previous system control"/>
|
||||||
|
|
||||||
<KeyListEntry name="show-desktop"
|
<KeyListEntry name="show-desktop"
|
||||||
_description="Hide all normal windows"/>
|
description="Hide all normal windows"/>
|
||||||
|
|
||||||
<KeyListEntry name="switch-to-workspace-1"
|
<KeyListEntry name="switch-to-workspace-1"
|
||||||
_description="Switch to workspace 1" />
|
description="Switch to workspace 1" />
|
||||||
|
|
||||||
<KeyListEntry name="switch-to-workspace-2"
|
<KeyListEntry name="switch-to-workspace-2"
|
||||||
_description="Switch to workspace 2" />
|
description="Switch to workspace 2" />
|
||||||
|
|
||||||
<KeyListEntry name="switch-to-workspace-3"
|
<KeyListEntry name="switch-to-workspace-3"
|
||||||
_description="Switch to workspace 3" />
|
description="Switch to workspace 3" />
|
||||||
|
|
||||||
<KeyListEntry name="switch-to-workspace-4"
|
<KeyListEntry name="switch-to-workspace-4"
|
||||||
_description="Switch to workspace 4" />
|
description="Switch to workspace 4" />
|
||||||
|
|
||||||
<KeyListEntry name="switch-to-workspace-last"
|
<KeyListEntry name="switch-to-workspace-last"
|
||||||
_description="Switch to last workspace" />
|
description="Switch to last workspace" />
|
||||||
|
|
||||||
<KeyListEntry name="switch-to-workspace-left"
|
<KeyListEntry name="switch-to-workspace-left"
|
||||||
_description="Move to workspace left" />
|
description="Move to workspace left" />
|
||||||
|
|
||||||
<KeyListEntry name="switch-to-workspace-right"
|
<KeyListEntry name="switch-to-workspace-right"
|
||||||
_description="Move to workspace right" />
|
description="Move to workspace right" />
|
||||||
|
|
||||||
<KeyListEntry name="switch-to-workspace-up"
|
<KeyListEntry name="switch-to-workspace-up"
|
||||||
_description="Move to workspace above" />
|
description="Move to workspace above" />
|
||||||
|
|
||||||
<KeyListEntry name="switch-to-workspace-down"
|
<KeyListEntry name="switch-to-workspace-down"
|
||||||
_description="Move to workspace below" />
|
description="Move to workspace below" />
|
||||||
|
|
||||||
</KeyListEntries>
|
</KeyListEntries>
|
@ -1,13 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<KeyListEntries schema="org.gnome.desktop.wm.keybindings"
|
<KeyListEntries schema="org.gnome.desktop.wm.keybindings"
|
||||||
group="system"
|
group="system"
|
||||||
_name="System"
|
name="System"
|
||||||
wm_name="Mutter"
|
wm_name="Mutter"
|
||||||
package="mutter">
|
package="mutter">
|
||||||
|
|
||||||
<KeyListEntry name="panel-run-dialog" _description="Show the run command prompt"/>
|
<KeyListEntry name="panel-run-dialog" description="Show the run command prompt"/>
|
||||||
|
|
||||||
<KeyListEntry name="panel-main-menu" _description="Show the activities overview"/>
|
<KeyListEntry name="panel-main-menu" description="Show the activities overview"/>
|
||||||
|
|
||||||
</KeyListEntries>
|
</KeyListEntries>
|
||||||
|
|
50
data/50-mutter-windows.xml
Normal file
50
data/50-mutter-windows.xml
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<KeyListEntries schema="org.gnome.desktop.wm.keybindings"
|
||||||
|
group="system"
|
||||||
|
name="Windows"
|
||||||
|
wm_name="Mutter"
|
||||||
|
package="mutter">
|
||||||
|
|
||||||
|
<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="Hide 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.mutter.keybindings"
|
||||||
|
description="View split on left"/>
|
||||||
|
|
||||||
|
<KeyListEntry name="toggle-tiled-right"
|
||||||
|
schema="org.gnome.mutter.keybindings"
|
||||||
|
description="View split on right"/>
|
||||||
|
|
||||||
|
</KeyListEntries>
|
||||||
|
|
@ -1,50 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
|
||||||
<KeyListEntries schema="org.gnome.desktop.wm.keybindings"
|
|
||||||
group="system"
|
|
||||||
_name="Windows"
|
|
||||||
wm_name="Mutter"
|
|
||||||
package="mutter">
|
|
||||||
|
|
||||||
<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="Hide 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.mutter.keybindings"
|
|
||||||
_description="View split on left"/>
|
|
||||||
|
|
||||||
<KeyListEntry name="toggle-tiled-right"
|
|
||||||
schema="org.gnome.mutter.keybindings"
|
|
||||||
_description="View split on right"/>
|
|
||||||
|
|
||||||
</KeyListEntries>
|
|
||||||
|
|
@ -3,21 +3,24 @@ desktopfiles_in_files = \
|
|||||||
desktopfilesdir = $(datadir)/applications
|
desktopfilesdir = $(datadir)/applications
|
||||||
desktopfiles_DATA = $(desktopfiles_in_files:.desktop.in=.desktop)
|
desktopfiles_DATA = $(desktopfiles_in_files:.desktop.in=.desktop)
|
||||||
|
|
||||||
@INTLTOOL_DESKTOP_RULE@
|
%.desktop:%.desktop.in
|
||||||
|
$(AM_V_GET) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
|
||||||
|
|
||||||
xml_in_files = \
|
|
||||||
50-mutter-navigation.xml.in \
|
|
||||||
50-mutter-system.xml.in \
|
|
||||||
50-mutter-windows.xml.in
|
|
||||||
xmldir = $(GNOME_KEYBINDINGS_KEYSDIR)
|
xmldir = $(GNOME_KEYBINDINGS_KEYSDIR)
|
||||||
xml_DATA = $(xml_in_files:.xml.in=.xml)
|
xml_DATA = \
|
||||||
|
50-mutter-navigation.xml \
|
||||||
|
50-mutter-system.xml \
|
||||||
|
50-mutter-windows.xml
|
||||||
|
|
||||||
gschema_in_files = \
|
gschema_in_files = \
|
||||||
org.gnome.mutter.gschema.xml.in \
|
org.gnome.mutter.gschema.xml.in \
|
||||||
org.gnome.mutter.wayland.gschema.xml.in
|
org.gnome.mutter.wayland.gschema.xml.in
|
||||||
gsettings_SCHEMAS = $(gschema_in_files:.xml.in=.xml)
|
gsettings_SCHEMAS = $(gschema_in_files:.xml.in=.xml)
|
||||||
|
|
||||||
@INTLTOOL_XML_NOMERGE_RULE@
|
%.gschema.xml: %.gschema.xml.in Makefile
|
||||||
|
$(AM_V_GEN) sed -e 's|@GETTEXT_DOMAIN[@]|$(GETTEXT_DOMAIN)|g' \
|
||||||
|
$< > $@ || rm $@
|
||||||
|
|
||||||
@GSETTINGS_RULES@
|
@GSETTINGS_RULES@
|
||||||
|
|
||||||
convertdir = $(datadir)/GConf/gsettings
|
convertdir = $(datadir)/GConf/gsettings
|
||||||
@ -25,11 +28,10 @@ convert_DATA = mutter-schemas.convert
|
|||||||
|
|
||||||
CLEANFILES = \
|
CLEANFILES = \
|
||||||
$(desktopfiles_DATA) \
|
$(desktopfiles_DATA) \
|
||||||
$(gsettings_SCHEMAS) \
|
$(gsettings_SCHEMAS)
|
||||||
$(xml_DATA)
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(convert_DATA) \
|
$(convert_DATA) \
|
||||||
$(desktopfiles_in_files) \
|
$(desktopfiles_in_files) \
|
||||||
$(gschema_in_files) \
|
$(gschema_in_files) \
|
||||||
$(xml_in_files)
|
$(xml_DATA)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Type=Application
|
Type=Application
|
||||||
_Name=Mutter
|
Name=Mutter
|
||||||
Exec=mutter
|
Exec=mutter
|
||||||
NoDisplay=true
|
NoDisplay=true
|
||||||
# name of loadable control center module
|
# name of loadable control center module
|
||||||
|
@ -4,102 +4,102 @@
|
|||||||
|
|
||||||
<key name="overlay-key" type="s">
|
<key name="overlay-key" type="s">
|
||||||
<default>'Super_L'</default>
|
<default>'Super_L'</default>
|
||||||
<_summary>Modifier to use for extended window management operations</_summary>
|
<summary>Modifier to use for extended window management operations</summary>
|
||||||
<_description>
|
<description>
|
||||||
This key will initiate the "overlay", which is a combination window
|
This key will initiate the "overlay", which is a combination window
|
||||||
overview and application launching system. The default is intended
|
overview and application launching system. The default is intended
|
||||||
to be the "Windows key" on PC hardware.
|
to be the "Windows key" on PC hardware.
|
||||||
|
|
||||||
It's expected that this binding either the default or set to
|
It's expected that this binding either the default or set to
|
||||||
the empty string.
|
the empty string.
|
||||||
</_description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
|
|
||||||
<key name="attach-modal-dialogs" type="b">
|
<key name="attach-modal-dialogs" type="b">
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
<_summary>Attach modal dialogs</_summary>
|
<summary>Attach modal dialogs</summary>
|
||||||
<_description>
|
<description>
|
||||||
When true, instead of having independent titlebars, modal dialogs
|
When true, instead of having independent titlebars, modal dialogs
|
||||||
appear attached to the titlebar of the parent window and are moved
|
appear attached to the titlebar of the parent window and are moved
|
||||||
together with the parent window.
|
together with the parent window.
|
||||||
</_description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
|
|
||||||
<key name="edge-tiling" type="b">
|
<key name="edge-tiling" type="b">
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
<_summary>Enable edge tiling when dropping windows on screen edges</_summary>
|
<summary>Enable edge tiling when dropping windows on screen edges</summary>
|
||||||
<_description>
|
<description>
|
||||||
If enabled, dropping windows on vertical screen edges maximizes them
|
If enabled, dropping windows on vertical screen edges maximizes them
|
||||||
vertically and resizes them horizontally to cover half of the available
|
vertically and resizes them horizontally to cover half of the available
|
||||||
area. Dropping windows on the top screen edge maximizes them completely.
|
area. Dropping windows on the top screen edge maximizes them completely.
|
||||||
</_description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
|
|
||||||
<key name="dynamic-workspaces" type="b">
|
<key name="dynamic-workspaces" type="b">
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
<_summary>Workspaces are managed dynamically</_summary>
|
<summary>Workspaces are managed dynamically</summary>
|
||||||
<_description>
|
<description>
|
||||||
Determines whether workspaces are managed dynamically or
|
Determines whether workspaces are managed dynamically or
|
||||||
whether there's a static number of workspaces (determined
|
whether there's a static number of workspaces (determined
|
||||||
by the num-workspaces key in org.gnome.desktop.wm.preferences).
|
by the num-workspaces key in org.gnome.desktop.wm.preferences).
|
||||||
</_description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
|
|
||||||
<key name="workspaces-only-on-primary" type="b">
|
<key name="workspaces-only-on-primary" type="b">
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
<_summary>Workspaces only on primary</_summary>
|
<summary>Workspaces only on primary</summary>
|
||||||
<_description>
|
<description>
|
||||||
Determines whether workspace switching should happen for windows
|
Determines whether workspace switching should happen for windows
|
||||||
on all monitors or only for windows on the primary monitor.
|
on all monitors or only for windows on the primary monitor.
|
||||||
</_description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
|
|
||||||
<key name="no-tab-popup" type="b">
|
<key name="no-tab-popup" type="b">
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
<_summary>No tab popup</_summary>
|
<summary>No tab popup</summary>
|
||||||
<_description>
|
<description>
|
||||||
Determines whether the use of popup and highlight frame should
|
Determines whether the use of popup and highlight frame should
|
||||||
be disabled for window cycling.
|
be disabled for window cycling.
|
||||||
</_description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
|
|
||||||
<key name="focus-change-on-pointer-rest" type="b">
|
<key name="focus-change-on-pointer-rest" type="b">
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
<_summary>Delay focus changes until the pointer stops moving</_summary>
|
<summary>Delay focus changes until the pointer stops moving</summary>
|
||||||
<_description>
|
<description>
|
||||||
If set to true, and the focus mode is either "sloppy" or "mouse"
|
If set to true, and the focus mode is either "sloppy" or "mouse"
|
||||||
then the focus will not be changed immediately when entering a
|
then the focus will not be changed immediately when entering a
|
||||||
window, but only after the pointer stops moving.
|
window, but only after the pointer stops moving.
|
||||||
</_description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
|
|
||||||
<key name="draggable-border-width" type="i">
|
<key name="draggable-border-width" type="i">
|
||||||
<default>10</default>
|
<default>10</default>
|
||||||
<range min="0" max="64"/>
|
<range min="0" max="64"/>
|
||||||
<_summary>Draggable border width</_summary>
|
<summary>Draggable border width</summary>
|
||||||
<_description>
|
<description>
|
||||||
The amount of total draggable borders. If the theme's visible
|
The amount of total draggable borders. If the theme's visible
|
||||||
borders are not enough, invisible borders will be added to meet
|
borders are not enough, invisible borders will be added to meet
|
||||||
this value.
|
this value.
|
||||||
</_description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
|
|
||||||
<key name="auto-maximize" type="b">
|
<key name="auto-maximize" type="b">
|
||||||
<default>true</default>
|
<default>true</default>
|
||||||
<_summary>Auto maximize nearly monitor sized windows</_summary>
|
<summary>Auto maximize nearly monitor sized windows</summary>
|
||||||
<_description>
|
<description>
|
||||||
If enabled, new windows that are initially the size of the monitor
|
If enabled, new windows that are initially the size of the monitor
|
||||||
automatically get maximized.
|
automatically get maximized.
|
||||||
</_description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
|
|
||||||
<key name="center-new-windows" type="b">
|
<key name="center-new-windows" type="b">
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
<_summary>Place new windows in the center</_summary>
|
<summary>Place new windows in the center</summary>
|
||||||
<_description>
|
<description>
|
||||||
When true, the new windows will always be put in the center of the
|
When true, the new windows will always be put in the center of the
|
||||||
active screen of the monitor.
|
active screen of the monitor.
|
||||||
</_description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
|
|
||||||
<child name="keybindings" schema="org.gnome.mutter.keybindings"/>
|
<child name="keybindings" schema="org.gnome.mutter.keybindings"/>
|
||||||
@ -117,12 +117,12 @@
|
|||||||
|
|
||||||
<key name="tab-popup-select" type="as">
|
<key name="tab-popup-select" type="as">
|
||||||
<default>[]</default>
|
<default>[]</default>
|
||||||
<_summary>Select window from tab popup</_summary>
|
<summary>Select window from tab popup</summary>
|
||||||
</key>
|
</key>
|
||||||
|
|
||||||
<key name="tab-popup-cancel" type="as">
|
<key name="tab-popup-cancel" type="as">
|
||||||
<default>[]</default>
|
<default>[]</default>
|
||||||
<_summary>Cancel tab popup</_summary>
|
<summary>Cancel tab popup</summary>
|
||||||
</key>
|
</key>
|
||||||
|
|
||||||
</schema>
|
</schema>
|
||||||
|
@ -3,51 +3,51 @@
|
|||||||
gettext-domain="@GETTEXT_DOMAIN@">
|
gettext-domain="@GETTEXT_DOMAIN@">
|
||||||
<key name="switch-to-session-1" type="as">
|
<key name="switch-to-session-1" type="as">
|
||||||
<default><![CDATA[['<Primary><Alt>F1']]]></default>
|
<default><![CDATA[['<Primary><Alt>F1']]]></default>
|
||||||
<_summary>Switch to VT 1</_summary>
|
<summary>Switch to VT 1</summary>
|
||||||
</key>
|
</key>
|
||||||
<key name="switch-to-session-2" type="as">
|
<key name="switch-to-session-2" type="as">
|
||||||
<default><![CDATA[['<Primary><Alt>F2']]]></default>
|
<default><![CDATA[['<Primary><Alt>F2']]]></default>
|
||||||
<_summary>Switch to VT 2</_summary>
|
<summary>Switch to VT 2</summary>
|
||||||
</key>
|
</key>
|
||||||
<key name="switch-to-session-3" type="as">
|
<key name="switch-to-session-3" type="as">
|
||||||
<default><![CDATA[['<Primary><Alt>F3']]]></default>
|
<default><![CDATA[['<Primary><Alt>F3']]]></default>
|
||||||
<_summary>Switch to VT 3</_summary>
|
<summary>Switch to VT 3</summary>
|
||||||
</key>
|
</key>
|
||||||
<key name="switch-to-session-4" type="as">
|
<key name="switch-to-session-4" type="as">
|
||||||
<default><![CDATA[['<Primary><Alt>F4']]]></default>
|
<default><![CDATA[['<Primary><Alt>F4']]]></default>
|
||||||
<_summary>Switch to VT 4</_summary>
|
<summary>Switch to VT 4</summary>
|
||||||
</key>
|
</key>
|
||||||
<key name="switch-to-session-5" type="as">
|
<key name="switch-to-session-5" type="as">
|
||||||
<default><![CDATA[['<Primary><Alt>F5']]]></default>
|
<default><![CDATA[['<Primary><Alt>F5']]]></default>
|
||||||
<_summary>Switch to VT 5</_summary>
|
<summary>Switch to VT 5</summary>
|
||||||
</key>
|
</key>
|
||||||
<key name="switch-to-session-6" type="as">
|
<key name="switch-to-session-6" type="as">
|
||||||
<default><![CDATA[['<Primary><Alt>F6']]]></default>
|
<default><![CDATA[['<Primary><Alt>F6']]]></default>
|
||||||
<_summary>Switch to VT 6</_summary>
|
<summary>Switch to VT 6</summary>
|
||||||
</key>
|
</key>
|
||||||
<key name="switch-to-session-7" type="as">
|
<key name="switch-to-session-7" type="as">
|
||||||
<default><![CDATA[['<Primary><Alt>F7']]]></default>
|
<default><![CDATA[['<Primary><Alt>F7']]]></default>
|
||||||
<_summary>Switch to VT 7</_summary>
|
<summary>Switch to VT 7</summary>
|
||||||
</key>
|
</key>
|
||||||
<key name="switch-to-session-8" type="as">
|
<key name="switch-to-session-8" type="as">
|
||||||
<default><![CDATA[['<Primary><Alt>F8']]]></default>
|
<default><![CDATA[['<Primary><Alt>F8']]]></default>
|
||||||
<_summary>Switch to VT 8</_summary>
|
<summary>Switch to VT 8</summary>
|
||||||
</key>
|
</key>
|
||||||
<key name="switch-to-session-9" type="as">
|
<key name="switch-to-session-9" type="as">
|
||||||
<default><![CDATA[['<Primary><Alt>F9']]]></default>
|
<default><![CDATA[['<Primary><Alt>F9']]]></default>
|
||||||
<_summary>Switch to VT 9</_summary>
|
<summary>Switch to VT 9</summary>
|
||||||
</key>
|
</key>
|
||||||
<key name="switch-to-session-10" type="as">
|
<key name="switch-to-session-10" type="as">
|
||||||
<default><![CDATA[['<Primary><Alt>F10']]]></default>
|
<default><![CDATA[['<Primary><Alt>F10']]]></default>
|
||||||
<_summary>Switch to VT 10</_summary>
|
<summary>Switch to VT 10</summary>
|
||||||
</key>
|
</key>
|
||||||
<key name="switch-to-session-11" type="as">
|
<key name="switch-to-session-11" type="as">
|
||||||
<default><![CDATA[['<Primary><Alt>F11']]]></default>
|
<default><![CDATA[['<Primary><Alt>F11']]]></default>
|
||||||
<_summary>Switch to VT 11</_summary>
|
<summary>Switch to VT 11</summary>
|
||||||
</key>
|
</key>
|
||||||
<key name="switch-to-session-12" type="as">
|
<key name="switch-to-session-12" type="as">
|
||||||
<default><![CDATA[['<Primary><Alt>F12']]]></default>
|
<default><![CDATA[['<Primary><Alt>F12']]]></default>
|
||||||
<_summary>Switch to VT 12</_summary>
|
<summary>Switch to VT 12</summary>
|
||||||
</key>
|
</key>
|
||||||
</schema>
|
</schema>
|
||||||
</schemalist>
|
</schemalist>
|
||||||
|
68
po/Makevars
Normal file
68
po/Makevars
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
# Makefile variables for PO directory in any package using GNU gettext.
|
||||||
|
|
||||||
|
# Usually the message domain is the same as the package name.
|
||||||
|
DOMAIN = $(PACKAGE)
|
||||||
|
|
||||||
|
# These two variables depend on the location of this directory.
|
||||||
|
subdir = po
|
||||||
|
top_builddir = ..
|
||||||
|
|
||||||
|
# These options get passed to xgettext.
|
||||||
|
XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ \
|
||||||
|
--keyword=C_:1c,2 --keyword=NC_:1c,2 \
|
||||||
|
--keyword=g_dngettext:2,3 \
|
||||||
|
--flag=g_dngettext:2:pass-c-format \
|
||||||
|
--flag=g_strdup_printf:1:c-format \
|
||||||
|
--flag=g_string_printf:2:c-format \
|
||||||
|
--flag=g_string_append_printf:2:c-format \
|
||||||
|
--flag=g_error_new:3:c-format \
|
||||||
|
--flag=g_set_error:4:c-format \
|
||||||
|
--flag=g_markup_printf_escaped:1:c-format \
|
||||||
|
--flag=g_log:3:c-format \
|
||||||
|
--flag=g_print:1:c-format \
|
||||||
|
--flag=g_printerr:1:c-format \
|
||||||
|
--flag=g_printf:1:c-format \
|
||||||
|
--flag=g_fprintf:2:c-format \
|
||||||
|
--flag=g_sprintf:2:c-format \
|
||||||
|
--flag=g_snprintf:3:c-format
|
||||||
|
|
||||||
|
|
||||||
|
# This is the copyright holder that gets inserted into the header of the
|
||||||
|
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
|
||||||
|
# package. (Note that the msgstr strings, extracted from the package's
|
||||||
|
# sources, belong to the copyright holder of the package.) Translators are
|
||||||
|
# expected to transfer the copyright for their translations to this person
|
||||||
|
# or entity, or to disclaim their copyright. The empty string stands for
|
||||||
|
# the public domain; in this case the translators are expected to disclaim
|
||||||
|
# their copyright.
|
||||||
|
COPYRIGHT_HOLDER = Translation copyright holder
|
||||||
|
# This is the email address or URL to which the translators shall report
|
||||||
|
# bugs in the untranslated strings:
|
||||||
|
# - Strings which are not entire sentences, see the maintainer guidelines
|
||||||
|
# in the GNU gettext documentation, section 'Preparing Strings'.
|
||||||
|
# - Strings which use unclear terms or require additional context to be
|
||||||
|
# understood.
|
||||||
|
# - Strings which make invalid assumptions about notation of date, time or
|
||||||
|
# money.
|
||||||
|
# - Pluralisation problems.
|
||||||
|
# - Incorrect English spelling.
|
||||||
|
# - Incorrect formatting.
|
||||||
|
# It can be your email address, or a mailing list address where translators
|
||||||
|
# can write to without being subscribed, or the URL of a web page through
|
||||||
|
# which the translators can contact you.
|
||||||
|
MSGID_BUGS_ADDRESS = http://bugzilla.gnome.org/enter_bug.cgi?product=mutter&keywords=I18N+L10N&component=general
|
||||||
|
|
||||||
|
# This is the list of locale categories, beyond LC_MESSAGES, for which the
|
||||||
|
# message catalogs shall be used. It is usually empty.
|
||||||
|
EXTRA_LOCALE_CATEGORIES =
|
||||||
|
|
||||||
|
# Ignore the timestamp of the .pot file, as git clones do not have
|
||||||
|
# deterministic timestamps, and .po files are updated by translators
|
||||||
|
# (only) in GNOME projects.
|
||||||
|
PO_DEPENDS_ON_POT = no
|
||||||
|
|
||||||
|
# This tells whether or not to forcibly update $(DOMAIN).pot and
|
||||||
|
# regenerate PO files on "make dist". Possible values are "yes" and
|
||||||
|
# "no". Set this to no if the POT file and PO files are maintained
|
||||||
|
# externally.
|
||||||
|
DIST_DEPENDS_ON_UPDATE_PO = no
|
@ -1,8 +1,8 @@
|
|||||||
# List of source files containing translatable strings.
|
# List of source files containing translatable strings.
|
||||||
# Please keep this file sorted alphabetically.
|
# Please keep this file sorted alphabetically.
|
||||||
data/50-mutter-navigation.xml.in
|
data/50-mutter-navigation.xml
|
||||||
data/50-mutter-system.xml.in
|
data/50-mutter-system.xml
|
||||||
data/50-mutter-windows.xml.in
|
data/50-mutter-windows.xml
|
||||||
data/mutter.desktop.in
|
data/mutter.desktop.in
|
||||||
data/org.gnome.mutter.gschema.xml.in
|
data/org.gnome.mutter.gschema.xml.in
|
||||||
data/org.gnome.mutter.wayland.gschema.xml.in
|
data/org.gnome.mutter.wayland.gschema.xml.in
|
||||||
|
Loading…
Reference in New Issue
Block a user