Fri Apr 12 02:40:41 1998 Norbert Warmuth <k3190@fh-sw.de>

* gwidget.c (x_create_input): return 1 if the widget has been
        initialized manually (there was no return value)

        (x_create_buttonbar): to few arguments to sprintf (button number
        was missing); return a value.

Sun Apr 12 02:48:26 1998  Norbert Warmuth  <k3190@fh-sw.de>

        * xv/xvscreen.c: removed duplicate (conflicting) definition
        of do_enter()
This commit is contained in:
Norbert Warmuth 1998-04-12 00:52:13 +00:00
parent 6495812153
commit fd6cdb19cc
4 changed files with 16 additions and 4 deletions

View File

@ -1,3 +1,11 @@
Fri Apr 12 02:40:41 1998 Norbert Warmuth <k3190@fh-sw.de>
* gwidget.c (x_create_input): return 1 if the widget has been
initialized manually (there was no return value)
(x_create_buttonbar): to few arguments to sprintf (button number
was missing); return a value.
1998-04-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gscreen.c (x_create_panel): Added back and forward buttons. I

View File

@ -238,7 +238,7 @@ x_create_input (Dlg_head *h, widget_data parent, WInput *in)
* Look in gscreen.c for an example
*/
if (in->widget.wdata)
return;
return 1;
gnome_entry = gnome_entry_new (in->widget.tkname);
gtk_widget_show (gnome_entry);
@ -466,7 +466,7 @@ x_create_buttonbar (Dlg_head *h, widget_data parent, WButtonBar *bb)
char buffer [40];
GtkButton *b;
sprintf (buffer, "F%d %s", bb->labels [i].text ? bb->labels [i].text : " ");
sprintf (buffer, "F%d %s", i+1, bb->labels [i].text ? bb->labels [i].text : " ");
b = (GtkButton *) gtk_button_new_with_label (buffer);
gtk_signal_connect (GTK_OBJECT (b), "clicked",
GTK_SIGNAL_FUNC (buttonbar_clicked), bb);

View File

@ -1,5 +1,11 @@
Sun Apr 12 02:48:26 1998 Norbert Warmuth <k3190@fh-sw.de>
* xv/xvscreen.c: removed duplicate (conflicting) definition
of do_enter()
Sun Apr 12 02:24:57 1998 Norbert Warmuth <k3190@fh-sw.de>
* text.c (edition_post_exec), cmd.c (view_other_cmd): Don't change
the keypad mode when we don't use the alternate plus minus. Pavel
forgot an if-clause when he replaced the escape sequences (or

View File

@ -45,8 +45,6 @@
#include "util.h"
#include "ext.h" /* regex_command */
void do_enter (WPanel *panel);
extern Server_image iconRegular [2];
extern Server_image iconDirectory [2];