forked from AuroraMiddleware/gtk
Handle the case where bin->child is NULL. (#70153, Padraig O'Briain)
Thu Jan 31 10:21:05 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkplug.c (gtk_plug_focus): Handle the case where bin->child is NULL. (#70153, Padraig O'Briain) * gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems): Actually call gettext() on the labels; previously they were marked with N_() but we never called gettext().
This commit is contained in:
parent
3528097330
commit
bb3ddb39f6
@ -1,3 +1,12 @@
|
||||
Thu Jan 31 10:21:05 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkplug.c (gtk_plug_focus): Handle the case where
|
||||
bin->child is NULL. (#70153, Padraig O'Briain)
|
||||
|
||||
* gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
|
||||
Actually call gettext() on the labels; previously they
|
||||
were marked with N_() but we never called gettext().
|
||||
|
||||
Wed Jan 30 20:15:49 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_set_valist): save last minute
|
||||
|
@ -1,3 +1,12 @@
|
||||
Thu Jan 31 10:21:05 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkplug.c (gtk_plug_focus): Handle the case where
|
||||
bin->child is NULL. (#70153, Padraig O'Briain)
|
||||
|
||||
* gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
|
||||
Actually call gettext() on the labels; previously they
|
||||
were marked with N_() but we never called gettext().
|
||||
|
||||
Wed Jan 30 20:15:49 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_set_valist): save last minute
|
||||
|
@ -1,3 +1,12 @@
|
||||
Thu Jan 31 10:21:05 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkplug.c (gtk_plug_focus): Handle the case where
|
||||
bin->child is NULL. (#70153, Padraig O'Briain)
|
||||
|
||||
* gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
|
||||
Actually call gettext() on the labels; previously they
|
||||
were marked with N_() but we never called gettext().
|
||||
|
||||
Wed Jan 30 20:15:49 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_set_valist): save last minute
|
||||
|
@ -1,3 +1,12 @@
|
||||
Thu Jan 31 10:21:05 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkplug.c (gtk_plug_focus): Handle the case where
|
||||
bin->child is NULL. (#70153, Padraig O'Briain)
|
||||
|
||||
* gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
|
||||
Actually call gettext() on the labels; previously they
|
||||
were marked with N_() but we never called gettext().
|
||||
|
||||
Wed Jan 30 20:15:49 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_set_valist): save last minute
|
||||
|
@ -1,3 +1,12 @@
|
||||
Thu Jan 31 10:21:05 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkplug.c (gtk_plug_focus): Handle the case where
|
||||
bin->child is NULL. (#70153, Padraig O'Briain)
|
||||
|
||||
* gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
|
||||
Actually call gettext() on the labels; previously they
|
||||
were marked with N_() but we never called gettext().
|
||||
|
||||
Wed Jan 30 20:15:49 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_set_valist): save last minute
|
||||
|
@ -1,3 +1,12 @@
|
||||
Thu Jan 31 10:21:05 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkplug.c (gtk_plug_focus): Handle the case where
|
||||
bin->child is NULL. (#70153, Padraig O'Briain)
|
||||
|
||||
* gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
|
||||
Actually call gettext() on the labels; previously they
|
||||
were marked with N_() but we never called gettext().
|
||||
|
||||
Wed Jan 30 20:15:49 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_set_valist): save last minute
|
||||
|
@ -1,3 +1,12 @@
|
||||
Thu Jan 31 10:21:05 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkplug.c (gtk_plug_focus): Handle the case where
|
||||
bin->child is NULL. (#70153, Padraig O'Briain)
|
||||
|
||||
* gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
|
||||
Actually call gettext() on the labels; previously they
|
||||
were marked with N_() but we never called gettext().
|
||||
|
||||
Wed Jan 30 20:15:49 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_set_valist): save last minute
|
||||
|
@ -841,7 +841,7 @@ gtk_plug_focus (GtkWidget *widget,
|
||||
{
|
||||
/* Try to focus the first widget in the window */
|
||||
|
||||
if (gtk_widget_child_focus (bin->child, direction))
|
||||
if (bin->child && gtk_widget_child_focus (bin->child, direction))
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
@ -102,7 +102,7 @@ _gtk_text_util_append_special_char_menuitems (GtkMenuShell *menushe
|
||||
info->func = func;
|
||||
info->data = data;
|
||||
|
||||
menuitem = gtk_menu_item_new_with_mnemonic (bidi_menu_entries[i].label);
|
||||
menuitem = gtk_menu_item_new_with_mnemonic (_(bidi_menu_entries[i].label));
|
||||
g_object_set_data (G_OBJECT (menuitem), "gtk-unicode-menu-entry",
|
||||
&bidi_menu_entries[i]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user