applications: Fix selecting an app using the command line
If I run `gnome-control-center applications org.freedesktop.Bustle` while g-c-c is already running and a different app is shown, Bustle will be selected in the list box, but the details panel won’t be updated to show it. Fix that by emitting the `activate` signal on the row, as is done everywhere else in `cc-applications-panel.c` when selecting a row. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
7b126a46a5
commit
a9d7b085df
1 changed files with 1 additions and 0 deletions
|
@ -1813,6 +1813,7 @@ select_app (CcApplicationsPanel *self,
|
|||
if (g_str_has_prefix (g_app_info_get_id (info), app_id))
|
||||
{
|
||||
gtk_list_box_select_row (self->sidebar_listbox, GTK_LIST_BOX_ROW (row));
|
||||
g_signal_emit_by_name (row, "activate");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue