Lines 98-105
xfae_dialog_init (XfaeDialog *dialog)
Link Here
|
98 |
dialog->name_entry = g_object_new (GTK_TYPE_ENTRY, |
98 |
dialog->name_entry = g_object_new (GTK_TYPE_ENTRY, |
99 |
"activates-default", TRUE, |
99 |
"activates-default", TRUE, |
100 |
NULL); |
100 |
NULL); |
101 |
g_signal_connect_swapped (G_OBJECT (dialog->name_entry), "notify::text", |
101 |
|
102 |
G_CALLBACK (xfae_dialog_update), dialog); |
|
|
103 |
gtk_grid_attach (GTK_GRID (grid), dialog->name_entry, 1, 0, 1, 1); |
102 |
gtk_grid_attach (GTK_GRID (grid), dialog->name_entry, 1, 0, 1, 1); |
104 |
gtk_widget_show (dialog->name_entry); |
103 |
gtk_widget_show (dialog->name_entry); |
105 |
|
104 |
|
Lines 132-142
xfae_dialog_init (XfaeDialog *dialog)
Link Here
|
132 |
dialog->command_entry = g_object_new (GTK_TYPE_ENTRY, |
131 |
dialog->command_entry = g_object_new (GTK_TYPE_ENTRY, |
133 |
"activates-default", TRUE, |
132 |
"activates-default", TRUE, |
134 |
NULL); |
133 |
NULL); |
135 |
g_signal_connect_swapped (G_OBJECT (dialog->command_entry), "notify::text", |
134 |
|
136 |
G_CALLBACK (xfae_dialog_update), dialog); |
|
|
137 |
gtk_box_pack_start (GTK_BOX (hbox), dialog->command_entry, TRUE, TRUE, 0); |
135 |
gtk_box_pack_start (GTK_BOX (hbox), dialog->command_entry, TRUE, TRUE, 0); |
138 |
gtk_widget_show (dialog->command_entry); |
136 |
gtk_widget_show (dialog->command_entry); |
139 |
|
137 |
|
|
|
138 |
g_signal_connect_swapped (G_OBJECT (dialog->name_entry), "notify::text", |
139 |
G_CALLBACK (xfae_dialog_update), dialog); |
140 |
g_signal_connect_swapped (G_OBJECT (dialog->command_entry), "notify::text", |
141 |
G_CALLBACK (xfae_dialog_update), dialog); |
142 |
|
140 |
button = g_object_new (GTK_TYPE_BUTTON, |
143 |
button = g_object_new (GTK_TYPE_BUTTON, |
141 |
"can-default", FALSE, |
144 |
"can-default", FALSE, |
142 |
NULL); |
145 |
NULL); |