sharing: Set new shared folder visible as soon as it gets added
When adding a Shared Folder row to the listbox, we were not settings
it to visible. Causing it to be hidden until the next time the panel
gets populated.
Fixes #580
(cherry picked from commit 1b81221092
)
This commit is contained in:
parent
f6b665625f
commit
70631e9b23
1 changed files with 1 additions and 0 deletions
|
@ -464,6 +464,7 @@ cc_sharing_panel_add_folder (GtkListBox *box,
|
|||
row = cc_sharing_panel_new_media_sharing_row (folder, self);
|
||||
i = g_list_length (rows);
|
||||
gtk_list_box_insert (GTK_LIST_BOX (self->shared_folders_listbox), row, i - 1);
|
||||
gtk_widget_set_visible (row, TRUE);
|
||||
}
|
||||
cc_list_box_adjust_scrolling (GTK_LIST_BOX (self->shared_folders_listbox));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue