background: Come up with 'Wallpapers' selected and displayed

https://bugzilla.gnome.org/show_bug.cgi?id=630417
This commit is contained in:
Kalev Lember 2010-09-23 20:48:20 +03:00 committed by Bastien Nocera
parent 96bf6098fc
commit c55ec39f81
2 changed files with 3 additions and 1 deletions

View file

@ -70,7 +70,6 @@
<object class="GtkComboBox" id="sources-combobox">
<property name="visible">True</property>
<property name="model">sources-liststore</property>
<property name="active">0</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext2"/>
<attributes>

View file

@ -676,6 +676,9 @@ cc_background_panel_init (CcBackgroundPanel *self)
widget = WID ("sources-combobox");
g_signal_connect (widget, "changed", G_CALLBACK (source_changed_cb), priv);
/* select first item */
gtk_combo_box_set_active (GTK_COMBO_BOX (widget), 0);
/* connect to the background iconview change signal */
widget = WID ("backgrounds-iconview");
g_signal_connect (widget, "selection-changed",