Exemplo n.º 1
0
    def __init__(self, assistant):
        OptionsPage.__init__(self, assistant)
        
        ccgui.ui.add_section_title(self, "Board/SLIM Mode Options")
        ccgui.ui.add_divider(self)
        ccgui.ui.add_section_title(self, "Appearance")
        
        l = ccgui.ui.add_label(self, "Screen width:")
        self.screenwidth = ccgui.ui.add_entry(self)
        ccgui.ui.add_row(self, l, self.screenwidth)
        
        l = ccgui.ui.add_label(self, "Screen height:")
        self.screenheight = ccgui.ui.add_entry(self)
        ccgui.ui.add_row(self, l, self.screenheight)
        
        self.nobg = ccgui.ui.add_check_button(self, "Remove background.") 
        ccgui.ui.add_wide_control(self, self.nobg)
        
        l = ccgui.ui.add_label(self, "Fix ring position:")
        self.ringpos = ccgui.ui.add_entry(self)
        ccgui.ui.add_row(self, l, self.ringpos)
        
        ccgui.ui.add_divider(self)
        
        ccgui.ui.add_section_title(self, "Weather")
        
        l = ccgui.ui.add_label(self, "Descriptive text.\n\nInclude some information on where to get the codes.")
        ccgui.ui.add_wide_control(self,l)

        self.weather = ccgui.ui.add_check_button(self, "Enable weather support.") 
        ccgui.ui.add_wide_control(self,self.weather)
        
        l = ccgui.ui.add_label(self, "Area code:")
        self.area = ccgui.ui.add_entry(self)
        ccgui.ui.add_row(self, l, self.area)
Exemplo n.º 2
0
    def __init__(self, assistant):
        OptionsPage.__init__(self, assistant)
        
        ccgui.ui.add_section_title(self, "SLS Mode Options")
        ccgui.ui.add_divider(self)
        ccgui.ui.add_section_title(self, "Appearance")
        
        self.nobg = ccgui.ui.add_check_button(self, "Remove background.") 
        ccgui.ui.add_wide_control(self,self.nobg)
        
        ccgui.ui.add_divider(self)
        
        ccgui.ui.add_section_title(self, "Weather")
        
        l = ccgui.ui.add_label(self, "Descriptive text.\n\nInclude some information on where to get the codes.")
        ccgui.ui.add_wide_control(self,l)

        l = ccgui.ui.add_label(self, "Area code:")
        self.area = ccgui.ui.add_entry(self)
        ccgui.ui.add_row(self, l, self.area)
        
        ccgui.ui.add_divider(self)
        
        ccgui.ui.add_section_title(self, "GMail")
        
        l = ccgui.ui.add_label(self, "Descriptive text")
        ccgui.ui.add_wide_control(self,l)

        l = ccgui.ui.add_label(self, "Username:"******"Password:")
        self.gmailpassword = ccgui.ui.add_entry(self)
        ccgui.ui.add_row(self, l, self.gmailpassword)
