[gedit-cossa] Add progress bars sample
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-cossa] Add progress bars sample
- Date: Tue, 14 Jun 2011 11:01:32 +0000 (UTC)
commit b008f1f3ae441aed55f15c4c7f5264e103ecb691
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Tue Jun 14 13:04:03 2011 +0200
Add progress bars sample
po/POTFILES.in | 1 +
src/samples/Makefile.am | 1 +
src/samples/progressbars.ui | 47 +++++++++++++++++++++++++++++++++++++++++++
3 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 7b46e5f..e54cd0c 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -5,6 +5,7 @@ src/gedit-cossa-plugin.c
[type: gettext/glade]src/samples/checkboxes.ui
[type: gettext/glade]src/samples/color-selector.ui
[type: gettext/glade]src/samples/filechoosers.ui
+[type: gettext/glade]src/samples/progressbars.ui
[type: gettext/glade]src/samples/recent-chooser.ui
[type: gettext/glade]src/samples/textview.ui
[type: gettext/glade]src/samples/togglebuttons.ui
diff --git a/src/samples/Makefile.am b/src/samples/Makefile.am
index 93d101f..801a51f 100644
--- a/src/samples/Makefile.am
+++ b/src/samples/Makefile.am
@@ -5,6 +5,7 @@ samples_DATA = \
checkboxes.ui \
color-selector.ui \
filechoosers.ui \
+ progressbars.ui \
recent-chooser.ui \
togglebuttons.ui \
textview.ui
diff --git a/src/samples/progressbars.ui b/src/samples/progressbars.ui
new file mode 100644
index 0000000..a0a5689
--- /dev/null
+++ b/src/samples/progressbars.ui
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.0 -->
+ <object class="GtkOffscreenWindow" id="preview-sample-toplevel">
+ <property name="can_focus">False</property>
+ <property name="title" translatable="yes">Progress Bars</property>
+ <child>
+ <object class="GtkGrid" id="grid1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="row_spacing">6</property>
+ <property name="column_spacing">6</property>
+ <property name="n_rows">2</property>
+ <property name="n_columns">1</property>
+ <child>
+ <object class="GtkProgressBar" id="progressbar1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="fraction">0.5</property>
+ <property name="text" translatable="yes">gedit cossa rocks!</property>
+ <property name="show_text">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkProgressBar" id="progressbar2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="fraction">0.5</property>
+ <property name="inverted">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">1</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]