~ubuntu-branches/debian/sid/alarm-clock/sid

« back to all changes in this revision

Viewing changes to debian/patches/fix-autostart

  • Committer: Bazaar Package Importer
  • Author(s): Ryan Niebur
  • Date: 2009-08-02 01:40:45 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090802014045-9298ztc2yucmfw7j
* New Upstream Version
  - fixes simple counters (Closes: #537791)
* patch to fix the autostart exec path (Closes: #537793)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
fix the path
 
2
 
 
3
diff --git a/src/preferences.c b/src/preferences.c
 
4
index 02dc196..0f04c45 100644
 
5
--- a/src/preferences.c
 
6
+++ b/src/preferences.c
 
7
@@ -74,7 +74,7 @@ show_preferences(void)
 
8
        
 
9
        if (buffer)
 
10
        {
 
11
-               desktop_file = g_strdup("[Desktop Entry]\nType=Application\nEncoding=UTF-8\nVersion=1.0\nName=Alarm Clock\nExec=alarm-clock\nX-GNOME-Autostart-enabled=true\n");
 
12
+               desktop_file = g_strdup("[Desktop Entry]\nType=Application\nEncoding=UTF-8\nVersion=1.0\nName=Alarm Clock\nExec=alarmclock\nX-GNOME-Autostart-enabled=true\n");
 
13
                g_file_set_contents(autostart_file, desktop_file, -1, NULL);
 
14
                g_free(desktop_file);
 
15
        }