X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gtk%2Fxoptions.c;h=f64bc7f0649b2135a194b4b3551b7f17372397dd;hb=5f43600abc12449a5af5d7d8a4f12cdd88a40c99;hp=e9e7a0a283b28a88ef1afd133568ec02495d5017;hpb=2732b225cfe95593069878951f7ae32d23b9be0f;p=xboard.git diff --git a/gtk/xoptions.c b/gtk/xoptions.c index e9e7a0a..f64bc7f 100644 --- a/gtk/xoptions.c +++ b/gtk/xoptions.c @@ -1452,7 +1452,7 @@ if(appData.debugMode) printf("n=%d, h=%d, w=%d\n",n,height,width); } else if (option[i].type == FileName || option[i].type == PathName) { gtk_table_attach(GTK_TABLE(table), entry, left+1, left+2, top, top+1, GTK_FILL | GTK_EXPAND, GTK_FILL, 2, 1); - button = gtk_button_new_with_label ("Browse"); + button = gtk_button_new_with_label (_("Browse")); gtk_table_attach(GTK_TABLE(table), button, left+2, left+r, top, top+1, GTK_FILL, GTK_FILL, 2, 1); // Browse button does not expand g_signal_connect (button, "clicked", G_CALLBACK (BrowseGTK), (gpointer)(intptr_t) i); option[i].handle = (void*)entry; @@ -1493,7 +1493,7 @@ if(appData.debugMode) printf("n=%d, h=%d, w=%d\n",n,height,width); gtk_widget_add_events(GTK_WIDGET(label), GDK_BUTTON_PRESS_MASK); if(option[i].target) g_signal_connect(label, "button-press-event", G_CALLBACK(MemoEvent), (gpointer) &option[i]); -// else g_signal_connect(label, "button-press-event", G_CALLBACK(HelpEvent), (gpointer) option[i].name); + else g_signal_connect(label, "button-press-event", G_CALLBACK(HelpEvent), (gpointer) option[i].name); gtk_widget_set_sensitive(label, TRUE); } Pack(hbox, table, label, left, left+r, top, 0);