* textconf.h: Get rid of all PORT_HAS_*. Adjust all users.
Continued eliminating GNOME code.
Этот коммит содержится в:
родитель
0a4aa53f65
Коммит
f2e38b2c3a
@ -1,5 +1,8 @@
|
|||||||
2001-09-15 Pavel Roskin <proski@gnu.org>
|
2001-09-15 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* textconf.h: Get rid of all PORT_HAS_*. Adjust all users.
|
||||||
|
Continued eliminating GNOME code.
|
||||||
|
|
||||||
* cmd.c: Clean up unused GNOME code and some ifdef's.
|
* cmd.c: Clean up unused GNOME code and some ifdef's.
|
||||||
* dlg.c: Likewise.
|
* dlg.c: Likewise.
|
||||||
* dlg.h: Likewise.
|
* dlg.h: Likewise.
|
||||||
|
@ -171,7 +171,6 @@ check_progress_buttons (FileOpContext *ctx)
|
|||||||
|
|
||||||
ui = ctx->ui;
|
ui = ctx->ui;
|
||||||
|
|
||||||
x_flush_events ();
|
|
||||||
event.x = -1; /* Don't show the GPM cursor */
|
event.x = -1; /* Don't show the GPM cursor */
|
||||||
c = get_event (&event, 0, 0);
|
c = get_event (&event, 0, 0);
|
||||||
if (c == EV_NONE)
|
if (c == EV_NONE)
|
||||||
|
@ -9,9 +9,7 @@ int get_event (Gpm_Event *event, int redo_event, int block);
|
|||||||
int is_idle (void);
|
int is_idle (void);
|
||||||
int ctrl_pressed (void);
|
int ctrl_pressed (void);
|
||||||
|
|
||||||
#ifndef PORT_HAS_GETCH
|
|
||||||
int mi_getch (void);
|
int mi_getch (void);
|
||||||
#endif
|
|
||||||
/* Possible return values from get_event: */
|
/* Possible return values from get_event: */
|
||||||
#define EV_MOUSE -2
|
#define EV_MOUSE -2
|
||||||
#define EV_NONE -1
|
#define EV_NONE -1
|
||||||
|
@ -439,7 +439,6 @@ panel_clean_dir (WPanel *panel)
|
|||||||
clean_dir (&panel->dir, count);
|
clean_dir (&panel->dir, count);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef PORT_HAS_UPDATE_PANELS
|
|
||||||
static void
|
static void
|
||||||
update_one_panel (int which, int force_update, char *current_file)
|
update_one_panel (int which, int force_update, char *current_file)
|
||||||
{
|
{
|
||||||
@ -477,7 +476,6 @@ update_panels (int force_update, char *current_file)
|
|||||||
|
|
||||||
mc_chdir (panel->cwd);
|
mc_chdir (panel->cwd);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef WANT_PARSE
|
#ifdef WANT_PARSE
|
||||||
static void select_by_index (WPanel *panel, int i);
|
static void select_by_index (WPanel *panel, int i);
|
||||||
@ -1361,7 +1359,6 @@ toggle_align_extensions (void)
|
|||||||
* Just a hack for allowing url-like pathnames to be accepted from the
|
* Just a hack for allowing url-like pathnames to be accepted from the
|
||||||
* command line.
|
* command line.
|
||||||
*/
|
*/
|
||||||
#ifndef PORT_HAS_CREATE_PANELS
|
|
||||||
static void
|
static void
|
||||||
translated_mc_chdir (char *dir)
|
translated_mc_chdir (char *dir)
|
||||||
{
|
{
|
||||||
@ -1437,7 +1434,6 @@ create_panels (void)
|
|||||||
|
|
||||||
the_menubar = menubar_new (0, 0, COLS, MenuBar, 5);
|
the_menubar = menubar_new (0, 0, COLS, MenuBar, 5);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
static void copy_current_pathname (void)
|
static void copy_current_pathname (void)
|
||||||
{
|
{
|
||||||
@ -1988,7 +1984,6 @@ midnight_callback (struct Dlg_head *h, int id, int msg)
|
|||||||
|
|
||||||
#define xtoolkit_panel_setup()
|
#define xtoolkit_panel_setup()
|
||||||
|
|
||||||
#ifndef PORT_HAS_LOAD_HINT
|
|
||||||
void load_hint (void)
|
void load_hint (void)
|
||||||
{
|
{
|
||||||
char *hint;
|
char *hint;
|
||||||
@ -2010,7 +2005,6 @@ void load_hint (void)
|
|||||||
" (C) 1995-1997 the Free Software Foundation");
|
" (C) 1995-1997 the Free Software Foundation");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
setup_panels_and_run_mc (void)
|
setup_panels_and_run_mc (void)
|
||||||
|
58
src/screen.c
58
src/screen.c
@ -77,26 +77,13 @@ Hook *select_file_hook = 0;
|
|||||||
|
|
||||||
static int panel_callback (Dlg_head *h, WPanel *p, int Msg, int Par);
|
static int panel_callback (Dlg_head *h, WPanel *p, int Msg, int Par);
|
||||||
|
|
||||||
#ifndef HAVE_X
|
|
||||||
static int panel_event (Gpm_Event *event, WPanel *panel);
|
static int panel_event (Gpm_Event *event, WPanel *panel);
|
||||||
#else
|
|
||||||
#define panel_event NULL
|
|
||||||
#endif /* HAVE_X */
|
|
||||||
|
|
||||||
#ifndef PORT_HAS_PANEL_ADJUST_TOP_FILE
|
#define x_adjust_top_file(p)
|
||||||
# define x_adjust_top_file(p)
|
#define x_reset_sort_labels(x)
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef PORT_HAS_PANEL_RESET_SORT_LABELS
|
|
||||||
# define x_reset_sort_labels(x)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* This macro extracts the number of available lines in a panel */
|
/* This macro extracts the number of available lines in a panel */
|
||||||
#ifndef PORT_HAS_LLINES
|
|
||||||
#define llines(p) (p->widget.lines-3 - (show_mini_info ? 2 : 0))
|
#define llines(p) (p->widget.lines-3 - (show_mini_info ? 2 : 0))
|
||||||
#else
|
|
||||||
#define llines(p) (p->widget.lines)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef PORT_NOT_FOCUS_SELECT_ITEM
|
#ifdef PORT_NOT_FOCUS_SELECT_ITEM
|
||||||
# define focus_select_item(x)
|
# define focus_select_item(x)
|
||||||
@ -577,7 +564,6 @@ format_file (char *dest, WPanel *panel, int file_index, int width, int attr, int
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef HAVE_X
|
|
||||||
void
|
void
|
||||||
repaint_file (WPanel *panel, int file_index, int mv, int attr, int isstatus)
|
repaint_file (WPanel *panel, int file_index, int mv, int attr, int isstatus)
|
||||||
{
|
{
|
||||||
@ -619,9 +605,7 @@ repaint_file (WPanel *panel, int file_index, int mv, int attr, int isstatus)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef PORT_HAS_DISPLAY_MINI_INFO
|
|
||||||
void
|
void
|
||||||
display_mini_info (WPanel *panel)
|
display_mini_info (WPanel *panel)
|
||||||
{
|
{
|
||||||
@ -682,9 +666,7 @@ display_mini_info (WPanel *panel)
|
|||||||
repaint_file (panel, panel->selected, 0, STATUS, 1);
|
repaint_file (panel, panel->selected, 0, STATUS, 1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef HAVE_X
|
|
||||||
void
|
void
|
||||||
paint_dir (WPanel *panel)
|
paint_dir (WPanel *panel)
|
||||||
{
|
{
|
||||||
@ -706,11 +688,7 @@ paint_dir (WPanel *panel)
|
|||||||
standend ();
|
standend ();
|
||||||
panel->dirty = 0;
|
panel->dirty = 0;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_X
|
|
||||||
#define mini_info_separator(x)
|
|
||||||
#else
|
|
||||||
static void
|
static void
|
||||||
mini_info_separator (WPanel *panel)
|
mini_info_separator (WPanel *panel)
|
||||||
{
|
{
|
||||||
@ -774,9 +752,7 @@ show_dir (WPanel *panel)
|
|||||||
if (panel->active)
|
if (panel->active)
|
||||||
standend ();
|
standend ();
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef PORT_HAS_PAINT_FRAME
|
|
||||||
/* To be used only by long_frame and full_frame to adjust top_file */
|
/* To be used only by long_frame and full_frame to adjust top_file */
|
||||||
static void
|
static void
|
||||||
adjust_top_file (WPanel *panel)
|
adjust_top_file (WPanel *panel)
|
||||||
@ -788,7 +764,6 @@ adjust_top_file (WPanel *panel)
|
|||||||
if (old_top - panel->count > llines (panel))
|
if (old_top - panel->count > llines (panel))
|
||||||
panel->top_file = panel->count - llines (panel);
|
panel->top_file = panel->count - llines (panel);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Repaints the information that changes after a command */
|
/* Repaints the information that changes after a command */
|
||||||
void
|
void
|
||||||
@ -854,7 +829,6 @@ Xtry_to_select (WPanel *panel, char *name)
|
|||||||
g_free (subdir);
|
g_free (subdir);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef PORT_HAS_PANEL_UPDATE_COLS
|
|
||||||
void
|
void
|
||||||
panel_update_cols (Widget *widget, int frame_size)
|
panel_update_cols (Widget *widget, int frame_size)
|
||||||
{
|
{
|
||||||
@ -881,7 +855,6 @@ panel_update_cols (Widget *widget, int frame_size)
|
|||||||
widget->cols = cols;
|
widget->cols = cols;
|
||||||
widget->x = origin;
|
widget->x = origin;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
panel_save_name (WPanel *panel)
|
panel_save_name (WPanel *panel)
|
||||||
@ -1065,7 +1038,6 @@ panel_reload (WPanel *panel)
|
|||||||
recalculate_panel_summary (panel);
|
recalculate_panel_summary (panel);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef PORT_HAS_PAINT_FRAME
|
|
||||||
void
|
void
|
||||||
paint_frame (WPanel *panel)
|
paint_frame (WPanel *panel)
|
||||||
{
|
{
|
||||||
@ -1124,7 +1096,6 @@ paint_frame (WPanel *panel)
|
|||||||
printw ("%*s", width, "");
|
printw ("%*s", width, "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
parse_panel_size (WPanel *panel, char *format, int isstatus)
|
parse_panel_size (WPanel *panel, char *format, int isstatus)
|
||||||
@ -2449,27 +2420,6 @@ file_mark (WPanel *panel, int index, int val)
|
|||||||
x_panel_select_item (panel, index, val);
|
x_panel_select_item (panel, index, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_X
|
|
||||||
sortfn *
|
|
||||||
get_sort_fn (char *name)
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
|
|
||||||
/* First, try the long name options, from dir.c */
|
|
||||||
for (i = 0; i < SORT_TYPES_TOTAL; i++)
|
|
||||||
if (strcmp (name, sort_orders [i].sort_name) == 0)
|
|
||||||
return (sortfn *)sort_orders [i].sort_fn;
|
|
||||||
|
|
||||||
/* Then try the short name options, from our local table */
|
|
||||||
for (i = 0; i < ELEMENTS (formats); i++){
|
|
||||||
if (strcmp (name, formats [i].id) == 0 && formats [i].sort_routine)
|
|
||||||
return formats [i].sort_routine;
|
|
||||||
}
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
/* */
|
/* */
|
||||||
/* Panel mouse events support routines */
|
/* Panel mouse events support routines */
|
||||||
/* */
|
/* */
|
||||||
@ -2574,14 +2524,10 @@ panel_event (Gpm_Event *event, WPanel *panel)
|
|||||||
}
|
}
|
||||||
return MOU_NORMAL;
|
return MOU_NORMAL;
|
||||||
}
|
}
|
||||||
#endif /* !HAVE_X */
|
|
||||||
|
|
||||||
void
|
void
|
||||||
panel_update_marks (WPanel *panel)
|
panel_update_marks (WPanel *panel)
|
||||||
{
|
{
|
||||||
#ifdef PORT_HAS_UPDATE_MARKS
|
|
||||||
x_panel_update_marks (panel);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -311,7 +311,6 @@ save_configure (void)
|
|||||||
g_free (profile);
|
g_free (profile);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef PORT_HAS_SAVE_PANEL_TYPES
|
|
||||||
static void
|
static void
|
||||||
panel_save_type (char *section, int type)
|
panel_save_type (char *section, int type)
|
||||||
{
|
{
|
||||||
@ -339,7 +338,6 @@ save_panel_types ()
|
|||||||
if (type == view_listing)
|
if (type == view_listing)
|
||||||
panel_save_setup (right_panel, right_panel->panel_name);
|
panel_save_setup (right_panel, right_panel->panel_name);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
void
|
void
|
||||||
save_setup (void)
|
save_setup (void)
|
||||||
@ -407,10 +405,10 @@ panel_load_setup (WPanel *panel, char *section)
|
|||||||
panel->list_type = list_types [i].list_type;
|
panel->list_type = list_types [i].list_type;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#ifndef PORT_HAS_ICON_VIEW
|
|
||||||
if (panel->list_type == list_icons)
|
if (panel->list_type == list_icons)
|
||||||
panel->list_type = list_full;
|
panel->list_type = list_full;
|
||||||
#endif
|
|
||||||
/* User formats */
|
/* User formats */
|
||||||
if (panel->user_format){
|
if (panel->user_format){
|
||||||
g_free (panel->user_format);
|
g_free (panel->user_format);
|
||||||
|
@ -3,11 +3,7 @@
|
|||||||
|
|
||||||
/* Features of the text mode edition */
|
/* Features of the text mode edition */
|
||||||
|
|
||||||
#define COMPUTE_FORMAT_ALLOCATIONS 1
|
|
||||||
#define PORT_WIDGET_WANTS_HISTORY 1
|
|
||||||
#define PORT_NEEDS_CHANGE_SCREEN_SIZE 1
|
|
||||||
#define x_flush_events()
|
#define x_flush_events()
|
||||||
#define port_shutdown_extra_fds()
|
|
||||||
|
|
||||||
extern void version (int verbose);
|
extern void version (int verbose);
|
||||||
|
|
||||||
|
@ -240,11 +240,6 @@ void save_stop_handler (void)
|
|||||||
}
|
}
|
||||||
#endif /* VFS_STANDALONE */
|
#endif /* VFS_STANDALONE */
|
||||||
|
|
||||||
#ifdef HAVE_GNOME
|
|
||||||
#define PORT_HAS_MY_SYSTEM 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef PORT_HAS_MY_SYSTEM
|
|
||||||
int my_system (int flags, const char *shell, const char *command)
|
int my_system (int flags, const char *shell, const char *command)
|
||||||
{
|
{
|
||||||
struct sigaction ignore, save_intr, save_quit, save_stop;
|
struct sigaction ignore, save_intr, save_quit, save_stop;
|
||||||
@ -310,7 +305,6 @@ int my_system (int flags, const char *shell, const char *command)
|
|||||||
|
|
||||||
return WEXITSTATUS(status);
|
return WEXITSTATUS(status);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Returns a newly allocated string, if directory does not exist, return 0 */
|
/* Returns a newly allocated string, if directory does not exist, return 0 */
|
||||||
char *tilde_expand (const char *directory)
|
char *tilde_expand (const char *directory)
|
||||||
|
32
src/view.c
32
src/view.c
@ -778,28 +778,17 @@ view_display_clean (WView *view, int height, int width)
|
|||||||
#define MARK_COLOR SELECTED_COLOR
|
#define MARK_COLOR SELECTED_COLOR
|
||||||
#define DEF_COLOR NORMAL_COLOR
|
#define DEF_COLOR NORMAL_COLOR
|
||||||
|
|
||||||
#ifndef PORT_HAS_VIEW_FREEZE
|
#define view_freeze(view)
|
||||||
# define view_freeze(view)
|
#define view_thaw(view)
|
||||||
# define view_thaw(view)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_GNOME
|
#define PICK_COLOR(a,b) a : b
|
||||||
# define PICK_COLOR(a,b) BOLD_COLOR : DEF_COLOR
|
#define STATUS_LINES 1
|
||||||
#else
|
|
||||||
# define PICK_COLOR(a,b) a : b
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Shows the file pointed to by *start_display on view_win */
|
/* Shows the file pointed to by *start_display on view_win */
|
||||||
static long
|
static long
|
||||||
display (WView *view)
|
display (WView *view)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_X
|
|
||||||
# define frame_shift 0
|
|
||||||
# define STATUS_LINES 0
|
|
||||||
#else
|
|
||||||
const int frame_shift = view->have_frame;
|
const int frame_shift = view->have_frame;
|
||||||
# define STATUS_LINES 1
|
|
||||||
#endif
|
|
||||||
int col = 0 + frame_shift;
|
int col = 0 + frame_shift;
|
||||||
int row = STATUS_LINES + frame_shift;
|
int row = STATUS_LINES + frame_shift;
|
||||||
int height, width;
|
int height, width;
|
||||||
@ -1540,19 +1529,6 @@ search (WView *view, char *text, int (*search)(WView *, char *, char *, int))
|
|||||||
update_activate = 0;
|
update_activate = 0;
|
||||||
|
|
||||||
for (; ; g_free (s)){
|
for (; ; g_free (s)){
|
||||||
#ifdef PORT_HAS_FLUSH_EVENTS
|
|
||||||
static int count;
|
|
||||||
|
|
||||||
if ((count++ % 32) == 0)
|
|
||||||
x_flush_events ();
|
|
||||||
#ifdef HAVE_GNOME
|
|
||||||
if (abort)
|
|
||||||
break;
|
|
||||||
#else
|
|
||||||
if (verbose && !d->running)
|
|
||||||
break;
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
if (p >= update_activate){
|
if (p >= update_activate){
|
||||||
update_activate += update_steps;
|
update_activate += update_steps;
|
||||||
if (verbose){
|
if (verbose){
|
||||||
|
44
src/widget.c
44
src/widget.c
@ -43,31 +43,21 @@
|
|||||||
#include "key.h" /* XCTRL and ALT macros */
|
#include "key.h" /* XCTRL and ALT macros */
|
||||||
#include "profile.h" /* for history loading and saving */
|
#include "profile.h" /* for history loading and saving */
|
||||||
|
|
||||||
#ifndef HAVE_X
|
#define x_create_button(a,b,c) 1
|
||||||
# define x_create_button(a,b,c) 1
|
#define x_create_radio(a,b,c) 1
|
||||||
# define x_create_radio(a,b,c) 1
|
#define x_create_check(a,b,c) 1
|
||||||
# define x_create_check(a,b,c) 1
|
#define x_create_label(a,b,c) 1
|
||||||
# define x_create_label(a,b,c) 1
|
#define x_create_input(a,b,c) 1
|
||||||
# define x_create_input(a,b,c) 1
|
#define x_create_listbox(a,b,c) 1
|
||||||
# define x_create_listbox(a,b,c) 1
|
#define x_create_buttonbar(a,b,c) 1
|
||||||
# define x_create_buttonbar(a,b,c) 1
|
#define x_create_gauge(a,b,c) 1
|
||||||
# define x_create_gauge(a,b,c) 1
|
#define x_listbox_select_nth(a,b)
|
||||||
# define x_listbox_select_nth(a,b)
|
#define x_list_insert(a,b,c)
|
||||||
# define x_list_insert(a,b,c)
|
#define x_redefine_label(a,b)
|
||||||
# define x_redefine_label(a,b)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef PORT_HAS_DESTROY_CMD
|
#define x_destroy_cmd(w)
|
||||||
# define x_destroy_cmd(w)
|
#define x_radio_focus_item(r)
|
||||||
#endif
|
#define x_radio_toggle(r)
|
||||||
|
|
||||||
#ifndef PORT_HAS_RADIO_FOCUS_ITEM
|
|
||||||
# define x_radio_focus_item(r)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef PORT_HAS_RADIO_TOGGLE
|
|
||||||
# define x_radio_toggle(r)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static int button_event (Gpm_Event *event, WButton *b);
|
static int button_event (Gpm_Event *event, WButton *b);
|
||||||
|
|
||||||
@ -924,7 +914,6 @@ Hist *history_get (char *input_name)
|
|||||||
|
|
||||||
void history_put (char *input_name, Hist *h)
|
void history_put (char *input_name, Hist *h)
|
||||||
{
|
{
|
||||||
#ifdef PORT_WIDGET_WANTS_HISTORY
|
|
||||||
int i;
|
int i;
|
||||||
char *profile;
|
char *profile;
|
||||||
|
|
||||||
@ -973,7 +962,6 @@ void history_put (char *input_name, Hist *h)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
g_free (profile);
|
g_free (profile);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* }}} history saving and loading */
|
/* }}} history saving and loading */
|
||||||
@ -1111,7 +1099,7 @@ input_destroy (WInput *in)
|
|||||||
if (in->history){
|
if (in->history){
|
||||||
Hist *current, *old;
|
Hist *current, *old;
|
||||||
|
|
||||||
if (!in->is_password && PORT_WIDGET_WANTS_HISTORY) /* don't save passwords ;-) */
|
if (!in->is_password) /* don't save passwords ;-) */
|
||||||
history_put (in->history_name, in->history);
|
history_put (in->history_name, in->history);
|
||||||
|
|
||||||
current = in->history;
|
current = in->history;
|
||||||
@ -1730,7 +1718,7 @@ input_new (int y, int x, int color, int len, const char *def_text, char *tkname)
|
|||||||
/* history setup */
|
/* history setup */
|
||||||
in->history = NULL;
|
in->history = NULL;
|
||||||
in->history_name = 0;
|
in->history_name = 0;
|
||||||
if (tkname && PORT_WIDGET_WANTS_HISTORY){
|
if (tkname) {
|
||||||
if (*tkname) {
|
if (*tkname) {
|
||||||
in->history_name = g_strdup (tkname);
|
in->history_name = g_strdup (tkname);
|
||||||
in->history = history_get (tkname);
|
in->history = history_get (tkname);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user