Skip to content
  • Clarence Dang's avatar
    Allow KolourPaint/KDE4 and KolourPaint/KDE3 to run side-by-side. · e69634d7
    Clarence Dang authored
    It's especially important to allow KolourPaint/KDE3 to run under KDE 4.0
    since it's far better tested than KolourPaint/KDE4 will be.
    
    * Rename kolourpaint executable -> kolourpaint4
      [so that the user doesn't have to dig up the full path]
    
    * Rename libkolourpaint_lgpl -> libkolourpaint4_lgpl
      [not needed but done just for future-proofing]
    
    * Rename kolourpaint.desktop -> kolourpaint4.desktop
      [not really required but done for consistency with executable name]
      - Also update.desktop to point to the renamed executable
    
    * Rename kolourpaintui.rc > kolourpaint4ui.rc
      [so that neither version of KolourPaint picks up the wrong toolbar/menus]
    
    * Share $KDEHOME/share/config/kolourpaintrc between KDE4 and KDE3:
      - Changes:
        - Prefix all config groups with "KolourPaint4"
        - Prefix toolbar names with "KolourPaint4" for config-autosaving
        - Point to kolourpaint4ui.rc
      - Problems:
        - We can't prefix "KFileDialog Settings"
        - Sharing a config file between 2 generations of KDE is insane and error-prone
      - Due to complexity of this, I'm going to revert this part of the patch
        and use a far easier method: change the KAboutData name of the app
    
    * Directories are unchanged
    
    
    svn path=/trunk/KDE/kdegraphics/kolourpaint/; revision=718651
    e69634d7