# HG changeset patch # User Christophe Lincoln # Date 1216070788 -7200 # Node ID 3ccfa87bd6024a27d469f1bb47c20f0afb7c2ed3 # Parent 2d568fbc64a2330f4895ee9c7be459c7799e1a5f Up: pcmanfm (0.4.6) - add desktop file to chg bg from the preferences menu diff -r 2d568fbc64a2 -r 3ccfa87bd602 pcmanfm/receipt --- a/pcmanfm/receipt Mon Jul 14 11:08:19 2008 +0000 +++ b/pcmanfm/receipt Mon Jul 14 23:26:28 2008 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="pcmanfm" -VERSION="0.4.5" +VERSION="0.4.6" CATEGORY="system-tools" SHORT_DESC="Light and easy to use file manager." MAINTAINER="pankso@slitaz.org" @@ -16,6 +16,7 @@ compile_rules() { cd $src + cp ../stuff/pcmanfm.h src ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ diff -r 2d568fbc64a2 -r 3ccfa87bd602 pcmanfm/stuff/applications/pcmanfm-pref.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pcmanfm/stuff/applications/pcmanfm-pref.desktop Mon Jul 14 23:26:28 2008 +0200 @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Desktop Wallpaper +Name[fr]=Fond d'écran +Exec=pcmanfm --show-pref=2 +Icon=/usr/share/icons/Tango/16x16/apps/preferences-desktop-wallpaper.png +Terminal=true +Type=Application +Categories=Settings;DesktopSettings; diff -r 2d568fbc64a2 -r 3ccfa87bd602 pcmanfm/stuff/applications/pcmanfm.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pcmanfm/stuff/applications/pcmanfm.desktop Mon Jul 14 23:26:28 2008 +0200 @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=PCMan File Manager +Name[fr]=Gestionnaire de fichiers +Name[zh_TW]=PCMan 檔案管理程式 +Exec=pcmanfm %F +Icon=pcmanfm +StartupNotify=true +Type=Application +Terminal=false +MimeType=x-directory/normal;inode/directory; +Categories=Application;System;Utility;Core;GTK; diff -r 2d568fbc64a2 -r 3ccfa87bd602 pcmanfm/stuff/pcmanfm.desktop --- a/pcmanfm/stuff/pcmanfm.desktop Mon Jul 14 11:08:19 2008 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Name=PCMan File Manager -Name[fr]=Gestionnaire de fichiers -Name[zh_TW]=PCMan 檔案管理程式 -Exec=pcmanfm %F -Icon=pcmanfm -StartupNotify=true -Type=Application -Terminal=false -MimeType=x-directory/normal;inode/directory; -Categories=Application;System;Utility;Core;GTK; diff -r 2d568fbc64a2 -r 3ccfa87bd602 pcmanfm/stuff/pcmanfm.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pcmanfm/stuff/pcmanfm.h Mon Jul 14 23:26:28 2008 +0200 @@ -0,0 +1,39 @@ +/* + * pcmanfm.h + * + * Copyright 2008 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. + */ + +#ifndef _PCMANFM_H_ +#define _PCMANFM_H_ + +#include + +G_BEGIN_DECLS + +/* After opening any window/dialog/tool, this should be called. */ +void pcmanfm_ref(); + +/* After closing any window/dialog/tool, this should be called. + * If the last window is closed and we are not a deamon, pcmanfm will quit. + */ +gboolean pcmanfm_unref(); + +G_END_DECLS + +#endif