Logo Search packages:      
Sourcecode: wallpaper-tray version File versions  Download package

std::size_t Wallpapers::CountStatics (  )  [private]

Gives the number of useable wallpapers held by the Gnome Wallpaper tool.

<Wallpapers::CountStatics>

Returns:
The number of useable wallpapers held by the Gnome Wallpaper tool.
Date:
12-06-2006 GAF Written

Definition at line 410 of file Wallpapers.cc.

References GnomeWPList::GetFileList().

Referenced by SetRandom().

{
      // contentious, but opting here to rescan the xml for gnome wp list every time
      GnomeWPList gnomeWPList;

      return gnomeWPList.GetFileList().size();
}// end Wallpapers::CountStatics


Generated by  Doxygen 1.6.0   Back to index