Commit 648d26e3e32633d49a85ca17ec1dab86e47c7a11

Authored by Perry Werneck
1 parent 528ccfbf
Exists in master and in 1 other branch develop

Removing default service name.

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
src/dialogs/settings/host.c
... ... @@ -226,7 +226,7 @@
226 226 .grid = CONNECTION,
227 227  
228 228 .label = N_( "_Service" ),
229   - .tooltip = N_("Port or service name (empty for \"telnet\")."),
  229 + .tooltip = N_("Port or service name."),
230 230 .max_length = 6,
231 231 .width_chars = 7,
232 232 },
... ... @@ -487,7 +487,7 @@ static void V3270HostSelectWidget_init(V3270HostSelectWidget *widget)
487 487 v3270_settings_create_entry_fields(entryfields, G_N_ELEMENTS(entryfields), grids, widget->input.entry);
488 488  
489 489 // Custom settings
490   - gtk_entry_set_placeholder_text(widget->input.entry[ENTRY_SRVCNAME],"telnet");
  490 + // gtk_entry_set_placeholder_text(widget->input.entry[ENTRY_SRVCNAME],"telnet");
491 491  
492 492 gtk_widget_set_hexpand(GTK_WIDGET(widget->input.entry[ENTRY_HOSTNAME]),TRUE);
493 493 gtk_widget_set_hexpand(GTK_WIDGET(widget->input.entry[ENTRY_REMAP_FILE]),TRUE);
... ... @@ -796,7 +796,7 @@ static void load(GtkWidget *w, GtkWidget *terminal)
796 796 }
797 797 else
798 798 {
799   - srvcname = "telnet";
  799 + srvcname = "23";
800 800 }
801 801  
802 802 gtk_entry_set_text(widget->input.entry[ENTRY_HOSTNAME],hostname);
... ...