Commit d666d334 authored by Juan Pablo Ugarte's avatar Juan Pablo Ugarte Committed by Juan Pablo Ugarte

Remove GladeInstantiable prefix from UI

parent c2971c67
......@@ -22,6 +22,7 @@
*/
#include "glade-app.h"
#include "glade-private.h"
#include "gladeui-enum-types.h"
#include "glade-adaptor-chooser-widget.h"
#include "glade-dnd.h"
......@@ -169,7 +170,7 @@ normalize_name (const gchar *name)
static inline void
store_append_adaptor (GtkListStore *store, GladeWidgetAdaptor *adaptor)
{
gchar *normalized_name = normalize_name (glade_widget_adaptor_get_name (adaptor));
gchar *normalized_name = normalize_name (_glade_widget_adaptor_get_real_name (adaptor));
gtk_list_store_insert_with_values (store, NULL, -1,
COLUMN_ADAPTOR, adaptor,
......@@ -382,7 +383,7 @@ adaptor_text_cell_data_func (GtkTreeViewColumn *tree_column,
if (adaptor)
g_object_set (cell,
"sensitive", TRUE,
"text", glade_widget_adaptor_get_name (adaptor),
"text", _glade_widget_adaptor_get_real_name (adaptor),
"style", PANGO_STYLE_NORMAL,
NULL);
else
......
......@@ -27,6 +27,7 @@
#include "config.h"
#include "glade.h"
#include "glade-private.h"
#include "glade-design-layout.h"
#include "glade-design-private.h"
#include "glade-accumulators.h"
......@@ -953,7 +954,7 @@ update_widget_name (GladeDesignLayout *layout, GladeWidget *gwidget)
else
{
GladeWidgetAdaptor *adaptor = glade_widget_get_adaptor (gwidget);
pango_layout_set_text (priv->widget_name, glade_widget_adaptor_get_name (adaptor), -1);
pango_layout_set_text (priv->widget_name, _glade_widget_adaptor_get_real_name (adaptor), -1);
}
gtk_widget_queue_resize (GTK_WIDGET (layout));
......
......@@ -1110,7 +1110,7 @@ glade_project_model_get_value (GtkTreeModel *model,
case GLADE_PROJECT_MODEL_COLUMN_TYPE_NAME:
{
GladeWidgetAdaptor *adaptor = glade_widget_get_adaptor (widget);
g_value_set_static_string (value, glade_widget_adaptor_get_name (adaptor));
g_value_set_static_string (value, _glade_widget_adaptor_get_real_name (adaptor));
break;
}
case GLADE_PROJECT_MODEL_COLUMN_OBJECT:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment