aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-10 22:50:30 -0600
committerTed Gould <ted@gould.cx>2011-03-10 22:50:30 -0600
commitf4135733d15691d2da278ce7c9a7795c070eb9a8 (patch)
treef4f698540c7678fa1a426bfb496ef05825f630ce /data
parent154354ac577a3b05f2b3acc70a0772683f855e08 (diff)
parent721aa2d317bf0fa15579e1775812e02dcf7043fb (diff)
downloadayatana-indicator-datetime-f4135733d15691d2da278ce7c9a7795c070eb9a8.tar.gz
ayatana-indicator-datetime-f4135733d15691d2da278ce7c9a7795c070eb9a8.tar.bz2
ayatana-indicator-datetime-f4135733d15691d2da278ce7c9a7795c070eb9a8.zip
Making it so the clock can be hidden entirely. Adding a desktop file to get to the preferences when it is hidden.
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am8
-rw-r--r--data/indicator-datetime-preferences.desktop.in14
2 files changed, 21 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 669db77..b9a9532 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -12,9 +12,15 @@ dbus_services_DATA = indicator-datetime.service
pkgdata_DATA = datetime-dialog.ui
+@INTLTOOL_DESKTOP_RULE@
+desktopdir = $(datadir)/applications
+desktop_DATA = indicator-datetime-preferences.desktop
+
EXTRA_DIST = \
$(gsettings_SCHEMAS) \
datetime-dialog.ui \
+ indicator-datetime-preferences.desktop \
+ indicator-datetime-preferences.desktop.in \
indicator-datetime.service.in
-CLEANFILES = indicator-datetime.service
+CLEANFILES = indicator-datetime-preferences.desktop indicator-datetime.service
diff --git a/data/indicator-datetime-preferences.desktop.in b/data/indicator-datetime-preferences.desktop.in
new file mode 100644
index 0000000..f37765b
--- /dev/null
+++ b/data/indicator-datetime-preferences.desktop.in
@@ -0,0 +1,14 @@
+[Desktop Entry]
+Version=1.0
+
+_Name=Time & Date
+_Comment=Change your clock and date settings
+
+Icon=time-admin
+TryExec=indicator-datetime-preferences
+Exec=indicator-datetime-preferences
+
+StartupNotify=true
+
+Type=Application
+Categories=GNOME;GTK;Utility;DesktopSettings;Settings;