fix silly cut'n'paste error, with_label and with_mnemonic should create

Mon Aug 27 22:00:41 2001 Manish Singh <yosh@gimp.org>

        * gtk/gtkradiobutton.c: fix silly cut'n'paste error,
        with_label and with_mnemonic should create radio buttons, not
        check buttons
This commit is contained in:
Manish Singh 2001-08-28 05:05:53 +00:00 committed by Manish Singh
parent 5d9166f15b
commit 4710829798
8 changed files with 44 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Mon Aug 27 22:00:41 2001 Manish Singh <yosh@gimp.org>
* gtk/gtkradiobutton.c: fix silly cut'n'paste error,
with_label and with_mnemonic should create radio buttons, not
check buttons
Mon Aug 27 15:28:56 2001 Jonathan Blandford <jrb@redhat.com>
* tests/testtreefocus.c (main): Fix to use GtkSelectionMode.

View File

@ -1,3 +1,9 @@
Mon Aug 27 22:00:41 2001 Manish Singh <yosh@gimp.org>
* gtk/gtkradiobutton.c: fix silly cut'n'paste error,
with_label and with_mnemonic should create radio buttons, not
check buttons
Mon Aug 27 15:28:56 2001 Jonathan Blandford <jrb@redhat.com>
* tests/testtreefocus.c (main): Fix to use GtkSelectionMode.

View File

@ -1,3 +1,9 @@
Mon Aug 27 22:00:41 2001 Manish Singh <yosh@gimp.org>
* gtk/gtkradiobutton.c: fix silly cut'n'paste error,
with_label and with_mnemonic should create radio buttons, not
check buttons
Mon Aug 27 15:28:56 2001 Jonathan Blandford <jrb@redhat.com>
* tests/testtreefocus.c (main): Fix to use GtkSelectionMode.

View File

@ -1,3 +1,9 @@
Mon Aug 27 22:00:41 2001 Manish Singh <yosh@gimp.org>
* gtk/gtkradiobutton.c: fix silly cut'n'paste error,
with_label and with_mnemonic should create radio buttons, not
check buttons
Mon Aug 27 15:28:56 2001 Jonathan Blandford <jrb@redhat.com>
* tests/testtreefocus.c (main): Fix to use GtkSelectionMode.

View File

@ -1,3 +1,9 @@
Mon Aug 27 22:00:41 2001 Manish Singh <yosh@gimp.org>
* gtk/gtkradiobutton.c: fix silly cut'n'paste error,
with_label and with_mnemonic should create radio buttons, not
check buttons
Mon Aug 27 15:28:56 2001 Jonathan Blandford <jrb@redhat.com>
* tests/testtreefocus.c (main): Fix to use GtkSelectionMode.

View File

@ -1,3 +1,9 @@
Mon Aug 27 22:00:41 2001 Manish Singh <yosh@gimp.org>
* gtk/gtkradiobutton.c: fix silly cut'n'paste error,
with_label and with_mnemonic should create radio buttons, not
check buttons
Mon Aug 27 15:28:56 2001 Jonathan Blandford <jrb@redhat.com>
* tests/testtreefocus.c (main): Fix to use GtkSelectionMode.

View File

@ -1,3 +1,9 @@
Mon Aug 27 22:00:41 2001 Manish Singh <yosh@gimp.org>
* gtk/gtkradiobutton.c: fix silly cut'n'paste error,
with_label and with_mnemonic should create radio buttons, not
check buttons
Mon Aug 27 15:28:56 2001 Jonathan Blandford <jrb@redhat.com>
* tests/testtreefocus.c (main): Fix to use GtkSelectionMode.

View File

@ -217,7 +217,7 @@ gtk_radio_button_new_with_label (GSList *group,
{
GtkWidget *radio_button;
radio_button = g_object_new (GTK_TYPE_CHECK_BUTTON, "label", label, NULL) ;
radio_button = g_object_new (GTK_TYPE_RADIO_BUTTON, "label", label, NULL) ;
if (group)
gtk_radio_button_set_group (radio_button, group);
@ -243,7 +243,7 @@ gtk_radio_button_new_with_mnemonic (GSList *group,
{
GtkWidget *radio_button;
radio_button = g_object_new (GTK_TYPE_CHECK_BUTTON, "label", label, "use_underline", TRUE, NULL);
radio_button = g_object_new (GTK_TYPE_RADIO_BUTTON, "label", label, "use_underline", TRUE, NULL);
if (group)
gtk_radio_button_set_group (radio_button, group);