wok-stable rev 1056

Up: pcmanfm (0.4.6) - add desktop file to chg bg from the preferences menu
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jul 14 23:26:28 2008 +0200 (2008-07-14)
parents 2d568fbc64a2
children da22f3822867
files pcmanfm/receipt pcmanfm/stuff/applications/pcmanfm-pref.desktop pcmanfm/stuff/applications/pcmanfm.desktop pcmanfm/stuff/pcmanfm.desktop pcmanfm/stuff/pcmanfm.h
line diff
     1.1 --- a/pcmanfm/receipt	Mon Jul 14 11:08:19 2008 +0000
     1.2 +++ b/pcmanfm/receipt	Mon Jul 14 23:26:28 2008 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pcmanfm"
     1.7 -VERSION="0.4.5"
     1.8 +VERSION="0.4.6"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Light and easy to use file manager."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -16,6 +16,7 @@
    1.13  compile_rules()
    1.14  {
    1.15  	cd $src
    1.16 +	cp ../stuff/pcmanfm.h src
    1.17  	./configure \
    1.18  		--prefix=/usr \
    1.19  		--mandir=/usr/share/man \
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/pcmanfm/stuff/applications/pcmanfm-pref.desktop	Mon Jul 14 23:26:28 2008 +0200
     2.3 @@ -0,0 +1,9 @@
     2.4 +[Desktop Entry]
     2.5 +Encoding=UTF-8
     2.6 +Name=Desktop Wallpaper
     2.7 +Name[fr]=Fond d'écran
     2.8 +Exec=pcmanfm --show-pref=2
     2.9 +Icon=/usr/share/icons/Tango/16x16/apps/preferences-desktop-wallpaper.png
    2.10 +Terminal=true
    2.11 +Type=Application
    2.12 +Categories=Settings;DesktopSettings;
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/pcmanfm/stuff/applications/pcmanfm.desktop	Mon Jul 14 23:26:28 2008 +0200
     3.3 @@ -0,0 +1,12 @@
     3.4 +[Desktop Entry]
     3.5 +Encoding=UTF-8
     3.6 +Name=PCMan File Manager
     3.7 +Name[fr]=Gestionnaire de fichiers
     3.8 +Name[zh_TW]=PCMan 檔案管理程式
     3.9 +Exec=pcmanfm %F
    3.10 +Icon=pcmanfm
    3.11 +StartupNotify=true
    3.12 +Type=Application
    3.13 +Terminal=false
    3.14 +MimeType=x-directory/normal;inode/directory;
    3.15 +Categories=Application;System;Utility;Core;GTK;
     4.1 --- a/pcmanfm/stuff/pcmanfm.desktop	Mon Jul 14 11:08:19 2008 +0000
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,12 +0,0 @@
     4.4 -[Desktop Entry]
     4.5 -Encoding=UTF-8
     4.6 -Name=PCMan File Manager
     4.7 -Name[fr]=Gestionnaire de fichiers
     4.8 -Name[zh_TW]=PCMan 檔案管理程式
     4.9 -Exec=pcmanfm %F
    4.10 -Icon=pcmanfm
    4.11 -StartupNotify=true
    4.12 -Type=Application
    4.13 -Terminal=false
    4.14 -MimeType=x-directory/normal;inode/directory;
    4.15 -Categories=Application;System;Utility;Core;GTK;
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/pcmanfm/stuff/pcmanfm.h	Mon Jul 14 23:26:28 2008 +0200
     5.3 @@ -0,0 +1,39 @@
     5.4 +/*
     5.5 + *      pcmanfm.h
     5.6 + *
     5.7 + *      Copyright 2008  <pcman.tw@gmail.com>
     5.8 + *
     5.9 + *      This program is free software; you can redistribute it and/or modify
    5.10 + *      it under the terms of the GNU General Public License as published by
    5.11 + *      the Free Software Foundation; either version 2 of the License, or
    5.12 + *      (at your option) any later version.
    5.13 + *
    5.14 + *      This program is distributed in the hope that it will be useful,
    5.15 + *      but WITHOUT ANY WARRANTY; without even the implied warranty of
    5.16 + *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    5.17 + *      GNU General Public License for more details.
    5.18 + *
    5.19 + *      You should have received a copy of the GNU General Public License
    5.20 + *      along with this program; if not, write to the Free Software
    5.21 + *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
    5.22 + *      MA 02110-1301, USA.
    5.23 + */
    5.24 +
    5.25 +#ifndef _PCMANFM_H_
    5.26 +#define _PCMANFM_H_
    5.27 +
    5.28 +#include <gtk/gtk.h>
    5.29 +
    5.30 +G_BEGIN_DECLS
    5.31 +
    5.32 +/* After opening any window/dialog/tool, this should be called. */
    5.33 +void pcmanfm_ref();
    5.34 +
    5.35 +/* After closing any window/dialog/tool, this should be called.
    5.36 + * If the last window is closed and we are not a deamon, pcmanfm will quit.
    5.37 + */
    5.38 +gboolean pcmanfm_unref();
    5.39 +
    5.40 +G_END_DECLS
    5.41 +
    5.42 +#endif