rm -rf intl breaks --disable-nls, put it back

* autogen.sh: rm -rf intl breaks --disable-nls, put it back

* gtkbutton.[ch]
* gtktogglebutton.c: s/(enter|leave)/$1_button/g.
Digital: 1 GTK+: 0 (for now)

-Yosh
This commit is contained in:
Manish Singh 1998-12-17 05:21:45 +00:00
parent b0ecac9fa1
commit a9575223a6
11 changed files with 71 additions and 14 deletions

View File

@ -1,3 +1,11 @@
Wed Dec 16 21:20:00 PST 1998 Manish Singh <yosh@gimp.org>
* autogen.sh: rm -rf intl breaks --disable-nls, put it back
* gtkbutton.[ch]
* gtktogglebutton.c: s/(enter|leave)/$1_button/g.
Digital: 1 GTK+: 0 (for now)
Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkevents.c: updated call to g_main_add_poll

View File

@ -1,3 +1,11 @@
Wed Dec 16 21:20:00 PST 1998 Manish Singh <yosh@gimp.org>
* autogen.sh: rm -rf intl breaks --disable-nls, put it back
* gtkbutton.[ch]
* gtktogglebutton.c: s/(enter|leave)/$1_button/g.
Digital: 1 GTK+: 0 (for now)
Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkevents.c: updated call to g_main_add_poll

View File

@ -1,3 +1,11 @@
Wed Dec 16 21:20:00 PST 1998 Manish Singh <yosh@gimp.org>
* autogen.sh: rm -rf intl breaks --disable-nls, put it back
* gtkbutton.[ch]
* gtktogglebutton.c: s/(enter|leave)/$1_button/g.
Digital: 1 GTK+: 0 (for now)
Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkevents.c: updated call to g_main_add_poll

View File

@ -1,3 +1,11 @@
Wed Dec 16 21:20:00 PST 1998 Manish Singh <yosh@gimp.org>
* autogen.sh: rm -rf intl breaks --disable-nls, put it back
* gtkbutton.[ch]
* gtktogglebutton.c: s/(enter|leave)/$1_button/g.
Digital: 1 GTK+: 0 (for now)
Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkevents.c: updated call to g_main_add_poll

View File

@ -1,3 +1,11 @@
Wed Dec 16 21:20:00 PST 1998 Manish Singh <yosh@gimp.org>
* autogen.sh: rm -rf intl breaks --disable-nls, put it back
* gtkbutton.[ch]
* gtktogglebutton.c: s/(enter|leave)/$1_button/g.
Digital: 1 GTK+: 0 (for now)
Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkevents.c: updated call to g_main_add_poll

View File

@ -1,3 +1,11 @@
Wed Dec 16 21:20:00 PST 1998 Manish Singh <yosh@gimp.org>
* autogen.sh: rm -rf intl breaks --disable-nls, put it back
* gtkbutton.[ch]
* gtktogglebutton.c: s/(enter|leave)/$1_button/g.
Digital: 1 GTK+: 0 (for now)
Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkevents.c: updated call to g_main_add_poll

View File

@ -1,3 +1,11 @@
Wed Dec 16 21:20:00 PST 1998 Manish Singh <yosh@gimp.org>
* autogen.sh: rm -rf intl breaks --disable-nls, put it back
* gtkbutton.[ch]
* gtktogglebutton.c: s/(enter|leave)/$1_button/g.
Digital: 1 GTK+: 0 (for now)
Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkevents.c: updated call to g_main_add_poll

View File

@ -79,9 +79,6 @@ echo "Running gettextize... Ignore non-fatal messages."
# while making dist.
echo "no" | gettextize --copy --force
# We don't need ./intl
rm -rf intl
aclocal $ACLOCAL_FLAGS
# optionally feature autoheader

View File

@ -160,14 +160,14 @@ gtk_button_class_init (GtkButtonClass *klass)
gtk_signal_new ("enter",
GTK_RUN_FIRST,
object_class->type,
GTK_SIGNAL_OFFSET (GtkButtonClass, enter),
GTK_SIGNAL_OFFSET (GtkButtonClass, enter_button),
gtk_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
button_signals[LEAVE] =
gtk_signal_new ("leave",
GTK_RUN_FIRST,
object_class->type,
GTK_SIGNAL_OFFSET (GtkButtonClass, leave),
GTK_SIGNAL_OFFSET (GtkButtonClass, leave_button),
gtk_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
@ -198,8 +198,8 @@ gtk_button_class_init (GtkButtonClass *klass)
klass->pressed = gtk_real_button_pressed;
klass->released = gtk_real_button_released;
klass->clicked = NULL;
klass->enter = gtk_real_button_enter;
klass->leave = gtk_real_button_leave;
klass->enter_button = gtk_real_button_enter;
klass->leave_button = gtk_real_button_leave;
}
static void

View File

@ -56,11 +56,15 @@ struct _GtkButtonClass
{
GtkBinClass parent_class;
void (* pressed) (GtkButton *button);
void (* released) (GtkButton *button);
void (* clicked) (GtkButton *button);
void (* enter) (GtkButton *button);
void (* leave) (GtkButton *button);
void (* pressed) (GtkButton *button);
void (* released) (GtkButton *button);
void (* clicked) (GtkButton *button);
/* these used to be enter and leave, but Digital decided they were more
important than us. They may have beaten us for now, but revenge is
a dish best served cold */
void (* enter_button) (GtkButton *button);
void (* leave_button) (GtkButton *button);
};

View File

@ -129,8 +129,8 @@ gtk_toggle_button_class_init (GtkToggleButtonClass *class)
button_class->pressed = gtk_toggle_button_pressed;
button_class->released = gtk_toggle_button_released;
button_class->clicked = gtk_toggle_button_clicked;
button_class->enter = gtk_toggle_button_enter;
button_class->leave = gtk_toggle_button_leave;
button_class->enter_button = gtk_toggle_button_enter;
button_class->leave_button = gtk_toggle_button_leave;
class->toggled = NULL;
}