mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
bee5fd8fb9
Editing will be done simply by creating first .desktop file and letting ede-desktop to read it, performing some checks to determin if only content was changed or file was renamed. Using this scheme, beside it simplify the code, it addresses the cases when icon was modified outside the desktop or removed. These things could be solved by using DirWatch, but I'm trying to rely less on OS notification system...
36 lines
1.2 KiB
C
36 lines
1.2 KiB
C
/*
|
|
* $Id: ede-panel.cpp 3463 2012-12-17 15:49:33Z karijes $
|
|
*
|
|
* Copyright (C) 2013 Sanel Zukan
|
|
*
|
|
* 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 __EDE_DESKTOP_GLOBAL_H__
|
|
#define __EDE_DESKTOP_GLOBAL_H__
|
|
|
|
#include <edelib/Resource.h>
|
|
|
|
/* alias it so we don't have to use EDELIB_NS_PREPEND */
|
|
EDELIB_NS_USING_AS(Resource, DesktopConfig)
|
|
|
|
#define EDE_DESKTOP_DAMAGE_CHILD_LABEL 0x10
|
|
#define EDE_DESKTOP_DAMAGE_OVERLAY 0x20
|
|
#define EDE_DESKTOP_DAMAGE_CLEAR_OVERLAY 0x30
|
|
|
|
#define EDE_DESKTOP_DESKTOP_EXT ".desktop"
|
|
|
|
#endif
|