Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yad
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
yad
Commits
a1fa7b4e
Unverified
Commit
a1fa7b4e
authored
Jan 07, 2023
by
Victor Ananjevsky
Committed by
GitHub
Jan 07, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #208 from step-/patch-3
fix form switch changed callback
parents
d42c8b71
e74b4336
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
form.c
src/form.c
+7
-1
No files found.
src/form.c
View file @
a1fa7b4e
...
...
@@ -472,6 +472,12 @@ field_changed_cb (GtkWidget *w, guint fn)
}
static
void
switch_changed_cb
(
GObject
*
obj
,
GParamSpec
*
spec
,
gpointer
data
)
{
field_changed_cb
(
obj
,
data
);
}
static
void
form_activate_cb
(
GtkEntry
*
entry
,
gpointer
data
)
{
if
(
options
.
plug
==
-
1
)
...
...
@@ -988,7 +994,7 @@ form_create_widget (GtkWidget * dlg)
gtk_widget_set_halign
(
e
,
GTK_ALIGN_START
);
/* prevent expanding widget (make it always compact) */
gtk_label_set_mnemonic_widget
(
GTK_LABEL
(
l
),
e
);
fields
=
g_slist_append
(
fields
,
e
);
g_signal_connect_after
(
G_OBJECT
(
e
),
"notify::active"
,
G_CALLBACK
(
field
_changed_cb
),
GINT_TO_POINTER
(
i
));
g_signal_connect_after
(
G_OBJECT
(
e
),
"notify::active"
,
G_CALLBACK
(
switch
_changed_cb
),
GINT_TO_POINTER
(
i
));
}
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment