Internalize some strings, pointed out by Damon Chaplin.
2007-04-27 Matthias Clasen <mclasen@redhat.com> * gtkassistant.c: * gtkiconfactory.c: * gtkiconview.c: * gtkpapersize.c: * gtkrecentmanager.c: * gtktextiter.c: Internalize some strings, pointed out by Damon Chaplin. svn path=/trunk/; revision=17661
This commit is contained in:
parent
f478d9f0f6
commit
2824f4597d
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
2007-04-27 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gtkassistant.c:
|
||||||
|
* gtkiconfactory.c:
|
||||||
|
* gtkiconview.c:
|
||||||
|
* gtkpapersize.c:
|
||||||
|
* gtkrecentmanager.c:
|
||||||
|
* gtktextiter.c: Internalize some strings, pointed out
|
||||||
|
by Damon Chaplin.
|
||||||
|
|
||||||
2007-04-27 Xan Lopez <xan@gnome.org>
|
2007-04-27 Xan Lopez <xan@gnome.org>
|
||||||
|
|
||||||
Support inline-selection in entries (#318459)
|
Support inline-selection in entries (#318459)
|
||||||
|
@ -2265,7 +2265,7 @@ gtk_assistant_accessible_get_type (void)
|
|||||||
g_type_query (derived_atk_type, &query);
|
g_type_query (derived_atk_type, &query);
|
||||||
|
|
||||||
type = g_type_register_static_simple (derived_atk_type,
|
type = g_type_register_static_simple (derived_atk_type,
|
||||||
"GtkAssistantAccessible",
|
I_("GtkAssistantAccessible"),
|
||||||
query.class_size,
|
query.class_size,
|
||||||
(GClassInitFunc) gtk_assistant_accessible_class_init,
|
(GClassInitFunc) gtk_assistant_accessible_class_init,
|
||||||
query.instance_size,
|
query.instance_size,
|
||||||
@ -2315,7 +2315,7 @@ gtk_assistant_accessible_factory_get_type (void)
|
|||||||
if (!type)
|
if (!type)
|
||||||
{
|
{
|
||||||
type = g_type_register_static_simple (ATK_TYPE_OBJECT_FACTORY,
|
type = g_type_register_static_simple (ATK_TYPE_OBJECT_FACTORY,
|
||||||
"GtkAssistantAccessibleFactory",
|
I_("GtkAssistantAccessibleFactory"),
|
||||||
sizeof (AtkObjectFactoryClass),
|
sizeof (AtkObjectFactoryClass),
|
||||||
(GClassInitFunc) gtk_assistant_accessible_factory_class_init,
|
(GClassInitFunc) gtk_assistant_accessible_factory_class_init,
|
||||||
sizeof (AtkObjectFactory),
|
sizeof (AtkObjectFactory),
|
||||||
|
@ -1928,7 +1928,7 @@ gtk_icon_source_get_type (void)
|
|||||||
static GType our_type = 0;
|
static GType our_type = 0;
|
||||||
|
|
||||||
if (our_type == 0)
|
if (our_type == 0)
|
||||||
our_type = g_boxed_type_register_static ("GtkIconSource",
|
our_type = g_boxed_type_register_static (I_("GtkIconSource"),
|
||||||
(GBoxedCopyFunc) gtk_icon_source_copy,
|
(GBoxedCopyFunc) gtk_icon_source_copy,
|
||||||
(GBoxedFreeFunc) gtk_icon_source_free);
|
(GBoxedFreeFunc) gtk_icon_source_free);
|
||||||
|
|
||||||
|
@ -9071,7 +9071,7 @@ gtk_icon_view_accessible_get_type (void)
|
|||||||
tinfo.instance_size = query.instance_size;
|
tinfo.instance_size = query.instance_size;
|
||||||
|
|
||||||
type = g_type_register_static (derived_atk_type,
|
type = g_type_register_static (derived_atk_type,
|
||||||
"GtkIconViewAccessible",
|
I_("GtkIconViewAccessible"),
|
||||||
&tinfo, 0);
|
&tinfo, 0);
|
||||||
g_type_add_interface_static (type, ATK_TYPE_COMPONENT,
|
g_type_add_interface_static (type, ATK_TYPE_COMPONENT,
|
||||||
&atk_component_info);
|
&atk_component_info);
|
||||||
@ -9134,7 +9134,7 @@ gtk_icon_view_accessible_factory_get_type (void)
|
|||||||
};
|
};
|
||||||
|
|
||||||
type = g_type_register_static (ATK_TYPE_OBJECT_FACTORY,
|
type = g_type_register_static (ATK_TYPE_OBJECT_FACTORY,
|
||||||
"GtkIconViewAccessibleFactory",
|
I_("GtkIconViewAccessibleFactory"),
|
||||||
&tinfo, 0);
|
&tinfo, 0);
|
||||||
}
|
}
|
||||||
return type;
|
return type;
|
||||||
|
@ -52,7 +52,7 @@ gtk_paper_size_get_type (void)
|
|||||||
static GType our_type = 0;
|
static GType our_type = 0;
|
||||||
|
|
||||||
if (our_type == 0)
|
if (our_type == 0)
|
||||||
our_type = g_boxed_type_register_static ("GtkPaperSize",
|
our_type = g_boxed_type_register_static (I_("GtkPaperSize"),
|
||||||
(GBoxedCopyFunc)gtk_paper_size_copy,
|
(GBoxedCopyFunc)gtk_paper_size_copy,
|
||||||
(GBoxedFreeFunc)gtk_paper_size_free);
|
(GBoxedFreeFunc)gtk_paper_size_free);
|
||||||
return our_type;
|
return our_type;
|
||||||
|
@ -1438,7 +1438,7 @@ gtk_recent_info_get_type (void)
|
|||||||
static GType info_type = 0;
|
static GType info_type = 0;
|
||||||
|
|
||||||
if (!info_type)
|
if (!info_type)
|
||||||
info_type = g_boxed_type_register_static ("GtkRecentInfo",
|
info_type = g_boxed_type_register_static (I_("GtkRecentInfo"),
|
||||||
(GBoxedCopyFunc) gtk_recent_info_ref,
|
(GBoxedCopyFunc) gtk_recent_info_ref,
|
||||||
(GBoxedFreeFunc) gtk_recent_info_unref);
|
(GBoxedFreeFunc) gtk_recent_info_unref);
|
||||||
return info_type;
|
return info_type;
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
#include "gtktextiter.h"
|
#include "gtktextiter.h"
|
||||||
#include "gtktextbtree.h"
|
#include "gtktextbtree.h"
|
||||||
#include "gtktextiterprivate.h"
|
#include "gtktextiterprivate.h"
|
||||||
|
#include "gtkintl.h"
|
||||||
#include "gtkdebug.h"
|
#include "gtkdebug.h"
|
||||||
#include "gtkalias.h"
|
#include "gtkalias.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -437,7 +438,7 @@ gtk_text_iter_get_type (void)
|
|||||||
static GType our_type = 0;
|
static GType our_type = 0;
|
||||||
|
|
||||||
if (our_type == 0)
|
if (our_type == 0)
|
||||||
our_type = g_boxed_type_register_static ("GtkTextIter",
|
our_type = g_boxed_type_register_static (I_("GtkTextIter"),
|
||||||
(GBoxedCopyFunc) gtk_text_iter_copy,
|
(GBoxedCopyFunc) gtk_text_iter_copy,
|
||||||
(GBoxedFreeFunc) gtk_text_iter_free);
|
(GBoxedFreeFunc) gtk_text_iter_free);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user