[glade] Added GladeProgressBarEditor



commit f6713b724e222378a8d05be874357e5c9da153dd
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Thu May 16 23:19:03 2013 +0900

    Added GladeProgressBarEditor

 plugins/gtk+/Makefile.am                       |    6 +-
 plugins/gtk+/glade-gtk-progress-bar.c          |   68 +++++
 plugins/gtk+/glade-gtk-resources.gresource.xml |    1 +
 plugins/gtk+/glade-progress-bar-editor.c       |   74 ++++++
 plugins/gtk+/glade-progress-bar-editor.h       |   57 +++++
 plugins/gtk+/glade-progress-bar-editor.ui      |  317 ++++++++++++++++++++++++
 plugins/gtk+/gtk+.xml.in                       |   24 +--
 po/POTFILES.in                                 |    3 +
 8 files changed, 534 insertions(+), 16 deletions(-)
---
diff --git a/plugins/gtk+/Makefile.am b/plugins/gtk+/Makefile.am
index 04bf3b4..d55eda5 100644
--- a/plugins/gtk+/Makefile.am
+++ b/plugins/gtk+/Makefile.am
@@ -85,6 +85,7 @@ libgladegtk_la_SOURCES =              \
        glade-gtk-message-dialog.c      \
        glade-gtk-notebook.c            \
        glade-gtk-paned.c               \
+       glade-gtk-progress-bar.c        \
        glade-gtk-radio-button.c        \
        glade-gtk-radio-menu-item.c     \
        glade-gtk-recent-chooser-menu.c \
@@ -116,7 +117,8 @@ libgladegtk_la_SOURCES =            \
        glade-message-dialog-editor.c   \
        glade-model-data.c              \
        glade-notebook-editor.c         \
-       glade-recent-action-editor.c \
+       glade-progress-bar-editor.c     \
+       glade-recent-action-editor.c    \
        glade-recent-chooser-dialog-editor.c \
        glade-recent-chooser-editor.c   \
        glade-recent-chooser-menu-editor.c \
@@ -181,6 +183,7 @@ noinst_HEADERS =                    \
        glade-message-dialog-editor.h   \
        glade-model-data.h              \
        glade-notebook-editor.h         \
+       glade-progress-bar-editor.h     \
        glade-recent-action-editor.h    \
        glade-recent-chooser-dialog-editor.h \
        glade-recent-chooser-editor.h   \
@@ -244,6 +247,7 @@ UI_FILES =                          \
        glade-label-editor.ui           \
        glade-message-dialog-editor.ui  \
        glade-notebook-editor.ui        \
+       glade-progress-bar-editor.ui    \
        glade-recent-action-editor.ui   \
        glade-recent-chooser-dialog-editor.ui \
        glade-recent-chooser-editor.ui  \
diff --git a/plugins/gtk+/glade-gtk-progress-bar.c b/plugins/gtk+/glade-gtk-progress-bar.c
new file mode 100644
index 0000000..15929fa
--- /dev/null
+++ b/plugins/gtk+/glade-gtk-progress-bar.c
@@ -0,0 +1,68 @@
+/*
+ * glade-gtk-progress-bar.c - GladeWidgetAdaptor for GtkProgressBar
+ *
+ * Copyright (C) 2013 Tristan Van Berkom
+ *
+ * Authors:
+ *      Tristan Van Berkom <tristan van berkom gmail com>
+ *
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public 
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#include <config.h>
+#include <glib/gi18n-lib.h>
+#include <gladeui/glade.h>
+
+#include "glade-progress-bar-editor.h"
+
+#define TEXT_DISABLED_MSG _("This progressbar does not show text")
+
+GladeEditable *
+glade_gtk_progress_bar_create_editable (GladeWidgetAdaptor * adaptor,
+                                          GladeEditorPageType type)
+{
+  if (type == GLADE_PAGE_GENERAL)
+    {
+      return (GladeEditable *)glade_progress_bar_editor_new ();
+    }
+
+  return GWA_GET_CLASS (GTK_TYPE_CONTAINER)->create_editable (adaptor, type);
+}
+
+void
+glade_gtk_progress_bar_set_property (GladeWidgetAdaptor * adaptor,
+                                       GObject * object,
+                                       const gchar * id, const GValue * value)
+{
+  GladeWidget *widget = glade_widget_get_from_gobject (object);
+  GladeProperty *property = glade_widget_get_property (widget, id);
+
+  if (strcmp (id, "show-text") == 0)
+    {
+      if (g_value_get_boolean (value))
+       {
+         glade_widget_property_set_sensitive (widget, "text", TRUE, NULL);
+         glade_widget_property_set_sensitive (widget, "ellipsize", TRUE, NULL);
+       }
+      else
+       {
+         glade_widget_property_set_sensitive (widget, "text", FALSE, TEXT_DISABLED_MSG);
+         glade_widget_property_set_sensitive (widget, "ellipsize", FALSE, TEXT_DISABLED_MSG);
+       }
+    }
+
+  if (GPC_VERSION_CHECK (glade_property_get_class (property), gtk_major_version, gtk_minor_version + 1))
+    GWA_GET_CLASS (GTK_TYPE_CONTAINER)->set_property (adaptor, object, id, value);
+}
diff --git a/plugins/gtk+/glade-gtk-resources.gresource.xml b/plugins/gtk+/glade-gtk-resources.gresource.xml
index 149077a..85d5b1b 100644
--- a/plugins/gtk+/glade-gtk-resources.gresource.xml
+++ b/plugins/gtk+/glade-gtk-resources.gresource.xml
@@ -23,6 +23,7 @@
     <file compressed="true" preprocess="xml-stripblanks">glade-image-editor.ui</file>
     <file compressed="true" preprocess="xml-stripblanks">glade-label-editor.ui</file>
     <file compressed="true" preprocess="xml-stripblanks">glade-message-dialog-editor.ui</file>
+    <file compressed="true" preprocess="xml-stripblanks">glade-progress-bar-editor.ui</file>
     <file compressed="true" preprocess="xml-stripblanks">glade-notebook-editor.ui</file>
     <file compressed="true" preprocess="xml-stripblanks">glade-recent-action-editor.ui</file>
     <file compressed="true" preprocess="xml-stripblanks">glade-recent-chooser-dialog-editor.ui</file>
diff --git a/plugins/gtk+/glade-progress-bar-editor.c b/plugins/gtk+/glade-progress-bar-editor.c
new file mode 100644
index 0000000..94bf395
--- /dev/null
+++ b/plugins/gtk+/glade-progress-bar-editor.c
@@ -0,0 +1,74 @@
+/*
+ * Copyright (C) 2013 Tristan Van Berkom.
+ *
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public 
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * Authors:
+ *   Tristan Van Berkom <tvb gnome org>
+ */
+
+#include <config.h>
+#include <gladeui/glade.h>
+#include <glib/gi18n-lib.h>
+
+#include "glade-progress-bar-editor.h"
+
+struct _GladeProgressBarEditorPrivate
+{
+  GtkWidget *embed;
+};
+
+static void glade_progress_bar_editor_grab_focus (GtkWidget * widget);
+
+G_DEFINE_TYPE (GladeProgressBarEditor, glade_progress_bar_editor, GLADE_TYPE_EDITOR_SKELETON)
+
+static void
+glade_progress_bar_editor_class_init (GladeProgressBarEditorClass * klass)
+{
+  GObjectClass *object_class = G_OBJECT_CLASS (klass);
+  GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
+
+  widget_class->grab_focus = glade_progress_bar_editor_grab_focus;
+
+  gtk_widget_class_set_template_from_resource (widget_class, 
"/org/gnome/gladegtk/glade-progress-bar-editor.ui");
+  gtk_widget_class_bind_child (widget_class, GladeProgressBarEditorPrivate, embed);
+
+  g_type_class_add_private (object_class, sizeof (GladeProgressBarEditorPrivate));
+}
+
+static void
+glade_progress_bar_editor_init (GladeProgressBarEditor * self)
+{
+  self->priv = 
+    G_TYPE_INSTANCE_GET_PRIVATE (self,
+                                GLADE_TYPE_PROGRESS_BAR_EDITOR,
+                                GladeProgressBarEditorPrivate);
+
+  gtk_widget_init_template (GTK_WIDGET (self));
+}
+
+static void
+glade_progress_bar_editor_grab_focus (GtkWidget * widget)
+{
+  GladeProgressBarEditor *pbar_editor = GLADE_PROGRESS_BAR_EDITOR (widget);
+
+  gtk_widget_grab_focus (pbar_editor->priv->embed);
+}
+
+GtkWidget *
+glade_progress_bar_editor_new (void)
+{
+  return g_object_new (GLADE_TYPE_PROGRESS_BAR_EDITOR, NULL);
+}
diff --git a/plugins/gtk+/glade-progress-bar-editor.h b/plugins/gtk+/glade-progress-bar-editor.h
new file mode 100644
index 0000000..d5f4827
--- /dev/null
+++ b/plugins/gtk+/glade-progress-bar-editor.h
@@ -0,0 +1,57 @@
+/*
+ * Copyright (C) 2013 Tristan Van Berkom.
+ *
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public 
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * Authors:
+ *   Tristan Van Berkom <tvb gnome org>
+ */
+#ifndef _GLADE_PROGRESS_BAR_EDITOR_H_
+#define _GLADE_PROGRESS_BAR_EDITOR_H_
+
+#include <gtk/gtk.h>
+#include <gladeui/glade.h>
+
+G_BEGIN_DECLS
+
+#define GLADE_TYPE_PROGRESS_BAR_EDITOR             (glade_progress_bar_editor_get_type ())
+#define GLADE_PROGRESS_BAR_EDITOR(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), 
GLADE_TYPE_PROGRESS_BAR_EDITOR, GladeProgressBarEditor))
+#define GLADE_PROGRESS_BAR_EDITOR_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), 
GLADE_TYPE_PROGRESS_BAR_EDITOR, GladeProgressBarEditorClass))
+#define GLADE_IS_PROGRESS_BAR_EDITOR(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), 
GLADE_TYPE_PROGRESS_BAR_EDITOR))
+#define GLADE_IS_PROGRESS_BAR_EDITOR_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), 
GLADE_TYPE_PROGRESS_BAR_EDITOR))
+#define GLADE_PROGRESS_BAR_EDITOR_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), 
GLADE_TYPE_PROGRESS_BAR_EDITOR, GladeProgressBarEditorClass))
+
+typedef struct _GladeProgressBarEditor        GladeProgressBarEditor;
+typedef struct _GladeProgressBarEditorClass   GladeProgressBarEditorClass;
+typedef struct _GladeProgressBarEditorPrivate GladeProgressBarEditorPrivate;
+
+struct _GladeProgressBarEditor
+{
+  GladeEditorSkeleton  parent;
+
+  GladeProgressBarEditorPrivate *priv;
+};
+
+struct _GladeProgressBarEditorClass
+{
+  GladeEditorSkeletonClass parent;
+};
+
+GType            glade_progress_bar_editor_get_type (void) G_GNUC_CONST;
+GtkWidget       *glade_progress_bar_editor_new      (void);
+
+G_END_DECLS
+
+#endif  /* _GLADE_PROGRESS_BAR_EDITOR_H_ */
diff --git a/plugins/gtk+/glade-progress-bar-editor.ui b/plugins/gtk+/glade-progress-bar-editor.ui
new file mode 100644
index 0000000..65c5719
--- /dev/null
+++ b/plugins/gtk+/glade-progress-bar-editor.ui
@@ -0,0 +1,317 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface domain="glade">
+  <!-- interface-requires gladeui 0.0 -->
+  <!-- interface-requires gtk+ 3.10 -->
+  <template class="GladeProgressBarEditor" parent="GladeEditorSkeleton">
+    <property name="visible">True</property>
+    <property name="can_focus">False</property>
+    <property name="orientation">vertical</property>
+    <child>
+      <object class="GtkGrid" id="grid">
+        <property name="visible">True</property>
+        <property name="can_focus">False</property>
+        <property name="row_spacing">6</property>
+        <property name="column_spacing">6</property>
+        <child>
+          <object class="GladeEditorTable" id="embed">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+          </object>
+          <packing>
+            <property name="left_attach">0</property>
+            <property name="top_attach">0</property>
+            <property name="width">6</property>
+            <property name="height">1</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkLabel" id="title">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="halign">start</property>
+            <property name="valign">start</property>
+            <property name="label" translatable="yes">Progress Bar Attributes</property>
+            <attributes>
+              <attribute name="weight" value="bold"/>
+            </attributes>
+          </object>
+          <packing>
+            <property name="left_attach">0</property>
+            <property name="top_attach">1</property>
+            <property name="width">6</property>
+            <property name="height">1</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GladePropertyLabel" id="orientation_label">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="margin_left">12</property>
+            <property name="hexpand">False</property>
+            <property name="property_name">orientation</property>
+          </object>
+          <packing>
+            <property name="left_attach">0</property>
+            <property name="top_attach">2</property>
+            <property name="width">2</property>
+            <property name="height">1</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GladePropertyShell" id="orientation_editor">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="hexpand">False</property>
+            <property name="property_name">orientation</property>
+          </object>
+          <packing>
+            <property name="left_attach">2</property>
+            <property name="top_attach">2</property>
+            <property name="width">1</property>
+            <property name="height">1</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GladePropertyLabel" id="fraction_label">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="margin_left">12</property>
+            <property name="hexpand">False</property>
+            <property name="property_name">fraction</property>
+          </object>
+          <packing>
+            <property name="left_attach">0</property>
+            <property name="top_attach">3</property>
+            <property name="width">2</property>
+            <property name="height">1</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GladePropertyLabel" id="pulse_label">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="margin_left">12</property>
+            <property name="hexpand">False</property>
+            <property name="property_name">pulse-step</property>
+          </object>
+          <packing>
+            <property name="left_attach">0</property>
+            <property name="top_attach">4</property>
+            <property name="width">2</property>
+            <property name="height">1</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GladePropertyShell" id="fraction_editor">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="hexpand">False</property>
+            <property name="property_name">fraction</property>
+          </object>
+          <packing>
+            <property name="left_attach">2</property>
+            <property name="top_attach">3</property>
+            <property name="width">1</property>
+            <property name="height">1</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GladePropertyShell" id="pulse_editor">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="hexpand">False</property>
+            <property name="property_name">pulse-step</property>
+          </object>
+          <packing>
+            <property name="left_attach">2</property>
+            <property name="top_attach">4</property>
+            <property name="width">1</property>
+            <property name="height">1</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GladePropertyShell" id="inverted_editor">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="margin_left">12</property>
+            <property name="hexpand">False</property>
+            <property name="property_name">inverted</property>
+            <property name="editor_type">GladeEpropCheck</property>
+          </object>
+          <packing>
+            <property name="left_attach">0</property>
+            <property name="top_attach">5</property>
+            <property name="width">2</property>
+            <property name="height">1</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GladePropertyShell" id="show_text_editor">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="margin_left">12</property>
+            <property name="hexpand">False</property>
+            <property name="property_name">show-text</property>
+            <property name="editor_type">GladeEpropCheck</property>
+          </object>
+          <packing>
+            <property name="left_attach">0</property>
+            <property name="top_attach">6</property>
+            <property name="width">2</property>
+            <property name="height">1</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GladePropertyLabel" id="ellipsize_label">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="halign">end</property>
+            <property name="margin_left">12</property>
+            <property name="hexpand">False</property>
+            <property name="property_name">ellipsize</property>
+            <property name="custom_text" translatable="yes">Ellipsize Text:</property>
+          </object>
+          <packing>
+            <property name="left_attach">0</property>
+            <property name="top_attach">8</property>
+            <property name="width">2</property>
+            <property name="height">1</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GladePropertyLabel" id="text_label">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="halign">end</property>
+            <property name="margin_left">12</property>
+            <property name="hexpand">False</property>
+            <property name="property_name">text</property>
+          </object>
+          <packing>
+            <property name="left_attach">0</property>
+            <property name="top_attach">7</property>
+            <property name="width">2</property>
+            <property name="height">1</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GladePropertyShell" id="text_editor">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="hexpand">False</property>
+            <property name="property_name">text</property>
+          </object>
+          <packing>
+            <property name="left_attach">2</property>
+            <property name="top_attach">7</property>
+            <property name="width">1</property>
+            <property name="height">1</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GladePropertyShell" id="ellipsize_editor">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="hexpand">False</property>
+            <property name="property_name">ellipsize</property>
+          </object>
+          <packing>
+            <property name="left_attach">2</property>
+            <property name="top_attach">8</property>
+            <property name="width">1</property>
+            <property name="height">1</property>
+          </packing>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+      </object>
+      <packing>
+        <property name="expand">False</property>
+        <property name="fill">True</property>
+        <property name="position">0</property>
+      </packing>
+    </child>
+    <child-editors>
+      <editor id="embed"/>
+      <editor id="orientation_label"/>
+      <editor id="orientation_editor"/>
+      <editor id="fraction_label"/>
+      <editor id="pulse_label"/>
+      <editor id="fraction_editor"/>
+      <editor id="pulse_editor"/>
+      <editor id="inverted_editor"/>
+      <editor id="show_text_editor"/>
+      <editor id="ellipsize_label"/>
+      <editor id="text_label"/>
+      <editor id="text_editor"/>
+      <editor id="ellipsize_editor"/>
+    </child-editors>
+  </template>
+</interface>
diff --git a/plugins/gtk+/gtk+.xml.in b/plugins/gtk+/gtk+.xml.in
index 9e21b4c..82546c7 100644
--- a/plugins/gtk+/gtk+.xml.in
+++ b/plugins/gtk+/gtk+.xml.in
@@ -1639,22 +1639,16 @@ range of values</_tooltip>
     </glade-widget-class>
 
     <glade-widget-class name="GtkProgressBar" generic-name="progressbar" _title="Progress Bar">
