\hypertarget{group__Efreet__Utils}{\section{Efreet utilities for F\+D\+O}
\label{group__Efreet__Utils}\index{Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}}
}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
const char $\ast$ \hyperlink{group__Efreet__Utils_ga73a3e448310f6b09ef1e22ea866b632d}{efreet\+\_\+util\+\_\+path\+\_\+to\+\_\+file\+\_\+id} (const char $\ast$path)
\begin{DoxyCompactList}\small\item\em Returns the fdo file id for a given path. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List} $\ast$ \hyperlink{group__Efreet__Utils_gaa350e91977f41174feb9b3b7c7a2e203}{efreet\+\_\+util\+\_\+desktop\+\_\+mime\+\_\+list} (const char $\ast$mime)
\begin{DoxyCompactList}\small\item\em Find all desktops for a given mime type. \end{DoxyCompactList}\item 
\hyperlink{group__Efreet__Desktop_gae7a86664465318833378738e118a2575}{Efreet\+\_\+\+Desktop} $\ast$ \hyperlink{group__Efreet__Utils_ga973b4a85b588da1ccc95dae0475c675b}{efreet\+\_\+util\+\_\+desktop\+\_\+wm\+\_\+class\+\_\+find} (const char $\ast$wmname, const char $\ast$wmclass)
\begin{DoxyCompactList}\small\item\em Find all desktops for a given wm class. \end{DoxyCompactList}\item 
\hyperlink{group__Efreet__Desktop_gae7a86664465318833378738e118a2575}{Efreet\+\_\+\+Desktop} $\ast$ \hyperlink{group__Efreet__Utils_ga8534257495ff4064cdd0efe8940b0034}{efreet\+\_\+util\+\_\+desktop\+\_\+file\+\_\+id\+\_\+find} (const char $\ast$file\+\_\+id)
\begin{DoxyCompactList}\small\item\em Find a desktop by file id. \end{DoxyCompactList}\item 
\hyperlink{group__Efreet__Desktop_gae7a86664465318833378738e118a2575}{Efreet\+\_\+\+Desktop} $\ast$ \hyperlink{group__Efreet__Utils_ga82130618edc72b6d23efb16a0203c82b}{efreet\+\_\+util\+\_\+desktop\+\_\+exec\+\_\+find} (const char $\ast$exec)
\begin{DoxyCompactList}\small\item\em Find a desktop by exec. \end{DoxyCompactList}\item 
\hyperlink{group__Efreet__Desktop_gae7a86664465318833378738e118a2575}{Efreet\+\_\+\+Desktop} $\ast$ \hyperlink{group__Efreet__Utils_ga3f8f3316816842521fc5ef22a6284fbe}{efreet\+\_\+util\+\_\+desktop\+\_\+name\+\_\+find} (const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Find a desktop by name. \end{DoxyCompactList}\item 
\hyperlink{group__Efreet__Desktop_gae7a86664465318833378738e118a2575}{Efreet\+\_\+\+Desktop} $\ast$ \hyperlink{group__Efreet__Utils_ga83607dcb488ff9cd68104c2a318aa99c}{efreet\+\_\+util\+\_\+desktop\+\_\+generic\+\_\+name\+\_\+find} (const char $\ast$generic\+\_\+name)
\begin{DoxyCompactList}\small\item\em Find a desktop by generic name. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List} $\ast$ \hyperlink{group__Efreet__Utils_ga3b5fd29a355a896f3e2327fab4136ea7}{efreet\+\_\+util\+\_\+desktop\+\_\+name\+\_\+glob\+\_\+list} (const char $\ast$glob)
\begin{DoxyCompactList}\small\item\em Find all desktops where name matches a glob pattern. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List} $\ast$ \hyperlink{group__Efreet__Utils_ga734bf672ee68b218662edfdc1572cec4}{efreet\+\_\+util\+\_\+desktop\+\_\+exec\+\_\+glob\+\_\+list} (const char $\ast$glob)
\begin{DoxyCompactList}\small\item\em Find all desktops where exec matches a glob pattern. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List} $\ast$ \hyperlink{group__Efreet__Utils_ga127e75d80ccef1da5164ff5632509449}{efreet\+\_\+util\+\_\+desktop\+\_\+generic\+\_\+name\+\_\+glob\+\_\+list} (const char $\ast$glob)
\begin{DoxyCompactList}\small\item\em Find all desktops where generic name matches a glob pattern. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List} $\ast$ \hyperlink{group__Efreet__Utils_gafb15a8e8bc2a6622516cc80f729f6bd9}{efreet\+\_\+util\+\_\+desktop\+\_\+comment\+\_\+glob\+\_\+list} (const char $\ast$glob)
\begin{DoxyCompactList}\small\item\em Find all desktops where comment matches a glob pattern. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List} $\ast$ \hyperlink{group__Efreet__Utils_ga4f07ba6e0558ea5de80a894b822c208a}{efreet\+\_\+util\+\_\+desktop\+\_\+categories\+\_\+list} (void)
\begin{DoxyCompactList}\small\item\em Find all desktop categories This list must be freed using E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+R\+E\+E. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List} $\ast$ \hyperlink{group__Efreet__Utils_ga456069693ed35716a871f317285be835}{efreet\+\_\+util\+\_\+desktop\+\_\+category\+\_\+list} (const char $\ast$category)
\begin{DoxyCompactList}\small\item\em Find all desktops in a given category. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List} $\ast$ \hyperlink{group__Efreet__Utils_ga417fced114705482e638a9a74bb98b3f}{efreet\+\_\+util\+\_\+menus\+\_\+find} (void)
\begin{DoxyCompactList}\small\item\em Returns a list of .menu files found in the various config dirs. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List} $\ast$ \hyperlink{group__Efreet__Utils_ga60a430b4d8c3839429cdca2892bcf551}{efreet\+\_\+util\+\_\+desktop\+\_\+environments\+\_\+list} (void)
\begin{DoxyCompactList}\small\item\em Find all known desktop environments This list must be freed using E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+R\+E\+E. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


