mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-09 21:12:07 +03:00
*** empty log message ***
This commit is contained in:
parent
8dba03420e
commit
24116079fb
@ -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);
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user