Exemplo n.º 3
0
    def __init__(self, assistant):
        OptionsPage.__init__(self, assistant)
        
        ccgui.ui.add_section_title(self, "System Information")
        
        l = ccgui.ui.add_label(self, "Configures system usage reporting.")
        ccgui.ui.add_wide_control(self,l)
        
        self.cpu = ccgui.ui.add_check_button(self, "Enable CPU usage monitor.")
        self.cpu.connect("toggled", self.on_cpu_toggled)        
        ccgui.ui.add_wide_control(self,self.cpu)
        
        l = ccgui.ui.add_label(self, "Number of CPU cores:")
        adjustment = Gtk.Adjustment(1, 1, 16, 1, 4, 0)
        self.cpucount = Gtk.SpinButton(halign = Gtk.Align.START, hexpand = True)
        self.cpucount.set_adjustment(adjustment)
        self.cpucount.set_sensitive(False)
        ccgui.ui.add_row(self, l, self.cpucount)
                
        self.cputemp = ccgui.ui.add_check_button(self, "Enable CPU temperature monitoring.")
        ccgui.ui.add_wide_control(self,self.cputemp)
                
        self.swap = ccgui.ui.add_check_button(self, "Enable swap usage monitor.")
        ccgui.ui.add_wide_control(self,self.swap)
        
        self.processmonitor = ccgui.ui.add_check_button(self, "Enable process monitor.")
        self.processmonitor.connect("toggled", self.on_process_toggled) 
        ccgui.ui.add_wide_control(self,self.processmonitor)
        
        l = ccgui.ui.add_label(self, "Number of processes:")
        #l.set_margin_left(18)
        adjustment = Gtk.Adjustment(1, 1, 10, 1, 4, 0)
        self.processcount = Gtk.SpinButton(halign = Gtk.Align.START, hexpand = True)
        self.processcount.set_adjustment(adjustment)
        self.processcount.set_sensitive(False)
        ccgui.ui.add_row(self, l, self.processcount)

        ccgui.ui.add_divider(self)
        ccgui.ui.add_section_title(self, "Battery Information")

        l = ccgui.ui.add_label(self, "Reports battery status using /sys/class/power_supply/BAT#")
        ccgui.ui.add_wide_control(self,l)

        self.battery = ccgui.ui.add_check_button(self, "Enable battery monitor.")
        self.battery.connect("toggled", self.on_battery_toggled) 
        ccgui.ui.add_wide_control(self,self.battery)

        l = ccgui.ui.add_label(self, "Battery to monitor:")
        self.batteryx = Gtk.SpinButton(halign = Gtk.Align.START, hexpand = True)
        batadjustment = Gtk.Adjustment(0, 0, 10, 1, 4, 0)        
        self.batteryx.set_adjustment(batadjustment)
        self.batteryx.set_sensitive(False)
        ccgui.ui.add_row(self, l, self.batteryx)

        ccgui.ui.add_divider(self)
        ccgui.ui.add_section_title(self, "NVidia GPU Information")
        l = ccgui.ui.add_label(self, "Displays temperature, frequency, memory and driver version.")
        ccgui.ui.add_wide_control(self,l)        
        self.nvidia = ccgui.ui.add_check_button(self, "Enable NVidia GPU information.")
        ccgui.ui.add_wide_control(self, self.nvidia)
Exemplo n.º 4
0
    def __init__(self, assistant):
        OptionsPage.__init__(self, assistant)
        
        ccgui.ui.add_section_title(self, "Appearance")
        
        l = ccgui.ui.add_label(self, "This allows you to specify desktop specific options.")
        ccgui.ui.add_wide_control(self,l)

        l = ccgui.ui.add_label(self, "Side of the screen to display Conky:")
        self.sides = Gtk.ListStore(str, str)

        self.sides.append(["Left", "left"])
        self.sides.append(["Right", "right"])
        self.side = Gtk.ComboBoxText(halign = Gtk.Align.START,
                                                   hexpand=True)
        self.side.set_model(self.sides)
        self.side.set_active(1)
        ccgui.ui.add_row(self, l, self.side)
        
        self.replacelogo = ccgui.ui.add_check_button(self, "Replace monitor icon with distribution/desktop logo.")
        self.replacelogo.connect("toggled", self.on_logo_toggled) 
        ccgui.ui.add_wide_control(self,self.replacelogo)
        
        l = ccgui.ui.add_label(self, "Distribution/Desktop:")
        self.icons = Gtk.ListStore(str, str)

        self.icons.append(["Arch", " --arch"])
        self.icons.append(["Debian", " --debian"])
        self.icons.append(["Fedora", " --fedora"])
        self.icons.append(["Gentoo", " --gentoo"])
        self.icons.append(["Gnome", " --gnome"])
        self.icons.append(["KDE", "--kde"])
        self.icons.append(["OpenSUSE", " --opensuse"])
        self.icons.append(["Pardus", " --pardus"])
        self.icons.append(["Ubuntu", " --ubuntu"])
        self.icons.append(["XFCE", " --xfce"])
 
        
        self.icon = Gtk.ComboBoxText(halign = Gtk.Align.START,
                                                   hexpand=True)
        self.icon.set_model(self.icons)
        self.icon.set_active(0)
        self.icon.set_sensitive(False)
        ccgui.ui.add_row(self, l, self.icon)

        ccgui.ui.add_divider(self)
        ccgui.ui.add_section_title(self, "Updates")
        l = ccgui.ui.add_label(self, "Displays the total number of updates available to be installed.")
        ccgui.ui.add_wide_control(self,l)   
        
        l = ccgui.ui.add_label(self, "<b>Note:</b> only currently only supports apt-get based systems (Debian/Ubuntu).")
        ccgui.ui.add_wide_control(self,l)  

        self.updates = ccgui.ui.add_check_button(self, "Show number of available updates.")
        ccgui.ui.add_wide_control(self,self.updates) 