\subsection{Function Documentation}
\hypertarget{group__Efreet__Utils_ga73a3e448310f6b09ef1e22ea866b632d}{\index{Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}!efreet\+\_\+util\+\_\+path\+\_\+to\+\_\+file\+\_\+id@{efreet\+\_\+util\+\_\+path\+\_\+to\+\_\+file\+\_\+id}}
\index{efreet\+\_\+util\+\_\+path\+\_\+to\+\_\+file\+\_\+id@{efreet\+\_\+util\+\_\+path\+\_\+to\+\_\+file\+\_\+id}!Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}}
\subsubsection[{efreet\+\_\+util\+\_\+path\+\_\+to\+\_\+file\+\_\+id}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ efreet\+\_\+util\+\_\+path\+\_\+to\+\_\+file\+\_\+id (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{path}
\end{DoxyParamCaption}
)}}\label{group__Efreet__Utils_ga73a3e448310f6b09ef1e22ea866b632d}


Returns the fdo file id for a given path. 

If the file isn't inside a default fdo path it will return N\+U\+L\+L.


\begin{DoxyParams}{Parameters}
{\em path} & The path to find the file id for\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
File id for path or N\+U\+L\+L 
\end{DoxyReturn}


References alloca(), eina\+\_\+hash\+\_\+find(), eina\+\_\+hash\+\_\+set(), eina\+\_\+lock\+\_\+release(), eina\+\_\+lock\+\_\+take(), eina\+\_\+stringshare\+\_\+add(), and eina\+\_\+stringshare\+\_\+del().



Referenced by efreet\+\_\+menu\+\_\+desktop\+\_\+insert().

\hypertarget{group__Efreet__Utils_gaa350e91977f41174feb9b3b7c7a2e203}{\index{Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}!efreet\+\_\+util\+\_\+desktop\+\_\+mime\+\_\+list@{efreet\+\_\+util\+\_\+desktop\+\_\+mime\+\_\+list}}
\index{efreet\+\_\+util\+\_\+desktop\+\_\+mime\+\_\+list@{efreet\+\_\+util\+\_\+desktop\+\_\+mime\+\_\+list}!Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}}
\subsubsection[{efreet\+\_\+util\+\_\+desktop\+\_\+mime\+\_\+list}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+List}$\ast$ efreet\+\_\+util\+\_\+desktop\+\_\+mime\+\_\+list (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{mime}
\end{DoxyParamCaption}
)}}\label{group__Efreet__Utils_gaa350e91977f41174feb9b3b7c7a2e203}


