forked from AuroraMiddleware/gtk
emojichooser: Drop focus adjustment setting
It is not needed here, we are now scrolling differently.
This commit is contained in:
parent
6a4f788976
commit
323394e8b5
@ -772,15 +772,10 @@ setup_section (GtkEmojiChooser *chooser,
|
|||||||
const char *first,
|
const char *first,
|
||||||
const char *icon)
|
const char *icon)
|
||||||
{
|
{
|
||||||
GtkAdjustment *adj;
|
|
||||||
|
|
||||||
section->first = first;
|
section->first = first;
|
||||||
|
|
||||||
gtk_button_set_icon_name (GTK_BUTTON (section->button), icon);
|
gtk_button_set_icon_name (GTK_BUTTON (section->button), icon);
|
||||||
|
|
||||||
adj = gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (chooser->scrolled_window));
|
|
||||||
|
|
||||||
gtk_container_set_focus_vadjustment (GTK_CONTAINER (section->box), adj);
|
|
||||||
gtk_flow_box_disable_move_cursor (GTK_FLOW_BOX (section->box));
|
gtk_flow_box_disable_move_cursor (GTK_FLOW_BOX (section->box));
|
||||||
gtk_flow_box_set_filter_func (GTK_FLOW_BOX (section->box), filter_func, section, NULL);
|
gtk_flow_box_set_filter_func (GTK_FLOW_BOX (section->box), filter_func, section, NULL);
|
||||||
g_signal_connect_swapped (section->button, "clicked", G_CALLBACK (scroll_to_section), section);
|
g_signal_connect_swapped (section->button, "clicked", G_CALLBACK (scroll_to_section), section);
|
||||||
|
Loading…
Reference in New Issue
Block a user