If translation does not include a '/', use entire translation instead of
Tue Nov 16 10:15:54 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkitemfactory.c (gtk_item_factory_parse_path): If translation does not include a '/', use entire translation instead of crashing.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
Tue Nov 16 10:15:54 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkitemfactory.c (gtk_item_factory_parse_path):
|
||||
If translation does not include a '/', use entire
|
||||
translation instead of crashing.
|
||||
|
||||
Mon Nov 15 17:17:51 GMT 1999 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/gtkfaq.sgml: s/gtk_main_iteration/g_main_iteration/
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Tue Nov 16 10:15:54 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkitemfactory.c (gtk_item_factory_parse_path):
|
||||
If translation does not include a '/', use entire
|
||||
translation instead of crashing.
|
||||
|
||||
Mon Nov 15 17:17:51 GMT 1999 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/gtkfaq.sgml: s/gtk_main_iteration/g_main_iteration/
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Tue Nov 16 10:15:54 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkitemfactory.c (gtk_item_factory_parse_path):
|
||||
If translation does not include a '/', use entire
|
||||
translation instead of crashing.
|
||||
|
||||
Mon Nov 15 17:17:51 GMT 1999 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/gtkfaq.sgml: s/gtk_main_iteration/g_main_iteration/
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Tue Nov 16 10:15:54 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkitemfactory.c (gtk_item_factory_parse_path):
|
||||
If translation does not include a '/', use entire
|
||||
translation instead of crashing.
|
||||
|
||||
Mon Nov 15 17:17:51 GMT 1999 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/gtkfaq.sgml: s/gtk_main_iteration/g_main_iteration/
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Tue Nov 16 10:15:54 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkitemfactory.c (gtk_item_factory_parse_path):
|
||||
If translation does not include a '/', use entire
|
||||
translation instead of crashing.
|
||||
|
||||
Mon Nov 15 17:17:51 GMT 1999 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/gtkfaq.sgml: s/gtk_main_iteration/g_main_iteration/
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Tue Nov 16 10:15:54 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkitemfactory.c (gtk_item_factory_parse_path):
|
||||
If translation does not include a '/', use entire
|
||||
translation instead of crashing.
|
||||
|
||||
Mon Nov 15 17:17:51 GMT 1999 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/gtkfaq.sgml: s/gtk_main_iteration/g_main_iteration/
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Tue Nov 16 10:15:54 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkitemfactory.c (gtk_item_factory_parse_path):
|
||||
If translation does not include a '/', use entire
|
||||
translation instead of crashing.
|
||||
|
||||
Mon Nov 15 17:17:51 GMT 1999 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/gtkfaq.sgml: s/gtk_main_iteration/g_main_iteration/
|
||||
|
||||
@@ -968,7 +968,10 @@ gtk_item_factory_parse_path (GtkItemFactory *ifactory,
|
||||
translation = str;
|
||||
|
||||
p = strrchr (translation, '/');
|
||||
if (p)
|
||||
p++;
|
||||
else
|
||||
p = translation;
|
||||
|
||||
*item = g_strdup (p);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user