Find all desktops for a given mime type. 

This list must be freed using E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+R\+E\+E / efreet\+\_\+desktop\+\_\+free


\begin{DoxyParams}{Parameters}
{\em mime} & the mime type \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a list of desktops 
\end{DoxyReturn}
\hypertarget{group__Efreet__Utils_ga973b4a85b588da1ccc95dae0475c675b}{\index{Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}!efreet\+\_\+util\+\_\+desktop\+\_\+wm\+\_\+class\+\_\+find@{efreet\+\_\+util\+\_\+desktop\+\_\+wm\+\_\+class\+\_\+find}}
\index{efreet\+\_\+util\+\_\+desktop\+\_\+wm\+\_\+class\+\_\+find@{efreet\+\_\+util\+\_\+desktop\+\_\+wm\+\_\+class\+\_\+find}!Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}}
\subsubsection[{efreet\+\_\+util\+\_\+desktop\+\_\+wm\+\_\+class\+\_\+find}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Efreet\+\_\+\+Desktop}$\ast$ efreet\+\_\+util\+\_\+desktop\+\_\+wm\+\_\+class\+\_\+find (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{wmname, }
\item[{const char $\ast$}]{wmclass}
\end{DoxyParamCaption}
)}}\label{group__Efreet__Utils_ga973b4a85b588da1ccc95dae0475c675b}


Find all desktops for a given wm class. 

This list must be freed using E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+R\+E\+E / efreet\+\_\+desktop\+\_\+free


\begin{DoxyParams}{Parameters}
{\em wmname} & the wm name \\
\hline
{\em wmclass} & the wm class \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a list of desktops 
\end{DoxyReturn}
\hypertarget{group__Efreet__Utils_ga8534257495ff4064cdd0efe8940b0034}{\index{Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}!efreet\+\_\+util\+\_\+desktop\+\_\+file\+\_\+id\+\_\+find@{efreet\+\_\+util\+\_\+desktop\+\_\+file\+\_\+id\+\_\+find}}
\index{efreet\+\_\+util\+\_\+desktop\+\_\+file\+\_\+id\+\_\+find@{efreet\+\_\+util\+\_\+desktop\+\_\+file\+\_\+id\+\_\+find}!Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}}
\subsubsection[{efreet\+\_\+util\+\_\+desktop\+\_\+file\+\_\+id\+\_\+find}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Efreet\+\_\+\+Desktop}$\ast$ efreet\+\_\+util\+\_\+desktop\+\_\+file\+\_\+id\+\_\+find (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{file\+\_\+id}
\end{DoxyParamCaption}
)}}\label{group__Efreet__Utils_ga8534257495ff4064cdd0efe8940b0034}


Find a desktop by file id. 

return value must be freed by efreet\+\_\+desktop\+\_\+free


\begin{DoxyParams}{Parameters}
{\em file\+\_\+id} & the file id \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a desktop 
\end{DoxyReturn}


References efreet\+\_\+desktop\+\_\+get(), and eina\+\_\+hash\+\_\+find().

\hypertarget{group__Efreet__Utils_ga82130618edc72b6d23efb16a0203c82b}{\index{Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}!efreet\+\_\+util\+\_\+desktop\+\_\+exec\+\_\+find@{efreet\+\_\+util\+\_\+desktop\+\_\+exec\+\_\+find}}
\index{efreet\+\_\+util\+\_\+desktop\+\_\+exec\+\_\+find@{efreet\+\_\+util\+\_\+desktop\+\_\+exec\+\_\+find}!Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}}
\subsubsection[{efreet\+\_\+util\+\_\+desktop\+\_\+exec\+\_\+find}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Efreet\+\_\+\+Desktop}$\ast$ efreet\+\_\+util\+\_\+desktop\+\_\+exec\+\_\+find (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{exec}
\end{DoxyParamCaption}
)}}\label{group__Efreet__Utils_ga82130618edc72b6d23efb16a0203c82b}


Find a desktop by exec. 

return value must be freed by efreet\+\_\+desktop\+\_\+free


