From 232092fa2105fd001dbddfb6d5b536e215ca3346 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 17 Feb 2003 21:49:39 +0000 Subject: provide a function to return all the desktop names instead of one at a time. adjust to the new format for otk::Proeprty::get() functions (no nelements) --- src/screen.hh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/screen.hh') diff --git a/src/screen.hh b/src/screen.hh index d59cf313..2f026083 100644 --- a/src/screen.hh +++ b/src/screen.hh @@ -222,15 +222,8 @@ public: //! Lowers a client window below all others in its stacking layer void lowerWindow(Client *client); - //! Sets the name of a desktop by changing the root window property - /*! - @param i The index of the desktop to set the name for (starts at 0) - @param name The name to set for the desktop - If the index is too large, it is simply ignored. - */ - void setDesktopName(unsigned int i, const otk::ustring &name); - - otk::ustring desktopName(unsigned int i) const; + const otk::Property::StringVect& desktopNames() const + { return _desktop_names; } void installColormap(bool install) const; -- cgit v1.2.3