[Xfce4-commits] <xfce4-panel:master> Set desktop type when migrating 4.6 launchers.

Nick Schermer noreply at xfce.org
Mon Mar 1 20:20:01 CET 2010


Updating branch refs/heads/master
         to ae890d603e8a0f63fd6af4c7d1343cbf1667c3fd (commit)
       from 436f9e9d4386b87f4a690f7c8e95a07019014929 (commit)

commit ae890d603e8a0f63fd6af4c7d1343cbf1667c3fd
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Mar 1 19:26:25 2010 +0100

    Set desktop type when migrating 4.6 launchers.

 migrate/migrate-46.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/migrate/migrate-46.c b/migrate/migrate-46.c
index c9ba686..2ea7346 100644
--- a/migrate/migrate-46.c
+++ b/migrate/migrate-46.c
@@ -393,6 +393,8 @@ migrate_46_plugin_launcher (XfconfChannel  *channel,
 
       xfce_rc_set_group (new_desktop, G_KEY_FILE_DESKTOP_GROUP);
 
+      xfce_rc_write_entry (new_desktop, G_KEY_FILE_DESKTOP_KEY_TYPE,
+          G_KEY_FILE_DESKTOP_TYPE_APPLICATION);
       xfce_rc_write_entry (new_desktop, G_KEY_FILE_DESKTOP_KEY_NAME,
           xfce_rc_read_entry (rc, "Name", ""));
       xfce_rc_write_entry (new_desktop, G_KEY_FILE_DESKTOP_KEY_COMMENT,



More information about the Xfce4-commits mailing list