\begin{DoxyParams}{Parameters}
{\em exec} & the exec name \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a desktop 
\end{DoxyReturn}


References ecore\+\_\+file\+\_\+app\+\_\+exe\+\_\+get(), ecore\+\_\+file\+\_\+file\+\_\+get(), efreet\+\_\+desktop\+\_\+get(), and eina\+\_\+hash\+\_\+find().

\hypertarget{group__Efreet__Utils_ga3f8f3316816842521fc5ef22a6284fbe}{\index{Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}!efreet\+\_\+util\+\_\+desktop\+\_\+name\+\_\+find@{efreet\+\_\+util\+\_\+desktop\+\_\+name\+\_\+find}}
\index{efreet\+\_\+util\+\_\+desktop\+\_\+name\+\_\+find@{efreet\+\_\+util\+\_\+desktop\+\_\+name\+\_\+find}!Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}}
\subsubsection[{efreet\+\_\+util\+\_\+desktop\+\_\+name\+\_\+find}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Efreet\+\_\+\+Desktop}$\ast$ efreet\+\_\+util\+\_\+desktop\+\_\+name\+\_\+find (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}}\label{group__Efreet__Utils_ga3f8f3316816842521fc5ef22a6284fbe}


Find a desktop by name. 

return value must be freed by efreet\+\_\+desktop\+\_\+free


\begin{DoxyParams}{Parameters}
{\em name} & the name \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a desktop 
\end{DoxyReturn}
\hypertarget{group__Efreet__Utils_ga83607dcb488ff9cd68104c2a318aa99c}{\index{Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}!efreet\+\_\+util\+\_\+desktop\+\_\+generic\+\_\+name\+\_\+find@{efreet\+\_\+util\+\_\+desktop\+\_\+generic\+\_\+name\+\_\+find}}
\index{efreet\+\_\+util\+\_\+desktop\+\_\+generic\+\_\+name\+\_\+find@{efreet\+\_\+util\+\_\+desktop\+\_\+generic\+\_\+name\+\_\+find}!Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}}
\subsubsection[{efreet\+\_\+util\+\_\+desktop\+\_\+generic\+\_\+name\+\_\+find}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Efreet\+\_\+\+Desktop}$\ast$ efreet\+\_\+util\+\_\+desktop\+\_\+generic\+\_\+name\+\_\+find (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{generic\+\_\+name}
\end{DoxyParamCaption}
)}}\label{group__Efreet__Utils_ga83607dcb488ff9cd68104c2a318aa99c}


Find a desktop by generic name. 

return value must be freed by efreet\+\_\+desktop\+\_\+free


\begin{DoxyParams}{Parameters}
{\em generic\+\_\+name} & the generic name \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a desktop 
\end{DoxyReturn}
\hypertarget{group__Efreet__Utils_ga3b5fd29a355a896f3e2327fab4136ea7}{\index{Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}!efreet\+\_\+util\+\_\+desktop\+\_\+name\+\_\+glob\+\_\+list@{efreet\+\_\+util\+\_\+desktop\+\_\+name\+\_\+glob\+\_\+list}}
\index{efreet\+\_\+util\+\_\+desktop\+\_\+name\+\_\+glob\+\_\+list@{efreet\+\_\+util\+\_\+desktop\+\_\+name\+\_\+glob\+\_\+list}!Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}}
\subsubsection[{efreet\+\_\+util\+\_\+desktop\+\_\+name\+\_\+glob\+\_\+list}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+List}$\ast$ efreet\+\_\+util\+\_\+desktop\+\_\+name\+\_\+glob\+\_\+list (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{glob}
\end{DoxyParamCaption}
)}}\label{group__Efreet__Utils_ga3b5fd29a355a896f3e2327fab4136ea7}


Find all desktops where name matches a glob pattern. 

This list must be freed using E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+R\+E\+E / efreet\+\_\+desktop\+\_\+free


