~ricotz/plank/consolidate-api

« back to all changes in this revision

Viewing changes to lib/DockPreferences.vala

  • Committer: Rico Tzschichholz
  • Date: 2015-11-03 10:37:19 UTC
  • Revision ID: ricotz@ubuntu.com-20151103103719-s2gik7a9cnove1tg
Drop nested namespaces

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
18
//
19
19
 
20
 
using Plank.Services;
21
 
 
22
20
namespace Plank
23
21
{
24
22
        /**
25
23
         * Contains all preferences for docks.
26
24
         */
27
 
        public class DockPreferences : Plank.Services.Settings
 
25
        public class DockPreferences : Plank.Settings
28
26
        {
29
27
                static GLib.Settings create_settings (string schema_id, string? path = null)
30
28
                {
158
156
                        
159
157
                        case "Theme":
160
158
                                if (Theme == "")
161
 
                                        Theme = Plank.Drawing.Theme.DEFAULT_NAME;
 
159
                                        Theme = Plank.Theme.DEFAULT_NAME;
162
160
                                else if (Theme.contains ("/"))
163
161
                                        Theme = Theme.replace ("/", "");
164
162
                                break;