summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkstatusstack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkext/gtkstatusstack.c')
-rw-r--r--src/gtkext/gtkstatusstack.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gtkext/gtkstatusstack.c b/src/gtkext/gtkstatusstack.c
index 0bcb903..1765eaf 100644
--- a/src/gtkext/gtkstatusstack.c
+++ b/src/gtkext/gtkstatusstack.c
@@ -35,6 +35,7 @@
#include "easygtk.h"
#include "../common/extstr.h"
+#include "../gui/agroup.h"
#include "../format/format.h"
@@ -414,6 +415,8 @@ static GtkWidget *build_assembly_status_stack(GtkStatusStack *stack)
zoom = qck_create_entry(ref, "zoom", "100%");
gtk_entry_set_icon_from_icon_name(GTK_ENTRY(zoom), GTK_ENTRY_ICON_SECONDARY, "go-up-symbolic");
+ g_signal_connect(zoom, "focus-in-event", G_CALLBACK(track_focus_change_in_text_area), NULL);
+ g_signal_connect(zoom, "focus-out-event", G_CALLBACK(track_focus_change_in_text_area), NULL);
g_signal_connect(zoom, "icon-press", G_CALLBACK(on_zoom_icon_press), stack);
gtk_box_pack_start(GTK_BOX(hbox), zoom, FALSE, TRUE, 0);