\begin{DoxyParams}{Parameters}
{\em glob} & the pattern to match \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a list of desktops 
\end{DoxyReturn}
\hypertarget{group__Efreet__Utils_ga734bf672ee68b218662edfdc1572cec4}{\index{Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}!efreet\+\_\+util\+\_\+desktop\+\_\+exec\+\_\+glob\+\_\+list@{efreet\+\_\+util\+\_\+desktop\+\_\+exec\+\_\+glob\+\_\+list}}
\index{efreet\+\_\+util\+\_\+desktop\+\_\+exec\+\_\+glob\+\_\+list@{efreet\+\_\+util\+\_\+desktop\+\_\+exec\+\_\+glob\+\_\+list}!Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}}
\subsubsection[{efreet\+\_\+util\+\_\+desktop\+\_\+exec\+\_\+glob\+\_\+list}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+List}$\ast$ efreet\+\_\+util\+\_\+desktop\+\_\+exec\+\_\+glob\+\_\+list (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{glob}
\end{DoxyParamCaption}
)}}\label{group__Efreet__Utils_ga734bf672ee68b218662edfdc1572cec4}


Find all desktops where exec matches a glob pattern. 

This list must be freed using E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+R\+E\+E / efreet\+\_\+desktop\+\_\+free


\begin{DoxyParams}{Parameters}
{\em glob} & the pattern to match \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a list of desktops 
\end{DoxyReturn}


References ecore\+\_\+file\+\_\+app\+\_\+exe\+\_\+get(), efreet\+\_\+desktop\+\_\+get(), eina\+\_\+hash\+\_\+find(), and eina\+\_\+list\+\_\+append().

\hypertarget{group__Efreet__Utils_ga127e75d80ccef1da5164ff5632509449}{\index{Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}!efreet\+\_\+util\+\_\+desktop\+\_\+generic\+\_\+name\+\_\+glob\+\_\+list@{efreet\+\_\+util\+\_\+desktop\+\_\+generic\+\_\+name\+\_\+glob\+\_\+list}}
\index{efreet\+\_\+util\+\_\+desktop\+\_\+generic\+\_\+name\+\_\+glob\+\_\+list@{efreet\+\_\+util\+\_\+desktop\+\_\+generic\+\_\+name\+\_\+glob\+\_\+list}!Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}}
\subsubsection[{efreet\+\_\+util\+\_\+desktop\+\_\+generic\+\_\+name\+\_\+glob\+\_\+list}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+List}$\ast$ efreet\+\_\+util\+\_\+desktop\+\_\+generic\+\_\+name\+\_\+glob\+\_\+list (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{glob}
\end{DoxyParamCaption}
)}}\label{group__Efreet__Utils_ga127e75d80ccef1da5164ff5632509449}


Find all desktops where generic name matches a glob pattern. 

This list must be freed using E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+R\+E\+E / efreet\+\_\+desktop\+\_\+free


\begin{DoxyParams}{Parameters}
{\em glob} & the pattern to match \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a list of desktops 
\end{DoxyReturn}
\hypertarget{group__Efreet__Utils_gafb15a8e8bc2a6622516cc80f729f6bd9}{\index{Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}!efreet\+\_\+util\+\_\+desktop\+\_\+comment\+\_\+glob\+\_\+list@{efreet\+\_\+util\+\_\+desktop\+\_\+comment\+\_\+glob\+\_\+list}}
\index{efreet\+\_\+util\+\_\+desktop\+\_\+comment\+\_\+glob\+\_\+list@{efreet\+\_\+util\+\_\+desktop\+\_\+comment\+\_\+glob\+\_\+list}!Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}}
\subsubsection[{efreet\+\_\+util\+\_\+desktop\+\_\+comment\+\_\+glob\+\_\+list}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+List}$\ast$ efreet\+\_\+util\+\_\+desktop\+\_\+comment\+\_\+glob\+\_\+list (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{glob}
\end{DoxyParamCaption}
)}}\label{group__Efreet__Utils_gafb15a8e8bc2a6622516cc80f729f6bd9}


Find all desktops where comment matches a glob pattern. 

This list must be freed using E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+R\+E\+E / efreet\+\_\+desktop\+\_\+free


