[gnome-control-center] datetime: use X-GNOME-Settings-Panel flag and correct Exec line



commit 3776c0fd07f1b47e3b4c0a1706e10977344656f2
Author: Thomas Wood <thomas wood intel com>
Date:   Tue Jun 29 18:09:17 2010 +0100

    datetime: use X-GNOME-Settings-Panel flag and correct Exec line
    
    Fix the Exec line in the .desktop file and use the X-GNOME-Settings-Panel
    property to identify the panel.

 panels/datetime/cc-datetime-panel.c                |    2 +-
 panels/datetime/gnome-datetime-panel.desktop.in.in |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/panels/datetime/cc-datetime-panel.c b/panels/datetime/cc-datetime-panel.c
index dad4919..70a864e 100644
--- a/panels/datetime/cc-datetime-panel.c
+++ b/panels/datetime/cc-datetime-panel.c
@@ -329,6 +329,6 @@ cc_date_time_panel_register (GIOModule *module)
   cc_date_time_panel_register_type (G_TYPE_MODULE (module));
   g_io_extension_point_implement (CC_SHELL_PANEL_EXTENSION_POINT,
                                   CC_TYPE_DATE_TIME_PANEL,
-                                  "gnome-datetime-panel.desktop", 0);
+                                  "datetime", 0);
 }
 
diff --git a/panels/datetime/gnome-datetime-panel.desktop.in.in b/panels/datetime/gnome-datetime-panel.desktop.in.in
index b34c5e8..e33453f 100644
--- a/panels/datetime/gnome-datetime-panel.desktop.in.in
+++ b/panels/datetime/gnome-datetime-panel.desktop.in.in
@@ -1,11 +1,11 @@
 [Desktop Entry]
 _Name=Date And Time
 _Comment=Date and Time preferences panel
-Exec=gnome-date_time-properties
+Exec=gnome-control-center datetime
 Icon=application-x-executable
 Terminal=false
 Type=Application
 StartupNotify=true
 Categories=GNOME;GTK;Settings;DesktopSettings;
 OnlyShowIn=GNOME;
-
+X-GNOME-Settings-Panel=datetime



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]