Commit 3edf26b5b334aac8e11e7d0eb1e567e3940bffa1
1 parent
2ce8f403
Exists in
master
and in
1 other branch
Refactoring host settings dialog.
Showing
2 changed files
with
4 additions
and
5 deletions
Show diff stats
src/dialogs/settings/url.c
... | ... | @@ -120,7 +120,6 @@ |
120 | 120 | widget->entry.host = gtk_entry_new(); |
121 | 121 | gtk_widget_set_hexpand(widget->entry.host,TRUE); |
122 | 122 | gtk_entry_set_width_chars(GTK_ENTRY(widget->entry.host),50); |
123 | - gtk_entry_set_placeholder_text(GTK_ENTRY(widget->entry.host),_("The tn3270 host name")); | |
124 | 123 | gtk_widget_set_tooltip_text(widget->entry.host,g_dgettext(GETTEXT_PACKAGE,labels[0].tooltip)); |
125 | 124 | gtk_grid_attach(GTK_GRID(widget),widget->entry.host,1,0,5,1); |
126 | 125 | } | ... | ... |
src/terminal/keyboard/accelerator.c
... | ... | @@ -160,24 +160,24 @@ |
160 | 160 | |
161 | 161 | switch(accel->type) { |
162 | 162 | case V3270_ACCELERATOR_TYPE_LIB3270_ACTION: |
163 | - debug("%s","V3270_ACCELERATOR_TYPE_LIB3270_ACTION"); | |
163 | +// debug("%s","V3270_ACCELERATOR_TYPE_LIB3270_ACTION"); | |
164 | 164 | description = lib3270_property_get_summary(property); |
165 | 165 | break; |
166 | 166 | |
167 | 167 | case V3270_ACCELERATOR_TYPE_LIB3270_TOGGLE: |
168 | - debug("%s","V3270_ACCELERATOR_TYPE_LIB3270_TOGGLE"); | |
168 | +// debug("%s","V3270_ACCELERATOR_TYPE_LIB3270_TOGGLE"); | |
169 | 169 | description = lib3270_property_get_summary(property); |
170 | 170 | break; |
171 | 171 | |
172 | 172 | case V3270_ACCELERATOR_TYPE_INTERNAL: |
173 | - debug("%s","V3270_ACCELERATOR_TYPE_INTERNAL"); | |
173 | +// debug("%s","V3270_ACCELERATOR_TYPE_INTERNAL"); | |
174 | 174 | if(property->summary) |
175 | 175 | description = g_dgettext(GETTEXT_PACKAGE,property->summary); |
176 | 176 | break; |
177 | 177 | |
178 | 178 | } |
179 | 179 | |
180 | - debug("%s=%s",__FUNCTION__,description); | |
180 | +// debug("%s=%s",__FUNCTION__,description); | |
181 | 181 | |
182 | 182 | if(description && *description) |
183 | 183 | return description; | ... | ... |