[glade/composite-templates-new: 7/7] GladeProject: Update the misc column with an indicator marking that it is template



commit 70e35142e1beed4fdbb2898a86eb4e15af3386e0
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 71ce693..f359739 100644
--- a/gladeui/glade-project.c
+++ b/gladeui/glade-project.c
@@ -4736,6 +4736,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]