+      <create-editable-function>glade_gtk_progress_bar_create_editable</create-editable-function>
+      <set-property-function>glade_gtk_progress_bar_set_property</set-property-function>
       <properties>
-        <property id="text" translatable="True"/>
-        <property id="show-text" since="3.0"/>
-        <property id="activity-blocks" disabled="True"/>
-       <property id="activity-step" disabled="True"/>
-       <property id="bar-style" disabled="True"/>
-               <property id="bar-style">
-         <displayable-values>
-           <value id="GTK_PROGRESS_CONTINUOUS" _name="Continuous"/>
-           <value id="GTK_PROGRESS_DISCRETE" _name="Discrete"/>
-         </displayable-values>
-       </property>
-        <property id="min-horizontal-bar-height" since="2.14"/>
-        <property id="min-horizontal-bar-width" since="2.14"/>
-        <property id="min-vertical-bar-height" since="2.14"/>
-        <property id="min-vertical-bar-width" since="2.14"/>
+        <property id="text" translatable="True" custom-layout="True"/>
+        <property id="show-text" since="3.0" needs-sync="True" custom-layout="True"/>
+        <property id="orientation" custom-layout="True"/>
+        <property id="inverted" custom-layout="True"/>
+        <property id="fraction" custom-layout="True"/>
+        <property id="pulse-step" custom-layout="True"/>
+        <property id="ellipsize" custom-layout="True"/>
       </properties>
     </glade-widget-class>
 
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 1c305c6..da8bdea 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -114,6 +114,7 @@ plugins/gtk+/glade-gtk-menu-tool-button.c
 plugins/gtk+/glade-gtk-message-dialog.c
 plugins/gtk+/glade-gtk-notebook.c
 plugins/gtk+/glade-gtk-paned.c
