*** empty log message ***

This commit is contained in:
Miguel de Icaza 1998-05-26 05:01:24 +00:00
parent 8dba03420e
commit 24116079fb
4 changed files with 12 additions and 3 deletions

View File

@ -1389,6 +1389,12 @@ panel_create_icon_display (WPanel *panel)
icon_field = GNOME_ICON_LIST (gnome_icon_list_new ()); icon_field = GNOME_ICON_LIST (gnome_icon_list_new ());
gnome_icon_list_set_separators (icon_field, " /-_."); gnome_icon_list_set_separators (icon_field, " /-_.");
gnome_icon_list_set_row_spacing (icon_field, 2);
gnome_icon_list_set_col_spacing (icon_field, 2);
gnome_icon_list_set_icon_border (icon_field, 2);
gnome_icon_list_set_text_spacing (icon_field, 2);
icon_field->desired_text_width = 100;
gnome_icon_list_set_selection_mode (icon_field, GTK_SELECTION_MULTIPLE); gnome_icon_list_set_selection_mode (icon_field, GTK_SELECTION_MULTIPLE);

View File

@ -260,6 +260,7 @@ entry_release (GtkEditable *entry, GdkEvent *event, WInput *in)
in->point = entry->current_pos; in->point = entry->current_pos;
in->mark = (entry->current_pos == entry->selection_start_pos) ? in->mark = (entry->current_pos == entry->selection_start_pos) ?
entry->selection_end_pos : entry->selection_start_pos; entry->selection_end_pos : entry->selection_start_pos;
if (in->point != in->mark)
in->first = 1; in->first = 1;
} }

View File

@ -12,7 +12,7 @@ void flush_extension_file (void);
# define MC_USER_EXT "mc.ext" # define MC_USER_EXT "mc.ext"
# define MC_LIB_EXT "mc.ext" # define MC_LIB_EXT "mc.ext"
#else #else
# define MC_USER_EXT ".mc/ext" # define MC_USER_EXT ".mc/ext-n"
# define MC_LIB_EXT "mc.ext" # define MC_LIB_EXT "mc.ext"
#endif #endif
#endif #endif

View File

@ -1536,7 +1536,10 @@ is_in_input_map (WInput *in, int c_code)
static void static void
port_region_marked_for_delete (WInput *in) port_region_marked_for_delete (WInput *in)
{ {
if (in->first == 1 && (in->point == in->mark))
in->point = strlen (in->buffer);
kill_region (in); kill_region (in);
in->first = 0;
} }
#else #else
static void static void
@ -1731,7 +1734,6 @@ input_new (int y, int x, int color, int len, char *def_text, char *tkname)
strcpy (in->buffer, def_text); strcpy (in->buffer, def_text);
in->point = strlen (in->buffer); in->point = strlen (in->buffer);
in->first = 1;
return in; return in;
} }