~ubuntu-branches/ubuntu/precise/gnome-games/precise-proposed

« back to all changes in this revision

Viewing changes to lightsoff/src/Settings.js

  • Committer: Package Import Robot
  • Author(s): Rodrigo Moya
  • Date: 2011-05-30 13:32:04 UTC
  • mfrom: (1.3.4)
  • mto: (163.1.3 precise)
  • mto: This revision was merged to the branch mainline in revision 143.
  • Revision ID: package-import@ubuntu.com-20110530133204-celaq1v1dsxc48q1
Tags: upstream-3.0.2
ImportĀ upstreamĀ versionĀ 3.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
        use_theme_colors = gconf_client.get_bool("/apps/lightsoff/use_theme_colors");
23
23
        
24
24
        if(theme == null)
25
 
                theme = default_theme_name;
 
25
                theme_name = default_theme_name;
26
26
}
27
27
catch(e)
28
28
{
157
157
 
158
158
function populate_theme_selector(selector)
159
159
{
160
 
        // Since we're using GtkBuilder, we can't make a Gtk.ComboBox.text. Instead,
161
 
        // we'll construct the cell renderer here, once, and use that.
162
 
        var cell = new Gtk.CellRendererText();
163
 
        selector.pack_start(cell, true);
164
 
        selector.add_attribute(cell, "text", 0);
165
 
 
166
160
        var i = 0;
167
161
 
168
162
        for(var th in themes)