+plugins/gtk+/glade-gtk-progress-bar.c
 plugins/gtk+/glade-gtk-radio-button.c
 plugins/gtk+/glade-gtk-radio-menu-item.c
 plugins/gtk+/glade-gtk-recent-chooser-menu.c
@@ -145,6 +146,7 @@ plugins/gtk+/glade-label-editor.c
 plugins/gtk+/glade-message-dialog-editor.c
 plugins/gtk+/glade-model-data.c
 plugins/gtk+/glade-notebook-editor.c
+plugins/gtk+/glade-progress-bar-editor.c
 plugins/gtk+/glade-recent-action-editor.c
 plugins/gtk+/glade-recent-chooser-dialog-editor.c
 plugins/gtk+/glade-recent-chooser-editor.c
@@ -186,6 +188,7 @@ plugins/gtk+/gtk+.xml.in
 [type: gettext/glade]plugins/gtk+/glade-label-editor.ui
 [type: gettext/glade]plugins/gtk+/glade-message-dialog-editor.ui
 [type: gettext/glade]plugins/gtk+/glade-notebook-editor.ui
+[type: gettext/glade]plugins/gtk+/glade-progress-bar-editor.ui
 [type: gettext/glade]plugins/gtk+/glade-recent-action-editor.ui
 [type: gettext/glade]plugins/gtk+/glade-recent-chooser-dialog-editor.ui
 [type: gettext/glade]plugins/gtk+/glade-recent-chooser-editor.ui


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]