Commit d5404886af8a7aa62886942892fc169318b728d5
1 parent
68fa26a0
Exists in
v5.2
Fixing clipboard options.
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
src/pw3270/actions.c
... | ... | @@ -199,19 +199,19 @@ static void reload_action(GtkAction *action, GtkWidget *widget) |
199 | 199 | |
200 | 200 | static void do_copy(GtkAction *action, GtkWidget *widget, gboolean cut) |
201 | 201 | { |
202 | - V3270_SELECT_FORMAT mode = V3270_SELECT_TEXT; | |
203 | - const gchar * str = (const gchar *) g_object_get_data(G_OBJECT(action),"format"); | |
202 | + V3270_COPY_MODE mode = V3270_COPY_TEXT; | |
203 | + const gchar * str = (const gchar *) g_object_get_data(G_OBJECT(action),"format"); | |
204 | 204 | |
205 | 205 | if(str) |
206 | 206 | { |
207 | 207 | static const struct _format |
208 | 208 | { |
209 | - V3270_SELECT_FORMAT mode; | |
209 | + V3270_COPY_MODE mode; | |
210 | 210 | const gchar * name; |
211 | 211 | } format[] = |
212 | 212 | { |
213 | - { V3270_SELECT_TEXT, "text" }, | |
214 | - { V3270_SELECT_TABLE, "table" }, | |
213 | + { V3270_COPY_TEXT, "text" }, | |
214 | + { V3270_COPY_TABLE, "table" }, | |
215 | 215 | }; |
216 | 216 | |
217 | 217 | int f; | ... | ... |