From 4afa2b50b31e21cba18eba26c12329af62804fae Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 17 May 2017 10:35:49 +0200 Subject: Fork ayatana-indicator-datetime from Ubuntu's indicator-datetime. --- data/CMakeLists.txt | 6 +- data/com.canonical.indicator.datetime | 20 --- ...anonical.indicator.datetime.AlarmProperties.xml | 48 ------ ...com.canonical.indicator.datetime.gschema.xml.in | 166 --------------------- data/indicator-datetime.desktop.in | 2 +- data/org.ayatana.indicator.datetime | 20 +++ ....ayatana.indicator.datetime.AlarmProperties.xml | 48 ++++++ data/org.ayatana.indicator.datetime.gschema.xml.in | 166 +++++++++++++++++++++ 8 files changed, 238 insertions(+), 238 deletions(-) delete mode 100644 data/com.canonical.indicator.datetime delete mode 100644 data/com.canonical.indicator.datetime.AlarmProperties.xml delete mode 100644 data/com.canonical.indicator.datetime.gschema.xml.in create mode 100644 data/org.ayatana.indicator.datetime create mode 100644 data/org.ayatana.indicator.datetime.AlarmProperties.xml create mode 100644 data/org.ayatana.indicator.datetime.gschema.xml.in (limited to 'data') diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index d66c865..278b7e3 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -3,7 +3,7 @@ ## include (UseGSettings) -set (SCHEMA_NAME "com.canonical.indicator.datetime.gschema.xml") +set (SCHEMA_NAME "org.ayatana.indicator.datetime.gschema.xml") set (SCHEMA_FILE "${CMAKE_CURRENT_BINARY_DIR}/${SCHEMA_NAME}") set (SCHEMA_FILE_IN "${CMAKE_CURRENT_SOURCE_DIR}/${SCHEMA_NAME}.in") @@ -80,10 +80,10 @@ install (FILES "${UPSTART_XDG_AUTOSTART_FILE}" ## # where to install -set (UNITY_INDICATOR_DIR "${CMAKE_INSTALL_FULL_DATAROOTDIR}/unity/indicators") +set (UNITY_INDICATOR_DIR "${CMAKE_INSTALL_FULL_DATAROOTDIR}/ayatana/indicators") message (STATUS "${UNITY_INDICATOR_DIR} is the Unity Indicator install dir") -set (UNITY_INDICATOR_NAME "com.canonical.indicator.datetime") +set (UNITY_INDICATOR_NAME "org.ayatana.indicator.datetime") set (UNITY_INDICATOR_FILE "${CMAKE_CURRENT_SOURCE_DIR}/${UNITY_INDICATOR_NAME}") install (FILES "${UNITY_INDICATOR_FILE}" diff --git a/data/com.canonical.indicator.datetime b/data/com.canonical.indicator.datetime deleted file mode 100644 index 1df0d33..0000000 --- a/data/com.canonical.indicator.datetime +++ /dev/null @@ -1,20 +0,0 @@ -[Indicator Service] -Name=indicator-datetime -ObjectPath=/com/canonical/indicator/datetime -Position=20 - -[desktop] -ObjectPath=/com/canonical/indicator/datetime/desktop - -[desktop_greeter] -ObjectPath=/com/canonical/indicator/datetime/desktop_greeter - -[desktop_lockscreen] -ObjectPath=/com/canonical/indicator/datetime/desktop_greeter - -[phone] -ObjectPath=/com/canonical/indicator/datetime/phone - -[phone_greeter] -ObjectPath=/com/canonical/indicator/datetime/phone_greeter - diff --git a/data/com.canonical.indicator.datetime.AlarmProperties.xml b/data/com.canonical.indicator.datetime.AlarmProperties.xml deleted file mode 100644 index 7ba0e5e..0000000 --- a/data/com.canonical.indicator.datetime.AlarmProperties.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - The default alarm sound's filename. - - - - - - - - What kind of haptic feedback, if any, to trigger with an alarm. - Two modes are currently supported: 'pulse', 'none'. - - - - - - - - How loudly to play alarm sounds. [Range: 1-100] - - - - - - - - How long an alarm's sound should be looped. - - - - - - - - How many minutes to wait when the Snooze button is pressed. [Range: 1-15] - - - - - - diff --git a/data/com.canonical.indicator.datetime.gschema.xml.in b/data/com.canonical.indicator.datetime.gschema.xml.in deleted file mode 100644 index cd0a26d..0000000 --- a/data/com.canonical.indicator.datetime.gschema.xml.in +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - - - - - true - <_summary>Show the clock in the panel - <_description> - Controls whether the clock indicator appears in the panel or not. - - - - 'locale-default' - <_summary>What the time format should be - <_description> - Controls the time format that is displayed in the indicator. For almost - all users this should be the default for their locale. If you think the - setting is wrong for your locale please join or talk to the translation - team for your language. If you just want something different you can - adjust this to be either 12 or 24 time. Or, you can use a custom format - string and set the custom-time-format setting. - - - - "%l:%M %p" - <_summary>The format string passed to strftime - <_description> - The format of the time and/or date that is visible on the panel when using - the indicator. For most users this will be a set of predefined values as - determined by the configuration utility, but advanced users can change it - to anything strftime can accept. Look at the man page on strftime for - more information. - - - - false - <_summary>Show the number of seconds in the indicator - <_description> - Makes the datetime indicator show the number of seconds in the indicator. - It's important to note that this will cause additional battery drain as - the time will update 60 times as often, so it is not recommended. Also, - this setting will be ignored if the time-format value is set to custom. - - - - false - <_summary>Show the day of the week in the indicator - <_description> - Puts the day of the week on the panel along with the time and/or date - depending on settings. This setting will be ignored if the time-format - value is set to custom. - - - - false - <_summary>Show the month and date in the indicator - <_description> - Puts the month and the date in the panel along with the time and/or day - of the week depending on settings. This setting will be ignored if the - time-format value is set to custom. - - - - false - <_summary>Show the year in the indicator - <_description> - Puts the year in the panel along with the month and the date. - This setting will be ignored if either the time-format value is set to custom - or if show-date is set to false. - - - - true - <_summary>Show the monthly calendar in the indicator - <_description> - Puts the monthly calendar in indicator-datetime's menu. - - - - false - <_summary>Show week numbers in calendar - <_description> - Shows the week numbers in the monthly calendar in indicator-datetime's menu. - - - - true - <_summary>Show events in the indicator - <_description> - Shows events from Evolution in indicator-datetime's menu. - - - - false - <_summary>Show the auto-detected location in the indicator - <_description> - Shows your current location (determined from geoclue and /etc/timezone) in indicator-datetime's menu. - - - - false - <_summary>Show locations in the indicator - <_description> - Shows custom defined locations in indicator-datetime's menu. - - - - ['UTC'] - <_summary>A List of locations - <_description> - Adds the list of locations the user has configured to display in the - indicator-datetime menu. - - - - '' - <_summary>The name of the current timezone - <_description> - Some timezones can be known by many different cities or names. This setting describes how the current zone prefers to be named. Format is "TIMEZONE NAME" (e.g. "America/New_York Boston" to name the New_York zone Boston). - - - - 'pulse' - <_summary>What kind of haptic feedback, if any, to trigger with an alarm. - <_description> - What kind of haptic feedback, if any, to trigger with an alarm. - Two modes are currently supported: 'pulse', 'none'. - - - - '/usr/share/sounds/ubuntu/ringtones/Alarm clock.ogg' - <_summary>The alarm's default sound file. - <_description> - If an alarm doesn't specify its own sound file, this file will be used as the fallback sound. - - - - - 50 - <_summary>The alarm's default volume level. - <_description> - The volume at which alarms will be played. - - - - - 10 - <_summary>The alarm's duration. - <_description> - How long the alarm's sound will be looped if its snap decision is not dismissed by the user. - - - - - 5 - <_summary>The snooze duration. - <_description> - How long to wait when the user hits the Snooze button. - - - - diff --git a/data/indicator-datetime.desktop.in b/data/indicator-datetime.desktop.in index 7d57c8d..ab1174d 100644 --- a/data/indicator-datetime.desktop.in +++ b/data/indicator-datetime.desktop.in @@ -2,7 +2,7 @@ Type=Application Name=Indicator Date & Time Exec=@pkglibexecdir@/indicator-datetime-service -OnlyShowIn=Unity;GNOME;Pantheon; +OnlyShowIn=MATE;Unity;GNOME;Pantheon; NoDisplay=true StartupNotify=false Terminal=false diff --git a/data/org.ayatana.indicator.datetime b/data/org.ayatana.indicator.datetime new file mode 100644 index 0000000..1219c2e --- /dev/null +++ b/data/org.ayatana.indicator.datetime @@ -0,0 +1,20 @@ +[Indicator Service] +Name=indicator-datetime +ObjectPath=/org/ayatana/indicator/datetime +Position=20 + +[desktop] +ObjectPath=/org/ayatana/indicator/datetime/desktop + +[desktop_greeter] +ObjectPath=/org/ayatana/indicator/datetime/desktop_greeter + +[desktop_lockscreen] +ObjectPath=/org/ayatana/indicator/datetime/desktop_greeter + +[phone] +ObjectPath=/org/ayatana/indicator/datetime/phone + +[phone_greeter] +ObjectPath=/org/ayatana/indicator/datetime/phone_greeter + diff --git a/data/org.ayatana.indicator.datetime.AlarmProperties.xml b/data/org.ayatana.indicator.datetime.AlarmProperties.xml new file mode 100644 index 0000000..eb306a6 --- /dev/null +++ b/data/org.ayatana.indicator.datetime.AlarmProperties.xml @@ -0,0 +1,48 @@ + + + + + + + + + The default alarm sound's filename. + + + + + + + + What kind of haptic feedback, if any, to trigger with an alarm. + Two modes are currently supported: 'pulse', 'none'. + + + + + + + + How loudly to play alarm sounds. [Range: 1-100] + + + + + + + + How long an alarm's sound should be looped. + + + + + + + + How many minutes to wait when the Snooze button is pressed. [Range: 1-15] + + + + + + diff --git a/data/org.ayatana.indicator.datetime.gschema.xml.in b/data/org.ayatana.indicator.datetime.gschema.xml.in new file mode 100644 index 0000000..a83c658 --- /dev/null +++ b/data/org.ayatana.indicator.datetime.gschema.xml.in @@ -0,0 +1,166 @@ + + + + + + + + + + true + <_summary>Show the clock in the panel + <_description> + Controls whether the clock indicator appears in the panel or not. + + + + 'locale-default' + <_summary>What the time format should be + <_description> + Controls the time format that is displayed in the indicator. For almost + all users this should be the default for their locale. If you think the + setting is wrong for your locale please join or talk to the translation + team for your language. If you just want something different you can + adjust this to be either 12 or 24 time. Or, you can use a custom format + string and set the custom-time-format setting. + + + + "%l:%M %p" + <_summary>The format string passed to strftime + <_description> + The format of the time and/or date that is visible on the panel when using + the indicator. For most users this will be a set of predefined values as + determined by the configuration utility, but advanced users can change it + to anything strftime can accept. Look at the man page on strftime for + more information. + + + + false + <_summary>Show the number of seconds in the indicator + <_description> + Makes the datetime indicator show the number of seconds in the indicator. + It's important to note that this will cause additional battery drain as + the time will update 60 times as often, so it is not recommended. Also, + this setting will be ignored if the time-format value is set to custom. + + + + false + <_summary>Show the day of the week in the indicator + <_description> + Puts the day of the week on the panel along with the time and/or date + depending on settings. This setting will be ignored if the time-format + value is set to custom. + + + + false + <_summary>Show the month and date in the indicator + <_description> + Puts the month and the date in the panel along with the time and/or day + of the week depending on settings. This setting will be ignored if the + time-format value is set to custom. + + + + false + <_summary>Show the year in the indicator + <_description> + Puts the year in the panel along with the month and the date. + This setting will be ignored if either the time-format value is set to custom + or if show-date is set to false. + + + + true + <_summary>Show the monthly calendar in the indicator + <_description> + Puts the monthly calendar in indicator-datetime's menu. + + + + false + <_summary>Show week numbers in calendar + <_description> + Shows the week numbers in the monthly calendar in indicator-datetime's menu. + + + + true + <_summary>Show events in the indicator + <_description> + Shows events from Evolution in indicator-datetime's menu. + + + + false + <_summary>Show the auto-detected location in the indicator + <_description> + Shows your current location (determined from geoclue and /etc/timezone) in indicator-datetime's menu. + + + + false + <_summary>Show locations in the indicator + <_description> + Shows custom defined locations in indicator-datetime's menu. + + + + ['UTC'] + <_summary>A List of locations + <_description> + Adds the list of locations the user has configured to display in the + indicator-datetime menu. + + + + '' + <_summary>The name of the current timezone + <_description> + Some timezones can be known by many different cities or names. This setting describes how the current zone prefers to be named. Format is "TIMEZONE NAME" (e.g. "America/New_York Boston" to name the New_York zone Boston). + + + + 'pulse' + <_summary>What kind of haptic feedback, if any, to trigger with an alarm. + <_description> + What kind of haptic feedback, if any, to trigger with an alarm. + Two modes are currently supported: 'pulse', 'none'. + + + + '/usr/share/sounds/ubuntu/ringtones/Alarm clock.ogg' + <_summary>The alarm's default sound file. + <_description> + If an alarm doesn't specify its own sound file, this file will be used as the fallback sound. + + + + + 50 + <_summary>The alarm's default volume level. + <_description> + The volume at which alarms will be played. + + + + + 10 + <_summary>The alarm's duration. + <_description> + How long the alarm's sound will be looped if its snap decision is not dismissed by the user. + + + + + 5 + <_summary>The snooze duration. + <_description> + How long to wait when the user hits the Snooze button. + + + + -- cgit v1.2.3