Changeset 815

Show
Ignore:
Timestamp:
01/31/06 22:36:35 (3 years ago)
Author:
tokoe
Message:

Add default config, add longname and changed plugin name to 'kdepim-sync'
to be consistent with the other plugins

Location:
plugins/kdepim
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • plugins/kdepim/Makefile.am

    r517 r815  
    33 
    44plugindir=@OPENSYNC_PLUGINDIR@ 
     5configdir=@OPENSYNC_CONFIGDIR@ 
    56 
    67INCLUDES = $(OSYNC_CFLAGS) $(XML_CFLAGS) $(GLIB_CFLAGS) $(KDE_INCLUDES) $(QT_INCLUDES) -I$(top_srcdir) 
     
    1112#FIXME: Is there a KDE macro to set this? 
    1213LIB_KCAL = -lkcal 
     14 
     15config_DATA = src/kdepim-sync 
    1316 
    1417plugin_LTLIBRARIES = kdepim_sync.la kdepim_lib.la 
  • plugins/kdepim/src/kdepim_sync.cpp

    r489 r815  
    178178void get_info(OSyncEnv *env) 
    179179{ 
    180         OSyncPluginInfo *info = osync_plugin_new_info(env); 
     180    OSyncPluginInfo *info = osync_plugin_new_info(env); 
    181181    info->version = 1; 
    182     info->name = "kdepim"; 
     182    info->name = "kdepim-sync"; 
    183183    /*FIXME: i18n */ 
    184     info->description = "Plugin for the KDEPIM on KDE 3.x"; 
     184    info->longname = "KDE Desktop"; 
     185    info->description = "Plugin for the KDE 3.5 Desktop"; 
    185186    info->config_type = NO_CONFIGURATION; 
    186187 
     
    195196    osync_plugin_set_commit_objformat(info, "contact", "vcard30", kde_vcard_commit_change); 
    196197    osync_plugin_set_access_objformat(info, "contact", "vcard30", kde_vcard_access); 
    197         osync_plugin_accept_objformat(info, "contact", "vcard21", "kde"); 
     198    osync_plugin_accept_objformat(info, "contact", "vcard21", "kde"); 
    198199    osync_plugin_set_commit_objformat(info, "contact", "vcard21", kde_vcard_commit_change); 
    199200    osync_plugin_set_access_objformat(info, "contact", "vcard21", kde_vcard_access);