From cd39b1a25d204ed9fe7899a895bd75f71032ded5 Mon Sep 17 00:00:00 2001 From: infirit Date: Sun, 6 Sep 2015 16:46:20 +0200 Subject: Rework gsettings schema building * Bump intltool required version for gsettings support * Extract strings with intltool directly --- configure.ac | 2 +- libcaja-private/Makefile.am | 10 +- libcaja-private/org.mate.caja.gschema.xml | 469 +++++++++++++++++++++ libcaja-private/org.mate.caja.gschema.xml.in | 469 --------------------- .../org.mate.media-handling.gschema.xml | 34 ++ .../org.mate.media-handling.gschema.xml.in | 34 -- po/POTFILES.in | 4 +- 7 files changed, 509 insertions(+), 513 deletions(-) create mode 100644 libcaja-private/org.mate.caja.gschema.xml delete mode 100644 libcaja-private/org.mate.caja.gschema.xml.in create mode 100644 libcaja-private/org.mate.media-handling.gschema.xml delete mode 100644 libcaja-private/org.mate.media-handling.gschema.xml.in diff --git a/configure.ac b/configure.ac index a8f0b2c7..8ead1319 100644 --- a/configure.ac +++ b/configure.ac @@ -141,7 +141,7 @@ AH_TEMPLATE([HAVE_RENDER]) AM_GLIB_GNU_GETTEXT GLIB_DEFINE_LOCALEDIR(MATELOCALEDIR) -IT_PROG_INTLTOOL([0.40.1]) +IT_PROG_INTLTOOL([0.50.1]) dnl ========================================================================== diff --git a/libcaja-private/Makefile.am b/libcaja-private/Makefile.am index 4e7b10f9..947f9ef1 100644 --- a/libcaja-private/Makefile.am +++ b/libcaja-private/Makefile.am @@ -217,9 +217,7 @@ caja-marshal.list: $(libcaja_private_la_SOURCES) Makefile.am $(AM_V_GEN)echo "#include \"caja-marshal.h\"" > $@ && \ $(GLIB_GENMARSHAL) --body --prefix=$(subst -,_,$*)_marshal $< >> $*-marshal.c -gsettingsschema_in_files = org.mate.caja.gschema.xml.in org.mate.media-handling.gschema.xml.in -gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml) -.PRECIOUS: $(gsettings_SCHEMAS) +gsettings_SCHEMAS = org.mate.caja.gschema.xml org.mate.media-handling.gschema.xml @INTLTOOL_XML_NOMERGE_RULE@ @@ -230,7 +228,7 @@ convert_DATA = caja.convert EXTRA_DIST = \ caja-marshal.list \ - $(gsettingsschema_in_files) \ + $(gsettings_SCHEMAS) \ $(convert_DATA) \ $(BEAGLE_SOURCES) \ $(TRACKER_SOURCES) \ @@ -238,9 +236,7 @@ EXTRA_DIST = \ CLEANFILES = \ $(BUILT_SOURCES) \ - $(schema_DATA) \ - $(gsettings_SCHEMAS) \ - caja-marshal.list \ + caja-marshal.list \ $(NULL) dist-hook: diff --git a/libcaja-private/org.mate.caja.gschema.xml b/libcaja-private/org.mate.caja.gschema.xml new file mode 100644 index 00000000..8492c1ff --- /dev/null +++ b/libcaja-private/org.mate.caja.gschema.xml @@ -0,0 +1,469 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 'after-current-tab' + Where to position newly open tabs in browser windows. + If set to "after-current-tab", then new tabs are inserted after the current tab. If set to "end", then new tabs are appended to the end of the tab list. + + + false + Caja will exit when last window destroyed. + If set to true, then Caja will exit when all windows are destroyed. This is the default setting. If set to false, it can be started without any window, so caja can serve as a daemon to monitor media automount, or similar tasks. + + + true + Enables the classic Caja behavior, where all windows are browsers + If set to true, then all Caja windows will be browser windows. This is how Nautilus used to behave before version 2.6, and some people prefer this behavior. + + + false + Always use the location entry, instead of the pathbar + If set to true, then Caja browser windows will always use a textual input entry for the location toolbar, instead of the pathbar. + + + true + Whether to ask for confirmation when deleting files, or emptying Trash + If set to true, then Caja will ask for confirmation when you attempt to delete files, or empty the Trash. + + + false + Whether to enable immediate deletion + If set to true, then Caja will have a feature allowing you to delete a file immediately and in-place, instead of moving it to the trash. This feature can be dangerous, so use caution. + + + + 'local-only' + When to show preview text in icons + Speed tradeoff for when to show a preview of text file contents in the file's icon. If set to "always" then always show previews, even if the folder is on a remote server. If set to "local-only" then only show previews for local file systems. If set to "never" then never bother to read preview data. + + + + 'local-only' + When to show number of items in a folder + Speed tradeoff for when to show the number of items in a folder. If set to "always" then always show item counts, even if the folder is on a remote server. If set to "local-only" then only show counts for local file systems. If set to "never" then never bother to compute item counts. + + + 'double' + Type of click used to launch/open files + Possible values are "single" to launch files on a single click, or "double" to launch them on a double click. + + + 'ask' + What to do with executable text files when activated + What to do with executable text files when they are activated (single or double clicked). Possible values are "launch" to launch them as programs, "ask" to ask what to do via a dialog, and "display" to display them as text files. + + + true + Show the package installer for unknown mime types + Whether to show the user a package installer dialog in case an unknown mime type is opened, in order to search for an application to handle it. + + + true + Use extra mouse button events in Caja' browser window + For users with mice that have "Forward" and "Back" buttons, this key will determine if any action is taken inside of Caja when either is pressed. + + + 9 + Mouse button to activate the "Forward" command in browser window + For users with mice that have buttons for "Forward" and "Back", this key will set which button activates the "Forward" command in a browser window. Possible values range between 6 and 14. + + + 8 + Mouse button to activate the "Back" command in browser window + For users with mice that have buttons for "Forward" and "Back", this key will set which button activates the "Back" command in a browser window. Possible values range between 6 and 14. + + + + 'local-only' + When to show thumbnails of image files + Speed tradeoff for when to show an image file as a thumbnail. If set to "always" then always thumbnail, even if the folder is on a remote server. If set to "local-only" then only show thumbnails for local file systems. If set to "never" then never bother to thumbnail images, just use a generic icon. + + + 10485760 + Maximum image size for thumbnailing + Images over this size (in bytes) won't be thumbnailed. The purpose of this setting is to avoid thumbnailing large images that may take a long time to load or use lots of memory. + + + + 'local-only' + Whether to preview sounds when mousing over an icon + Speed tradeoff for when to preview a sound file when mousing over a files icon. If set to "always" then always plays the sound, even if the file is on a remote server. If set to "local-only" then only plays previews on local file systems. If set to "never" then it never previews sound. + + + false + Show advanced permissions in the file property dialog + If set to true, then Caja lets you edit and display file permissions in a more unix-like way, accessing some more esoteric options. + + + true + Show folders first in windows + If set to true, then Caja shows folders prior to showing files in the icon and list views. + + + + + + 'name' + Default sort order + The default sort-order for items in the icon view. Possible values are "name", "size", "type", "mtime", and "emblems". + + + false + Reverse sort order in new windows + If true, files in new windows will be sorted in reverse order. ie, if sorted by name, then instead of sorting the files from "a" to "z", they will be sorted from "z" to "a"; if sorted by size, instead of being incrementally they will be sorted decrementally. + + + false + Caja uses the users home folder as the desktop + If set to true, then Caja will use the user's home folder as the desktop. If it is false, then it will use ~/Desktop as the desktop. + + + false + Custom Background + Whether a custom default folder background has been set. + + + '#ffffff' + Default Background Color + Color for the default folder background. Only used if background_set is true. + + + '' + Default Background Filename + Uri of the default folder background. Only used if background_set is true. + + + false + Custom Side Pane Background Set + Whether a custom default side pane background has been set. + + + '#ffffff' + Default Side Pane Background Color + Filename for the default side pane background. Only used if side_pane_background_set is true. + + + "" + Default Side Pane Background Filename + Uri of the default side pane background. Only used if side_pane_background_set is true. + + + + + + + + 'icon-view' + Default folder viewer + When a folder is visited this viewer is used unless you have selected another view for that particular folder. Possible values are "list-view", "icon-view" and "compact-view". + + + 'locale' + Date Format + The format of file dates. Possible values are "locale", "iso", and "informal". + + + false + Whether to show hidden files + If set to true, then hidden files are shown by default in the file manager. Hidden files are either dotfiles, listed in the folder's .hidden file or backup files ending with a tilde (~). + + + false + Whether to show file sizes with IEC units + If set to true, file sizes are shown using IEC (base 1024) units with "KiB" style suffixes, instead of default with SI units. + + + + + + [ 'none', 'size', 'date_modified' ] + List of possible captions on icons + A list of captions below an icon in the icon view and + the desktop. The actual number of captions shown depends on + the zoom level. Some possible values are: + "size", "type", "date_modified", "date_changed", "date_accessed", "owner", + "group", "permissions", "octal_permissions" and "mime_type". + + + false + Use tighter layout in new windows + If true, icons will be laid out tighter by default in new windows. + + + false + Put labels beside icons + If true, labels will be placed beside icons rather than underneath them. + + + 'standard' + Default icon zoom level + Default zoom level used by the icon view. + + + 64 + Default Thumbnail Icon Size + The default size of an icon for a thumbnail in the icon view. + + + [ '3' ] + Text Ellipsis Limit + A string specifying how parts of overlong file names + should be replaced by ellipses, depending on the zoom + level. + Each of the list entries is of the form "Zoom Level:Integer". + For each specified zoom level, if the given integer is + larger than 0, the file name will not exceed the given number of lines. + If the integer is 0 or smaller, no limit is imposed on the specified zoom level. + A default entry of the form "Integer" without any specified zoom level + is also allowed. It defines the maximum number of lines for all other zoom levels. + Examples: + 0 - always display overlong file names; + 3 - shorten file names if they exceed three lines; + smallest:5,smaller:4,0 - shorten file names if they exceed five lines + for zoom level "smallest". Shorten file names if they exceed four lines + for zoom level "smaller". Do not shorten file names for other zoom levels. + + Available zoom levels: + smallest (33%), smaller (50%), small (66%), standard (100%), large (150%), + larger (200%), largest (400%) + + + + + + 'standard' + Default compact view zoom level + Default zoom level used by the compact view. + + + true + All columns have same width + If this preference is set, all columns in the compact view have the same width. Otherwise, the width of each column is determined seperately. + + + + + + 'smaller' + Default list zoom level + Default zoom level used by the list view. + + + [ 'name', 'size', 'type', 'date_modified' ] + Default list of columns visible in the list view + Default list of columns visible in the list view. + + + [ 'name', 'size', 'type', 'date_modified' ] + Default column order in the list view + Default column order in the list view. + + + + + + + + + + true + Only show folders in the tree side pane + If set to true, Caja will only show folders in the tree side pane. Otherwise it will show both folders and files. + + + + + + 'Sans 10' + Desktop font + The font description used for the icons on the desktop. + + + true + Home icon visible on desktop + If this is set to true, an icon linking to the home folder will be put on the desktop. + + + true + Computer icon visible on desktop + If this is set to true, an icon linking to the computer location will be put on the desktop. + + + true + Trash icon visible on desktop + If this is set to true, an icon linking to the trash will be put on the desktop. + + + true + Show mounted volumes on the desktop + If this is set to true, icons linking to mounted volumes will be put on the desktop. + + + false + Network Servers icon visible on the desktop + If this is set to true, an icon linking to the Network Servers view will be put on the desktop. + + + '' + Desktop computer icon name + This name can be set if you want a custom name for the computer icon on the desktop. + + + '' + Desktop home icon name + This name can be set if you want a custom name for the home icon on the desktop. + + + '' + Desktop trash icon name + This name can be set if you want a custom name for the trash icon on the desktop. + + + '' + Network servers icon name + This name can be set if you want a custom name for the network servers icon on the desktop. + + + 3 + Text Ellipsis Limit + An integer specifying how parts of overlong file names should be replaced by ellipses on the desktop. If the number is larger than 0, the file name will not exceed the given number of lines. If the number is 0 or smaller, no limit is imposed on the number of displayed lines. + + + + + + '' + The geometry string for a navigation window. + A string containing the saved geometry and coordinates string for navigation windows. + + + false + Whether the navigation window should be maximized. + Whether the navigation window should be maximized by default. + + + 148 + Width of the side pane + The default width of the side pane in new windows. + + + true + Show toolbar in new windows + If set to true, newly opened windows will have toolbars visible. + + + true + Show location bar in new windows + If set to true, newly opened windows will have the location bar visible. + + + true + Show status bar in new windows + If set to true, newly opened windows will have the status bar visible. + + + true + Show side pane in new windows + If set to true, newly opened windows will have the side pane visible. + + + + + + + + + + + + + + + + + + + 'places' + Side pane view + The side pane view to show in newly opened windows. + + + + + + [ ] + List of extensions in disabled state. + This list contains the extensions that are currently de-activated. + + + + diff --git a/libcaja-private/org.mate.caja.gschema.xml.in b/libcaja-private/org.mate.caja.gschema.xml.in deleted file mode 100644 index 8aef7ade..00000000 --- a/libcaja-private/org.mate.caja.gschema.xml.in +++ /dev/null @@ -1,469 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 'after-current-tab' - <_summary>Where to position newly open tabs in browser windows. - <_description>If set to "after-current-tab", then new tabs are inserted after the current tab. If set to "end", then new tabs are appended to the end of the tab list. - - - false - <_summary>Caja will exit when last window destroyed. - <_description>If set to true, then Caja will exit when all windows are destroyed. This is the default setting. If set to false, it can be started without any window, so caja can serve as a daemon to monitor media automount, or similar tasks. - - - true - <_summary>Enables the classic Caja behavior, where all windows are browsers - <_description>If set to true, then all Caja windows will be browser windows. This is how Nautilus used to behave before version 2.6, and some people prefer this behavior. - - - false - <_summary>Always use the location entry, instead of the pathbar - <_description>If set to true, then Caja browser windows will always use a textual input entry for the location toolbar, instead of the pathbar. - - - true - <_summary>Whether to ask for confirmation when deleting files, or emptying Trash - <_description>If set to true, then Caja will ask for confirmation when you attempt to delete files, or empty the Trash. - - - false - <_summary>Whether to enable immediate deletion - <_description>If set to true, then Caja will have a feature allowing you to delete a file immediately and in-place, instead of moving it to the trash. This feature can be dangerous, so use caution. - - - - 'local-only' - <_summary>When to show preview text in icons - <_description>Speed tradeoff for when to show a preview of text file contents in the file's icon. If set to "always" then always show previews, even if the folder is on a remote server. If set to "local-only" then only show previews for local file systems. If set to "never" then never bother to read preview data. - - - - 'local-only' - <_summary>When to show number of items in a folder - <_description>Speed tradeoff for when to show the number of items in a folder. If set to "always" then always show item counts, even if the folder is on a remote server. If set to "local-only" then only show counts for local file systems. If set to "never" then never bother to compute item counts. - - - 'double' - <_summary>Type of click used to launch/open files - <_description>Possible values are "single" to launch files on a single click, or "double" to launch them on a double click. - - - 'ask' - <_summary>What to do with executable text files when activated - <_description>What to do with executable text files when they are activated (single or double clicked). Possible values are "launch" to launch them as programs, "ask" to ask what to do via a dialog, and "display" to display them as text files. - - - true - <_summary>Show the package installer for unknown mime types - <_description>Whether to show the user a package installer dialog in case an unknown mime type is opened, in order to search for an application to handle it. - - - true - <_summary>Use extra mouse button events in Caja' browser window - <_description>For users with mice that have "Forward" and "Back" buttons, this key will determine if any action is taken inside of Caja when either is pressed. - - - 9 - <_summary>Mouse button to activate the "Forward" command in browser window - <_description>For users with mice that have buttons for "Forward" and "Back", this key will set which button activates the "Forward" command in a browser window. Possible values range between 6 and 14. - - - 8 - <_summary>Mouse button to activate the "Back" command in browser window - <_description>For users with mice that have buttons for "Forward" and "Back", this key will set which button activates the "Back" command in a browser window. Possible values range between 6 and 14. - - - - 'local-only' - <_summary>When to show thumbnails of image files - <_description>Speed tradeoff for when to show an image file as a thumbnail. If set to "always" then always thumbnail, even if the folder is on a remote server. If set to "local-only" then only show thumbnails for local file systems. If set to "never" then never bother to thumbnail images, just use a generic icon. - - - 10485760 - <_summary>Maximum image size for thumbnailing - <_description>Images over this size (in bytes) won't be thumbnailed. The purpose of this setting is to avoid thumbnailing large images that may take a long time to load or use lots of memory. - - - - 'local-only' - <_summary>Whether to preview sounds when mousing over an icon - <_description>Speed tradeoff for when to preview a sound file when mousing over a files icon. If set to "always" then always plays the sound, even if the file is on a remote server. If set to "local-only" then only plays previews on local file systems. If set to "never" then it never previews sound. - - - false - <_summary>Show advanced permissions in the file property dialog - <_description>If set to true, then Caja lets you edit and display file permissions in a more unix-like way, accessing some more esoteric options. - - - true - <_summary>Show folders first in windows - <_description>If set to true, then Caja shows folders prior to showing files in the icon and list views. - - - - - - 'name' - <_summary>Default sort order - <_description>The default sort-order for items in the icon view. Possible values are "name", "size", "type", "mtime", and "emblems". - - - false - <_summary>Reverse sort order in new windows - <_description>If true, files in new windows will be sorted in reverse order. ie, if sorted by name, then instead of sorting the files from "a" to "z", they will be sorted from "z" to "a"; if sorted by size, instead of being incrementally they will be sorted decrementally. - - - false - <_summary>Caja uses the users home folder as the desktop - <_description>If set to true, then Caja will use the user's home folder as the desktop. If it is false, then it will use ~/Desktop as the desktop. - - - false - <_summary>Custom Background - <_description>Whether a custom default folder background has been set. - - - '#ffffff' - <_summary>Default Background Color - <_description>Color for the default folder background. Only used if background_set is true. - - - '' - <_summary>Default Background Filename - <_description>Uri of the default folder background. Only used if background_set is true. - - - false - <_summary>Custom Side Pane Background Set - <_description>Whether a custom default side pane background has been set. - - - '#ffffff' - <_summary>Default Side Pane Background Color - <_description>Filename for the default side pane background. Only used if side_pane_background_set is true. - - - "" - <_summary>Default Side Pane Background Filename - <_description>Uri of the default side pane background. Only used if side_pane_background_set is true. - - - - - - - - 'icon-view' - <_summary>Default folder viewer - <_description>When a folder is visited this viewer is used unless you have selected another view for that particular folder. Possible values are "list-view", "icon-view" and "compact-view". - - - 'locale' - <_summary>Date Format - <_description>The format of file dates. Possible values are "locale", "iso", and "informal". - - - false - <_summary>Whether to show hidden files - <_description>If set to true, then hidden files are shown by default in the file manager. Hidden files are either dotfiles, listed in the folder's .hidden file or backup files ending with a tilde (~). - - - false - <_summary>Whether to show file sizes with IEC units - <_description>If set to true, file sizes are shown using IEC (base 1024) units with "KiB" style suffixes, instead of default with SI units. - - - - - - [ 'none', 'size', 'date_modified' ] - <_summary>List of possible captions on icons - <_description>A list of captions below an icon in the icon view and - the desktop. The actual number of captions shown depends on - the zoom level. Some possible values are: - "size", "type", "date_modified", "date_changed", "date_accessed", "owner", - "group", "permissions", "octal_permissions" and "mime_type". - - - false - <_summary>Use tighter layout in new windows - <_description>If true, icons will be laid out tighter by default in new windows. - - - false - <_summary>Put labels beside icons - <_description>If true, labels will be placed beside icons rather than underneath them. - - - 'standard' - <_summary>Default icon zoom level - <_description>Default zoom level used by the icon view. - - - 64 - <_summary>Default Thumbnail Icon Size - <_description>The default size of an icon for a thumbnail in the icon view. - - - [ '3' ] - <_summary>Text Ellipsis Limit - <_description>A string specifying how parts of overlong file names - should be replaced by ellipses, depending on the zoom - level. - Each of the list entries is of the form "Zoom Level:Integer". - For each specified zoom level, if the given integer is - larger than 0, the file name will not exceed the given number of lines. - If the integer is 0 or smaller, no limit is imposed on the specified zoom level. - A default entry of the form "Integer" without any specified zoom level - is also allowed. It defines the maximum number of lines for all other zoom levels. - Examples: - 0 - always display overlong file names; - 3 - shorten file names if they exceed three lines; - smallest:5,smaller:4,0 - shorten file names if they exceed five lines - for zoom level "smallest". Shorten file names if they exceed four lines - for zoom level "smaller". Do not shorten file names for other zoom levels. - - Available zoom levels: - smallest (33%), smaller (50%), small (66%), standard (100%), large (150%), - larger (200%), largest (400%) - - - - - - 'standard' - <_summary>Default compact view zoom level - <_description>Default zoom level used by the compact view. - - - true - <_summary>All columns have same width - <_description>If this preference is set, all columns in the compact view have the same width. Otherwise, the width of each column is determined seperately. - - - - - - 'smaller' - <_summary>Default list zoom level - <_description>Default zoom level used by the list view. - - - [ 'name', 'size', 'type', 'date_modified' ] - <_summary>Default list of columns visible in the list view - <_description>Default list of columns visible in the list view. - - - [ 'name', 'size', 'type', 'date_modified' ] - <_summary>Default column order in the list view - <_description>Default column order in the list view. - - - - - - - - - - true - <_summary>Only show folders in the tree side pane - <_description>If set to true, Caja will only show folders in the tree side pane. Otherwise it will show both folders and files. - - - - - - 'Sans 10' - <_summary>Desktop font - <_description>The font _description used for the icons on the desktop. - - - true - <_summary>Home icon visible on desktop - <_description>If this is set to true, an icon linking to the home folder will be put on the desktop. - - - true - <_summary>Computer icon visible on desktop - <_description>If this is set to true, an icon linking to the computer location will be put on the desktop. - - - true - <_summary>Trash icon visible on desktop - <_description>If this is set to true, an icon linking to the trash will be put on the desktop. - - - true - <_summary>Show mounted volumes on the desktop - <_description>If this is set to true, icons linking to mounted volumes will be put on the desktop. - - - false - <_summary>Network Servers icon visible on the desktop - <_description>If this is set to true, an icon linking to the Network Servers view will be put on the desktop. - - - '' - <_summary>Desktop computer icon name - <_description>This name can be set if you want a custom name for the computer icon on the desktop. - - - '' - <_summary>Desktop home icon name - <_description>This name can be set if you want a custom name for the home icon on the desktop. - - - '' - <_summary>Desktop trash icon name - <_description>This name can be set if you want a custom name for the trash icon on the desktop. - - - '' - <_summary>Network servers icon name - <_description>This name can be set if you want a custom name for the network servers icon on the desktop. - - - 3 - <_summary>Text Ellipsis Limit - <_description>An integer specifying how parts of overlong file names should be replaced by ellipses on the desktop. If the number is larger than 0, the file name will not exceed the given number of lines. If the number is 0 or smaller, no limit is imposed on the number of displayed lines. - - - - - - '' - <_summary>The geometry string for a navigation window. - <_description>A string containing the saved geometry and coordinates string for navigation windows. - - - false - <_summary>Whether the navigation window should be maximized. - <_description>Whether the navigation window should be maximized by default. - - - 148 - <_summary>Width of the side pane - <_description>The default width of the side pane in new windows. - - - true - <_summary>Show toolbar in new windows - <_description>If set to true, newly opened windows will have toolbars visible. - - - true - <_summary>Show location bar in new windows - <_description>If set to true, newly opened windows will have the location bar visible. - - - true - <_summary>Show status bar in new windows - <_description>If set to true, newly opened windows will have the status bar visible. - - - true - <_summary>Show side pane in new windows - <_description>If set to true, newly opened windows will have the side pane visible. - - - - - - - - - - - - - - - - - - - 'places' - <_summary>Side pane view - <_description>The side pane view to show in newly opened windows. - - - - - - [ ] - List of extensions in disabled state. - This list contains the extensions that are currently de-activated. - - - - diff --git a/libcaja-private/org.mate.media-handling.gschema.xml b/libcaja-private/org.mate.media-handling.gschema.xml new file mode 100644 index 00000000..214c3a92 --- /dev/null +++ b/libcaja-private/org.mate.media-handling.gschema.xml @@ -0,0 +1,34 @@ + + + + true + Whether to automatically mount media + If set to true, then Caja will automatically mount media such as user-visible hard disks and removable media on start-up and media insertion. + + + true + Whether to automatically open a folder for automounted media + If set to true, then Caja will automatically open a folder when media is automounted. This only applies to media where no known x-content/* type was detected; for media where a known x-content type is detected, the user configurable action will be taken instead. + + + false + Never prompt or autorun/autostart programs when media are inserted + If set to true, then Caja will never prompt nor autorun/autostart programs when a medium is inserted. + + + [ 'x-content/software' ] + List of x-content/* types where the preferred application will be launched + List of x-content/* types for which the user have chosen to start an application in the preference capplet. The preferred application for the given type will be started on insertion on media matching these types. + + + [] + List of x-content/* types set to "Do Nothing" + List of x-content/* types for which the user have chosen "Do Nothing" in the preference capplet. No prompt will be shown nor will any matching application be started on insertion of media matching these types. + + + [] + List of x-content/* types set to "Open Folder" + List of x-content/* types for which the user have chosen "Open Folder" in the preferences capplet. A folder window will be opened on insertion of media matching these types. + + + diff --git a/libcaja-private/org.mate.media-handling.gschema.xml.in b/libcaja-private/org.mate.media-handling.gschema.xml.in deleted file mode 100644 index 25f81b14..00000000 --- a/libcaja-private/org.mate.media-handling.gschema.xml.in +++ /dev/null @@ -1,34 +0,0 @@ - - - - true - <_summary>Whether to automatically mount media - <_description>If set to true, then Caja will automatically mount media such as user-visible hard disks and removable media on start-up and media insertion. - - - true - <_summary>Whether to automatically open a folder for automounted media - <_description>If set to true, then Caja will automatically open a folder when media is automounted. This only applies to media where no known x-content/* type was detected; for media where a known x-content type is detected, the user configurable action will be taken instead. - - - false - <_summary>Never prompt or autorun/autostart programs when media are inserted - <_description>If set to true, then Caja will never prompt nor autorun/autostart programs when a medium is inserted. - - - [ 'x-content/software' ] - <_summary>List of x-content/* types where the preferred application will be launched - <_description>List of x-content/* types for which the user have chosen to start an application in the preference capplet. The preferred application for the given type will be started on insertion on media matching these types. - - - [] - <_summary>List of x-content/* types set to "Do Nothing" - <_description>List of x-content/* types for which the user have chosen "Do Nothing" in the preference capplet. No prompt will be shown nor will any matching application be started on insertion of media matching these types. - - - [] - <_summary>List of x-content/* types set to "Open Folder" - <_description>List of x-content/* types for which the user have chosen "Open Folder" in the preferences capplet. A folder window will be opened on insertion of media matching these types. - - - diff --git a/po/POTFILES.in b/po/POTFILES.in index 2617280e..ab030517 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -46,8 +46,8 @@ libcaja-private/caja-search-directory-file.c libcaja-private/caja-tree-view-drag-dest.c libcaja-private/caja-undostack-manager.c libcaja-private/caja-vfs-file.c -libcaja-private/org.mate.caja.gschema.xml.in -libcaja-private/org.mate.media-handling.gschema.xml.in +[type: gettext/gsettings]libcaja-private/org.mate.caja.gschema.xml +[type: gettext/gsettings]libcaja-private/org.mate.media-handling.gschema.xml data/caja-autorun-software.desktop.in.in data/caja-browser.desktop.in.in data/caja-computer.desktop.in.in -- cgit v1.2.1