search-panel: use clearer dialog function name
This commit is contained in:
parent
a82b5ac9ef
commit
9c6b5a0b36
2 changed files with 3 additions and 3 deletions
|
@ -284,7 +284,7 @@ row_moved_cb (CcSearchPanel *self,
|
|||
}
|
||||
|
||||
static void
|
||||
settings_row_activated (CcSearchPanel *self)
|
||||
show_search_locations_dialog (CcSearchPanel *self)
|
||||
{
|
||||
if (self->locations_dialog == NULL)
|
||||
{
|
||||
|
@ -694,6 +694,6 @@ cc_search_panel_class_init (CcSearchPanelClass *klass)
|
|||
gtk_widget_class_bind_template_child (widget_class, CcSearchPanel, search_group);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcSearchPanel, settings_row);
|
||||
|
||||
gtk_widget_class_bind_template_callback (widget_class, settings_row_activated);
|
||||
gtk_widget_class_bind_template_callback (widget_class, show_search_locations_dialog);
|
||||
gtk_widget_class_bind_template_callback (widget_class, keynav_failed_cb);
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<property name="subtitle" translatable="yes">Folders which are searched by system apps</property>
|
||||
<property name="activatable">True</property>
|
||||
<property name="show-arrow">True</property>
|
||||
<signal name="activated" handler="settings_row_activated" object="CcSearchPanel" swapped="yes"/>
|
||||
<signal name="activated" handler="show_search_locations_dialog" object="CcSearchPanel" swapped="yes"/>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
|
Loading…
Add table
Reference in a new issue