From e4246b5ea5d23569eb6b0e037b2f09f306ce3754 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Fri, 20 Mar 2026 16:03:03 +0600 Subject: [PATCH] Fixed pacman page search entry; Fixed pacman page search entry focus --- source/ubinstall-gtk-components.c | 2 ++ ubinstall-gtk.glade | 1 + 2 files changed, 3 insertions(+) diff --git a/source/ubinstall-gtk-components.c b/source/ubinstall-gtk-components.c index e7b0a4f..d12c37f 100644 --- a/source/ubinstall-gtk-components.c +++ b/source/ubinstall-gtk-components.c @@ -636,6 +636,8 @@ void *yon_pacman_load(struct pacman_struct *pacman){ void on_pacman_search_enter(GtkEntry *self, main_window *widgets){ on_pacman_icon_press(self,GTK_ENTRY_ICON_SECONDARY,NULL,widgets); + while (gtk_events_pending()) gtk_main_iteration(); + gtk_widget_grab_focus(widgets->PacmanSoftwareSearchEntry); } void on_pacman_icon_press(GtkEntry *self,GtkEntryIconPosition icon_pos,GdkEvent* ,main_window *widgets){ diff --git a/ubinstall-gtk.glade b/ubinstall-gtk.glade index ea93f12..73efc41 100644 --- a/ubinstall-gtk.glade +++ b/ubinstall-gtk.glade @@ -3524,6 +3524,7 @@ Select a different installation source. True True False + com.ublinux.libublsettingsui-gtk3.zoom-symbolic Search