background: Come up with 'Wallpapers' selected and displayed
https://bugzilla.gnome.org/show_bug.cgi?id=630417
This commit is contained in:
parent
96bf6098fc
commit
c55ec39f81
2 changed files with 3 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue