~ubuntu-branches/ubuntu/saucy/unity-tweak-tool/saucy-proposed

« back to all changes in this revision

Viewing changes to UnityTweakTool/section/system.py

  • Committer: Package Import Robot
  • Author(s): Barneedhar Vigneshwar, J Phani Mahesh, Barneedhar Vigneshwar
  • Date: 2013-09-16 19:34:38 UTC
  • Revision ID: package-import@ubuntu.com-20130916193438-dw14bzxkohvxub2y
Tags: 0.0.5
[ J Phani Mahesh ]
* New upstream release (LP: #1226059)
  - New application icon 
  - Show error dialog when schemas are missing instead of crashing
  - Trigger new build of pot files
* UnityTweakTool/section/unity.py
  - Fix Show recently used and more suggestions in dash search (LP: #1166294)
  - Fix Launcher reveal sensitivity scale update issues (LP: #1168863)
* UnityTweakTool/elements/colorchooser.py
  - Fix TypeError in get_rgba() (LP: #1165627)
  - Fix segmentation fault on selecting custom launcher (LP: #1190398)
* UnityTweakTool/elements/option.py
  - Fix "Restore defaults" button (LP: #1186634)
* UnityTweakTool/__init__.py  
  - Fix unity-tweak-tool crashed with dbus.exceptions.DBusException in
  call_blocking() (LP: #1168738)
  - Fix FileNotFoundError (LP: #1225463)
  - Fix dbus.exceptions.DBusException (LP: #1170571)
* data/unity.ui
  - Remove Panel transparency switch (LP: #1168836)
  - Remove Launcher transparency switch (LP: #1168834)

[ Barneedhar Vigneshwar ]
* UnityTweakTool/section/unity.py
  - Fix 'Can't set background blur to static' (LP: #1167343)
  - Fix non-working Launcher only on primary desktop (LP: #1173977)
* UnityTweakTool/section/sphagetti/compiz.py
  - Fix TypeError in color_to_hash() (LP: #1166884)

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
from UnityTweakTool.elements.checkbox import CheckBox
36
36
from UnityTweakTool.elements.cbox import ComboBox
37
37
from UnityTweakTool.elements.radio import Radio
 
38
from UnityTweakTool.elements.togglebutton import ToggleButton
38
39
 
39
40
System=Section(ui='system.ui',id='nb_desktop_settings')
40
41
 
41
 
switch_desktop_icons= Switch({
42
 
    'id'        : 'switch_desktop_icons',
43
 
    'builder'   : System.builder,
44
 
    'schema'    : 'org.gnome.desktop.background',
45
 
    'path'      : None,
46
 
    'key'       : 'show-desktop-icons',
47
 
    'type'      : 'boolean',
48
 
    'map'       : {True:True,False:False},
49
 
    'dependants': ['l_desktop_icons_display',
50
 
                    'check_desktop_home',
51
 
                    'check_desktop_networkserver',
52
 
                    'check_desktop_trash',
53
 
                    'check_desktop_devices']
54
 
})
55
 
 
56
 
check_desktop_home= CheckBox({
57
 
    'id'        : 'check_desktop_home',
 
42
tb_home_folder= ToggleButton({
 
43
    'id'        : 'tb_home_folder',
58
44
    'builder'   : System.builder,
59
45
    'schema'    : 'org.gnome.nautilus.desktop',
60
46
    'path'      : None,
64
50
    'dependants': []
65
51
})
66
52
 
67
 
check_desktop_networkserver= CheckBox({
68
 
    'id'        : 'check_desktop_networkserver',
 
53
tb_network= ToggleButton({
 
54
    'id'        : 'tb_network',
69
55
    'builder'   : System.builder,
70
56
    'schema'    : 'org.gnome.nautilus.desktop',
71
57
    'path'      : None,
75
61
    'dependants': []
76
62
})
77
63
 
78
 
check_desktop_trash= CheckBox({
79
 
    'id'        : 'check_desktop_trash',
 
64
tb_trash= ToggleButton({
 
65
    'id'        : 'tb_trash',
80
66
    'builder'   : System.builder,
81
67
    'schema'    : 'org.gnome.nautilus.desktop',
82
68
    'path'      : None,
86
72
    'dependants': []
87
73
})
88
74
 
89
 
check_desktop_devices= CheckBox({
90
 
    'id'        : 'check_desktop_devices',
 
75
tb_devices= ToggleButton({
 
76
    'id'        : 'tb_devices',
91
77
    'builder'   : System.builder,
92
78
    'schema'    : 'org.gnome.nautilus.desktop',
93
79
    'path'      : None,
97
83
    'dependants': []
98
84
})
99
85
 
100
 
DesktopIcons=Tab([  switch_desktop_icons,
101
 
                    check_desktop_home,
102
 
                    check_desktop_networkserver,
103
 
                    check_desktop_trash,
104
 
                    check_desktop_devices])
 
86
DesktopIcons=Tab([  tb_home_folder,
 
87
                    tb_network,
 
88
                    tb_trash,
 
89
                    tb_devices])
105
90
 
106
91
check_security_lock_screen= CheckBox({
107
92
    'id'        : 'check_security_lock_screen',