Exemplo n.º 5
0
    def __init__(self, assistant):
        OptionsPage.__init__(self, assistant)
        
        ccgui.ui.add_section_title(self, "Network Monitoring")
        l = ccgui.ui.add_label(self, "Descriptive text")
        ccgui.ui.add_wide_control(self,l)

        self.network = ccgui.ui.add_check_button(self, "Enable network monitoring.") 
        self.network.connect("toggled", self.on_network_toggled)
        ccgui.ui.add_wide_control(self, self.network)

        l = ccgui.ui.add_label(self, "Change default device number:")
        ccgui.ui.add_wide_control(self,l)

        
        l = ccgui.ui.add_label(self, "Ethernet (/dev/ethX):")
        self.ethx = Gtk.SpinButton(halign = Gtk.Align.START, hexpand = True)
        ethadjustment = Gtk.Adjustment(0, 0, 10, 1, 4, 0)        
        self.ethx.set_adjustment(ethadjustment)
        self.ethx.set_sensitive(False)
        ccgui.ui.add_row(self, l, self.ethx)

        l = ccgui.ui.add_label(self, "Wireless (/dev/wlanX):")
        self.wlanx = Gtk.SpinButton(halign = Gtk.Align.START, hexpand = True)
        wlanadjustment = Gtk.Adjustment(0, 0, 10, 1, 4, 0)
        self.wlanx.set_adjustment(wlanadjustment)
        self.wlanx.set_sensitive(False)
        ccgui.ui.add_row(self, l, self.wlanx)

        l = ccgui.ui.add_label(self, "PPP/3G Modem (/dev/pppX):")
        self.pppx = Gtk.SpinButton(halign = Gtk.Align.START, hexpand = True)
        pppadjustment = Gtk.Adjustment(0, 0, 10, 1, 4, 0)
        self.pppx.set_adjustment(pppadjustment)
        self.pppx.set_sensitive(False)        
        ccgui.ui.add_row(self, l, self.pppx)        

        ccgui.ui.add_divider(self)
        ccgui.ui.add_section_title(self, "GMail")
        
        l = ccgui.ui.add_label(self, "Reports the number of new messages in the specified account.\n\n<b>Warning:</b> Details are stored in plain text!")
        ccgui.ui.add_wide_control(self,l)

        self.gmail = ccgui.ui.add_check_button(self, "Enable GMail support.")
        self.gmail.connect("toggled", self.on_gmail_toggled)
        ccgui.ui.add_wide_control(self, self.gmail)
        
        l = ccgui.ui.add_label(self, "Username:"******"Password:")
        self.password = ccgui.ui.add_entry(self)
        self.password.set_sensitive(False)
        ccgui.ui.add_row(self, l, self.password)
Exemplo n.º 6
0
    def __init__(self, assistant):
        OptionsPage.__init__(self, assistant)

        ccgui.ui.add_section_title(self, "Ring Mode Options")

        ccgui.ui.add_divider(self)
        ccgui.ui.add_section_title(self, "System")
        l = ccgui.ui.add_label(self, "Descriptive text")
        ccgui.ui.add_wide_control(self, l)

        l = ccgui.ui.add_label(self, "Number of CPU cores:")
        # l.set_margin_left(18)
        adjustment = Gtk.Adjustment(1, 1, 16, 1, 4, 0)
        self.cpucount = Gtk.SpinButton(halign=Gtk.Align.START, hexpand=True)
        self.cpucount.set_adjustment(adjustment)
        ccgui.ui.add_row(self, l, self.cpucount)

        self.network = ccgui.ui.add_check_button(self, "Enable network monitor.")
        ccgui.ui.add_wide_control(self, self.network)

        ccgui.ui.add_divider(self)
        ccgui.ui.add_section_title(self, "Media Player Support")
        l = ccgui.ui.add_label(self, "Descriptive text")
        ccgui.ui.add_wide_control(self, l)

        # Reuse options for each player.
        self.playerstyles = Gtk.ListStore(str, str)
        self.playerstyles.append(["Disabled", ""])
        self.playerstyles.append(["Ring", "ring"])
        self.playerstyles.append(["Ring-Case", "ring-case"])
        self.playerstyles.append(["Ring-CD", "ring-cd"])
        self.playerstyles.append(["Ring-Glassy", "ring-glassy"])

        l = ccgui.ui.add_label(self, "Banshee:")
        self.banshee = Gtk.ComboBoxText(halign=Gtk.Align.START, hexpand=True)
        self.banshee.set_model(self.playerstyles)
        self.banshee.set_active(0)
        ccgui.ui.add_row(self, l, self.banshee)

        l = ccgui.ui.add_label(self, "Clementine:")
        self.clementine = Gtk.ComboBoxText(halign=Gtk.Align.START, hexpand=True)
        self.clementine.set_model(self.playerstyles)
        self.clementine.set_active(0)
        ccgui.ui.add_row(self, l, self.clementine)

        l = ccgui.ui.add_label(self, "Rhythmbox:")
        self.rhythmbox = Gtk.ComboBoxText(halign=Gtk.Align.START, hexpand=True)
        self.rhythmbox.set_model(self.playerstyles)
        self.rhythmbox.set_active(0)
        ccgui.ui.add_row(self, l, self.rhythmbox)
Exemplo n.º 7
0
    def __init__(self, assistant):
        OptionsPage.__init__(self, assistant)

        ccgui.ui.add_section_title(self, "HDD Usage Monitoring")
        l = ccgui.ui.add_label(self, "Feature explanation")
        ccgui.ui.add_wide_control(self,l)

        l = ccgui.ui.add_label(self, "HDD Mode:")
        self.hddstyles = Gtk.ListStore(str, str)
        self.hddstyles.append(["Disabled", ""])
        self.hddstyles.append(["Default", "default"])
        self.hddstyles.append(["Meerkat", "meerkat"])
        self.hddstyles.append(["Mix", "mix"])
        self.hddstyles.append(["Simple", "simple"])
        self.hdd = Gtk.ComboBoxText(halign = Gtk.Align.START,
                                      hexpand=True)
        self.hdd.set_model(self.hddstyles)
        self.hdd.set_active(0)
        self.hdd.connect("changed", self.on_hdd_changed)
        ccgui.ui.add_row(self, l, self.hdd)

        ccgui.ui.add_divider(self)
        ccgui.ui.add_section_title(self, "HDD Temperature Monitoring")
        l = ccgui.ui.add_label(self, "Feature explanation (NOT IMPLEMENTED)")
        ccgui.ui.add_wide_control(self,l)

        self.hddtemp = ccgui.ui.add_check_button(self, "Enable HDD temperature monitoring.")
        self.hddtemp.connect("toggled", self.on_hddtemp_toggled)
        self.hddtemp.set_sensitive(False)
        ccgui.ui.add_wide_control(self,self.hddtemp)

        l = ccgui.ui.add_label(self, "HDD Temperature 1:")
        self.hdtemp1 = ccgui.ui.add_entry(self)
        self.hdtemp1.set_sensitive(False)
        ccgui.ui.add_row(self, l, self.hdtemp1)
        l = ccgui.ui.add_label(self, "HDD Temperature 2:")
        self.hdtemp2 = ccgui.ui.add_entry(self)
        self.hdtemp2.set_sensitive(False)
        ccgui.ui.add_row(self, l, self.hdtemp2)
        l = ccgui.ui.add_label(self, "HDD Temperature 3:")
        self.hdtemp3 = ccgui.ui.add_entry(self)
        self.hdtemp3.set_sensitive(False)
        ccgui.ui.add_row(self, l, self.hdtemp3)
        l = ccgui.ui.add_label(self, "HDD Temperature 4:")
        self.hdtemp4 = ccgui.ui.add_entry(self)
        self.hdtemp4.set_sensitive(False)
        ccgui.ui.add_row(self, l, self.hdtemp4)
Exemplo n.º 8
0
    def __init__(self, assistant):
        OptionsPage.__init__(self, assistant)
        
        ccgui.ui.add_section_title(self, "Weather")
        
        l = ccgui.ui.add_label(self, "Descriptive text.\n\nInclude some information on where to get the codes.")
        ccgui.ui.add_wide_control(self,l)

        l = ccgui.ui.add_label(self, "Weather Mode:")
        self.weatherprovider = Gtk.ListStore(str, str)
        self.weatherprovider.append(["Disabled", ""])
        self.weatherprovider.append(["BBC Weather", " --bbcweather"])
        self.weatherprovider.append(["Yahoo Weather", " --weather"])
        self.weather = Gtk.ComboBoxText(halign = Gtk.Align.START,
                                      hexpand=True)
        self.weather.set_model(self.weatherprovider)
        self.weather.set_active(0)
        self.weather.connect("changed", self.on_weather_changed)
        ccgui.ui.add_row(self, l, self.weather)
        
        l = ccgui.ui.add_label(self, "Area code:")
        self.area = ccgui.ui.add_entry(self)
        self.area.set_sensitive(False)
        ccgui.ui.add_row(self, l, self.area)
Exemplo n.º 9
0
    def __init__(self, assistant):
        OptionsPage.__init__(self, assistant)
        
        ccgui.ui.add_section_title(self, "General Settings")
        ccgui.ui.add_divider(self)
        
        ccgui.ui.add_section_title(self, "Language")
        
        l = ccgui.ui.add_label(self, "Select the langauge used to display labels and headings.")
        ccgui.ui.add_wide_control(self,l)
        
        l = ccgui.ui.add_label(self, "Language:")
        self.languages = Gtk.ListStore(str, str)

        self.languages.append(["Bulgarian", "bg"])
        self.languages.append(["Estonian", "et"])
        self.languages.append(["French", "fr"])
        self.languages.append(["German", "de"])
        self.languages.append(["English", "en"])
        self.languages.append(["Italian", "it"])
        self.languages.append(["Polish", "pl"])
        self.languages.append(["Portuguese", "pt"])
        self.languages.append(["Russian", "ru"])
        self.languages.append(["Spanish", "es"])
        self.languages.append(["Ukrainian", "uk"])
        self.language = Gtk.ComboBoxText(halign = Gtk.Align.START,
                                                   hexpand=True)
        self.language.set_model(self.languages)
        self.language.set_active(4)
        ccgui.ui.add_row(self, l, self.language)
    
        ccgui.ui.add_divider(self)
        
        ccgui.ui.add_section_title(self, "Theme")
        
        l = ccgui.ui.add_label(self, "Select the theme used to display the selected mode.")
        ccgui.ui.add_wide_control(self,l)
        
        l = ccgui.ui.add_label(self, "Theme:")
        self.themes = Gtk.ListStore(str, str)

        self.themes.append(["Ambiance", "ambiance"])
        self.themes.append(["Black", "black"])
        self.themes.append(["Blue", "blue"])
        self.themes.append(["Brave", "brave"])
        self.themes.append(["Carbonite", "carbonite"])
        self.themes.append(["Cyan", "cyan"])
        self.themes.append(["Dust", "dust"])
        self.themes.append(["Elementary", "elementary"])
        self.themes.append(["Green", "green"])
        self.themes.append(["Human", "human"])
        self.themes.append(["Orange", "orange"])
        self.themes.append(["Noble", "noble"])
        self.themes.append(["Purple", "purple"])
        self.themes.append(["Radiance", "radiance"])
        self.themes.append(["Red", "red"])
        self.themes.append(["Tribute", "tribute"])
        self.themes.append(["White", "white"])
        self.themes.append(["Wine", "wine"])
        self.themes.append(["Wise", "wise"])
        
        self.theme = Gtk.ComboBoxText(halign = Gtk.Align.START,
                                                   hexpand=True)
        self.theme.set_model(self.themes)
        self.theme.set_active(9)
        ccgui.ui.add_row(self, l, self.theme)


        ccgui.ui.add_divider(self)
        
        ccgui.ui.add_section_title(self, "Temperature Units")
        
        l = ccgui.ui.add_label(self, "Select the unit to be used to display all temperature readings.")
        ccgui.ui.add_wide_control(self,l)

        l = ccgui.ui.add_label(self, "Unit:")
        self.units = Gtk.ListStore(str, str)

        self.units.append(["Celcius", "C"])
        self.units.append(["Fahrenheit", "F"])

        self.unit = Gtk.ComboBoxText(halign = Gtk.Align.START,
                                                   hexpand=True)
        self.unit.set_model(self.units)
        self.unit.set_active(0)
        ccgui.ui.add_row(self, l, self.unit)
