[gedit-cossa] samples: add spinner
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-cossa] samples: add spinner
- Date: Tue, 14 Jun 2011 11:42:10 +0000 (UTC)
commit d287b938d23c8a60a17cb47c4b78ddb6a5c33964
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Tue Jun 14 13:44:41 2011 +0200
samples: add spinner
po/POTFILES.in | 1 +
src/samples/Makefile.am | 1 +
src/samples/spinner.ui | 16 ++++++++++++++++
3 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index fb575d1..2a670d2 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -8,6 +8,7 @@ src/gedit-cossa-plugin.c
[type: gettext/glade]src/samples/notebook.ui
[type: gettext/glade]src/samples/progressbars.ui
[type: gettext/glade]src/samples/recent-chooser.ui
+[type: gettext/glade]src/samples/spinner.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 9bc6e5c..387da1f 100644
--- a/src/samples/Makefile.am
+++ b/src/samples/Makefile.am
@@ -8,6 +8,7 @@ samples_DATA = \
notebook.ui \
progressbars.ui \
recent-chooser.ui \
+ spinner.ui \
togglebuttons.ui \
textview.ui
diff --git a/src/samples/spinner.ui b/src/samples/spinner.ui
new file mode 100644
index 0000000..dd19abe
--- /dev/null
+++ b/src/samples/spinner.ui
@@ -0,0 +1,16 @@
+<?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">Spinner</property>
+ <child>
+ <object class="GtkSpinner" id="spinner1">
+ <property name="width_request">100</property>
+ <property name="height_request">100</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ </object>
+ </child>
+ </object>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]