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



commit 7d2c32db55061616f1faa6c2c707abddf331150a
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]