Exemplo n.º 10
0
    def __init__(self, assistant):
        OptionsPage.__init__(self, assistant)
        
        ccgui.ui.add_section_title(self, "Photo Display")
        l = ccgui.ui.add_label(self, "This feature will display an image. EXPAND.")
        ccgui.ui.add_wide_control(self,l)
        
        
        l = ccgui.ui.add_label(self, "Photo Mode:")
        self.photostyles = Gtk.ListStore(str, str)
        self.photostyles.append(["Disabled", ""])
        self.photostyles.append(["Enabled", " --photo"])
        self.photostyles.append(["Enabled in random mode", " --photord"])
        self.photo = Gtk.ComboBoxText(halign = Gtk.Align.START,
                                      hexpand=True)
        self.photo.set_model(self.photostyles)
        self.photo.set_active(0)
        ccgui.ui.add_row(self, l, self.photo)

        ccgui.ui.add_divider(self)

        ccgui.ui.add_section_title(self, "Media Player Support")
        l = ccgui.ui.add_label(self, "Descriptive text")
        ccgui.ui.add_wide_control(self,l)

        #Reuse options for each player.
        self.playerstyles = Gtk.ListStore(str, str)
        self.playerstyles.append(["Disabled", ""])
        self.playerstyles.append(["Case", "case"])
        self.playerstyles.append(["CD", "cd"])
        self.playerstyles.append(["Default", "default"])
        self.playerstyles.append(["Glassy", "glassy"])
        self.playerstyles.append(["Old Vinyl", "oldvinyl"])
        self.playerstyles.append(["Simple", "simple"])
        self.playerstyles.append(["Vinyl", "vinyl"])
        
        l = ccgui.ui.add_label(self, "Banshee:")
        self.banshee = Gtk.ComboBoxText(halign = Gtk.Align.START,
                                        hexpand=True)
        self.banshee.set_model(self.playerstyles)
        self.banshee.set_active(0)
        ccgui.ui.add_row(self, l, self.banshee)
        
        l = ccgui.ui.add_label(self, "Clementine:")
        self.clementine = Gtk.ComboBoxText(halign = Gtk.Align.START,
                                           hexpand=True)
        self.clementine.set_model(self.playerstyles)
        self.clementine.set_active(0)
        ccgui.ui.add_row(self, l, self.clementine)
        
        l = ccgui.ui.add_label(self, "Rhythmbox:")
        self.rhythmbox = Gtk.ComboBoxText(halign = Gtk.Align.START,
                                         hexpand=True)
        self.rhythmbox.set_model(self.playerstyles)
        self.rhythmbox.set_active(0)
        ccgui.ui.add_row(self, l, self.rhythmbox)

        self.mpd = ccgui.ui.add_check_button(self, "Enable MPD support.") 
        ccgui.ui.add_wide_control(self, self.mpd)

        self.covergloobus = ccgui.ui.add_check_button(self, "Enable CoverGloobus support.") 
        ccgui.ui.add_wide_control(self, self.covergloobus)
Exemplo n.º 11
0
    def __init__(self, assistant):
        OptionsPage.__init__(self, assistant)
        
        ccgui.ui.add_section_title(self, "Date/Time Settings")
        
        l = ccgui.ui.add_wrapped_label(self, "This option will completely remove the \"Date\" section, removing all clocks, "
                                     "date and calendar displays.")
        ccgui.ui.add_wide_control(self,l)
        
        self.nodata = ccgui.ui.add_check_button(self, "Disable \"Date\" section.")
        self.nodata.connect("toggled", self.on_date_toggled)
        ccgui.ui.add_wide_control(self, self.nodata)
        
        
        ccgui.ui.add_divider(self)        
        ccgui.ui.add_section_title(self, "Clock")
        l = ccgui.ui.add_label(self, "Disabling the clock will still show todays date.")
        ccgui.ui.add_wide_control(self,l)
        
        
        l = ccgui.ui.add_label(self, "Clock Mode:")
        self.clockstyles = Gtk.ListStore(str, str)
        self.clockstyles.append(["Disabled", "off"])
        self.clockstyles.append(["Classic", "classic"])
        self.clockstyles.append(["Default", "default"])
        self.clockstyles.append(["Digital", "digital"])
        self.clockstyles.append(["Lucky", "lucky"])
        self.clockstyles.append(["Modern", "modern"])
        self.clockstyles.append(["Slim", "slim"])
        self.clock = Gtk.ComboBoxText(halign = Gtk.Align.START,
                                      hexpand=True)
        self.clock.set_model(self.clockstyles)
        self.clock.set_active(2)
        ccgui.ui.add_row(self, l, self.clock)
        
        ccgui.ui.add_divider(self)        
        ccgui.ui.add_section_title(self, "Calendar")
        l = ccgui.ui.add_label(self, "This feature will show a calendar displaying the current month.")
        ccgui.ui.add_wide_control(self,l)
        
        
        l = ccgui.ui.add_label(self, "Calendar Mode:")
        self.calendarstyles = Gtk.ListStore(str, str)
        self.calendarstyles.append(["Disabled", ""])
        self.calendarstyles.append(["Enabled", " --calendar"])
        self.calendarstyles.append(["Enabled with Monday as first day", " --calendarm"])
        self.calendarstyles.append(["Enabled with Zim support", " --calendarzim"])
        self.calendar = Gtk.ComboBoxText(halign = Gtk.Align.START,
                                      hexpand=True)
        self.calendar.set_model(self.calendarstyles)
        self.calendar.set_active(0)
        ccgui.ui.add_row(self, l, self.calendar)


        ccgui.ui.add_divider(self)        
        ccgui.ui.add_section_title(self, "Task List")
        l = ccgui.ui.add_wrapped_label(self, "This feature allows you to display a basic to-do list within the Conky display.\n"
                                             "Type \"ct help\" in to a terminal window for more information.")
        ccgui.ui.add_wide_control(self,l)   
        self.task = ccgui.ui.add_check_button(self, "Enable task list.") 
        ccgui.ui.add_wide_control(self, self.task)