[glade/composite-templates-new: 4/4] GladeProject: Update the misc column with an indicator marking that it is template
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade/composite-templates-new: 4/4] GladeProject: Update the misc column with an indicator marking that it is template
- Date: Mon, 1 Apr 2013 09:19:34 +0000 (UTC)
commit 681643e8b28d3c8fe6eb7b698122e6480d19a111
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Mon Apr 1 16:32:45 2013 +0900
GladeProject: Update the misc column with an indicator marking that it is template
gladeui/glade-project.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gladeui/glade-project.c b/gladeui/glade-project.c
index b19e7db..d875801 100644
--- a/gladeui/glade-project.c
+++ b/gladeui/glade-project.c
@@ -4591,6 +4591,8 @@ glade_project_model_get_value (GtkTreeModel *model,
g_object_get_data (glade_widget_get_object (widget),
"special-child-type")) != NULL)
str = g_strdup_printf (_("(%s child)"), child_type);
+ else if (glade_widget_get_is_composite (widget))
+ str = g_strdup_printf (_("(template)"));
else if ((ref_prop =
glade_widget_get_parentless_widget_ref (widget)) != NULL)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]