\begin{DoxyParams}{Parameters}
{\em glob} & the pattern to match \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a list of desktops 
\end{DoxyReturn}
\hypertarget{group__Efreet__Utils_ga4f07ba6e0558ea5de80a894b822c208a}{\index{Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}!efreet\+\_\+util\+\_\+desktop\+\_\+categories\+\_\+list@{efreet\+\_\+util\+\_\+desktop\+\_\+categories\+\_\+list}}
\index{efreet\+\_\+util\+\_\+desktop\+\_\+categories\+\_\+list@{efreet\+\_\+util\+\_\+desktop\+\_\+categories\+\_\+list}!Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}}
\subsubsection[{efreet\+\_\+util\+\_\+desktop\+\_\+categories\+\_\+list}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+List}$\ast$ efreet\+\_\+util\+\_\+desktop\+\_\+categories\+\_\+list (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Efreet__Utils_ga4f07ba6e0558ea5de80a894b822c208a}


Find all desktop categories This list must be freed using E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+R\+E\+E. 

\begin{DoxyReturn}{Returns}
an Eina\+\_\+\+List of category names (const char $\ast$) 
\end{DoxyReturn}


References eina\+\_\+list\+\_\+append().

\hypertarget{group__Efreet__Utils_ga456069693ed35716a871f317285be835}{\index{Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}!efreet\+\_\+util\+\_\+desktop\+\_\+category\+\_\+list@{efreet\+\_\+util\+\_\+desktop\+\_\+category\+\_\+list}}
\index{efreet\+\_\+util\+\_\+desktop\+\_\+category\+\_\+list@{efreet\+\_\+util\+\_\+desktop\+\_\+category\+\_\+list}!Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}}
\subsubsection[{efreet\+\_\+util\+\_\+desktop\+\_\+category\+\_\+list}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+List}$\ast$ efreet\+\_\+util\+\_\+desktop\+\_\+category\+\_\+list (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{category}
\end{DoxyParamCaption}
)}}\label{group__Efreet__Utils_ga456069693ed35716a871f317285be835}


Find all desktops in a given category. 

This list must be freed using E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+R\+E\+E / efreet\+\_\+desktop\+\_\+free


\begin{DoxyParams}{Parameters}
{\em category} & the category name \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a list of desktops 
\end{DoxyReturn}
\hypertarget{group__Efreet__Utils_ga417fced114705482e638a9a74bb98b3f}{\index{Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}!efreet\+\_\+util\+\_\+menus\+\_\+find@{efreet\+\_\+util\+\_\+menus\+\_\+find}}
\index{efreet\+\_\+util\+\_\+menus\+\_\+find@{efreet\+\_\+util\+\_\+menus\+\_\+find}!Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}}
\subsubsection[{efreet\+\_\+util\+\_\+menus\+\_\+find}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+List}$\ast$ efreet\+\_\+util\+\_\+menus\+\_\+find (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Efreet__Utils_ga417fced114705482e638a9a74bb98b3f}


Returns a list of .menu files found in the various config dirs. 

\begin{DoxyReturn}{Returns}
An eina list of menu file paths (const char $\ast$). This must be freed with E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+R\+E\+E. 
\end{DoxyReturn}


References efreet\+\_\+config\+\_\+dirs\+\_\+get(), efreet\+\_\+config\+\_\+home\+\_\+get(), and E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+O\+R\+E\+A\+C\+H.

\hypertarget{group__Efreet__Utils_ga60a430b4d8c3839429cdca2892bcf551}{\index{Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}!efreet\+\_\+util\+\_\+desktop\+\_\+environments\+\_\+list@{efreet\+\_\+util\+\_\+desktop\+\_\+environments\+\_\+list}}
\index{efreet\+\_\+util\+\_\+desktop\+\_\+environments\+\_\+list@{efreet\+\_\+util\+\_\+desktop\+\_\+environments\+\_\+list}!Efreet utilities for F\+D\+O@{Efreet utilities for F\+D\+O}}
\subsubsection[{efreet\+\_\+util\+\_\+desktop\+\_\+environments\+\_\+list}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+List}$\ast$ efreet\+\_\+util\+\_\+desktop\+\_\+environments\+\_\+list (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Efreet__Utils_ga60a430b4d8c3839429cdca2892bcf551}


Find all known desktop environments This list must be freed using E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+R\+E\+E. 

\begin{DoxySince}{Since}
1.\+12
\end{DoxySince}
\begin{DoxyReturn}{Returns}
an Eina\+\_\+\+List of desktop environments names (const char $\ast$) 
\end{DoxyReturn}


References eina\+\_\+list\+\_\+append().

