summaryrefslogtreecommitdiffstats
path: root/test/control.glade
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-08-09 10:16:26 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-08-09 10:16:26 +0200
commit5f1a2731f3d6ad16214bd83095f8e1511cf1d76b (patch)
tree58d70e98b2440065e633382b7e82b1e7a71b2d67 /test/control.glade
parenteebd1ff77960a85a172878a286f8f3b0fad694d1 (diff)
downloaduca-5f1a2731f3d6ad16214bd83095f8e1511cf1d76b.tar.gz
uca-5f1a2731f3d6ad16214bd83095f8e1511cf1d76b.tar.bz2
uca-5f1a2731f3d6ad16214bd83095f8e1511cf1d76b.tar.xz
uca-5f1a2731f3d6ad16214bd83095f8e1511cf1d76b.zip
Use GtkBuilder.connect_signals and optimize data conversion
Diffstat (limited to 'test/control.glade')
-rw-r--r--test/control.glade91
1 files changed, 13 insertions, 78 deletions
diff --git a/test/control.glade b/test/control.glade
index 4847767..e20f9ff 100644
--- a/test/control.glade
+++ b/test/control.glade
@@ -1,4 +1,4 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk+" version="2.20"/>
<!-- interface-naming-policy project-wide -->
@@ -18,27 +18,26 @@
<property name="title" translatable="yes">Camera Control</property>
<property name="default_width">800</property>
<property name="default_height">600</property>
+ <signal name="destroy" handler="on_destroy"/>
+ <signal name="delete_event" handler="on_delete_event"/>
<child>
<object class="GtkVBox" id="vbox1">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<child>
<object class="GtkMenuBar" id="menubar1">
<property name="visible">True</property>
<child>
<object class="GtkMenuItem" id="menuitem1">
<property name="visible">True</property>
- <property name="use_action_appearance">False</property>
<property name="label" translatable="yes">_File</property>
<property name="use_underline">True</property>
<child type="submenu">
- <object class="GtkMenu" id="menu1">
+ <object class="GtkMenu" id="menu_file">
<property name="visible">True</property>
<child>
<object class="GtkImageMenuItem" id="imagemenuitem1">
<property name="label">gtk-new</property>
<property name="visible">True</property>
- <property name="use_action_appearance">False</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
</object>
@@ -47,7 +46,6 @@
<object class="GtkImageMenuItem" id="imagemenuitem2">
<property name="label">gtk-open</property>
<property name="visible">True</property>
- <property name="use_action_appearance">False</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
</object>
@@ -56,7 +54,6 @@
<object class="GtkImageMenuItem" id="imagemenuitem3">
<property name="label">gtk-save</property>
<property name="visible">True</property>
- <property name="use_action_appearance">False</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
</object>
@@ -65,7 +62,6 @@
<object class="GtkImageMenuItem" id="imagemenuitem4">
<property name="label">gtk-save-as</property>
<property name="visible">True</property>
- <property name="use_action_appearance">False</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
</object>
@@ -73,16 +69,15 @@
<child>
<object class="GtkSeparatorMenuItem" id="separatormenuitem1">
<property name="visible">True</property>
- <property name="use_action_appearance">False</property>
</object>
</child>
<child>
- <object class="GtkImageMenuItem" id="imagemenuitem5">
+ <object class="GtkImageMenuItem" id="imagemenuitem_quit">
<property name="label">gtk-quit</property>
<property name="visible">True</property>
- <property name="use_action_appearance">False</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
+ <signal name="activate" handler="gtk_main_quit"/>
</object>
</child>
</object>
@@ -90,76 +85,17 @@
</object>
</child>
<child>
- <object class="GtkMenuItem" id="menuitem2">
- <property name="visible">True</property>
- <property name="use_action_appearance">False</property>
- <property name="label" translatable="yes">_Edit</property>
- <property name="use_underline">True</property>
- <child type="submenu">
- <object class="GtkMenu" id="menu2">
- <property name="visible">True</property>
- <child>
- <object class="GtkImageMenuItem" id="imagemenuitem6">
- <property name="label">gtk-cut</property>
- <property name="visible">True</property>
- <property name="use_action_appearance">False</property>
- <property name="use_underline">True</property>
- <property name="use_stock">True</property>
- </object>
- </child>
- <child>
- <object class="GtkImageMenuItem" id="imagemenuitem7">
- <property name="label">gtk-copy</property>
- <property name="visible">True</property>
- <property name="use_action_appearance">False</property>
- <property name="use_underline">True</property>
- <property name="use_stock">True</property>
- </object>
- </child>
- <child>
- <object class="GtkImageMenuItem" id="imagemenuitem8">
- <property name="label">gtk-paste</property>
- <property name="visible">True</property>
- <property name="use_action_appearance">False</property>
- <property name="use_underline">True</property>
- <property name="use_stock">True</property>
- </object>
- </child>
- <child>
- <object class="GtkImageMenuItem" id="imagemenuitem9">
- <property name="label">gtk-delete</property>
- <property name="visible">True</property>
- <property name="use_action_appearance">False</property>
- <property name="use_underline">True</property>
- <property name="use_stock">True</property>
- </object>
- </child>
- </object>
- </child>
- </object>
- </child>
- <child>
- <object class="GtkMenuItem" id="menuitem3">
- <property name="visible">True</property>
- <property name="use_action_appearance">False</property>
- <property name="label" translatable="yes">_View</property>
- <property name="use_underline">True</property>
- </object>
- </child>
- <child>
<object class="GtkMenuItem" id="menuitem4">
<property name="visible">True</property>
- <property name="use_action_appearance">False</property>
<property name="label" translatable="yes">_Help</property>
<property name="use_underline">True</property>
<child type="submenu">
- <object class="GtkMenu" id="menu3">
+ <object class="GtkMenu" id="menu_help">
<property name="visible">True</property>
<child>
- <object class="GtkImageMenuItem" id="imagemenuitem10">
+ <object class="GtkImageMenuItem" id="imagemenuitem_about">
<property name="label">gtk-about</property>
<property name="visible">True</property>
- <property name="use_action_appearance">False</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
</object>
@@ -180,10 +116,10 @@
<child>
<object class="GtkToolButton" id="toolbutton_run">
<property name="visible">True</property>
- <property name="use_action_appearance">False</property>
<property name="label" translatable="yes">Run</property>
<property name="use_underline">True</property>
<property name="stock_id">gtk-media-play</property>
+ <signal name="clicked" handler="on_toolbutton_run_clicked"/>
</object>
<packing>
<property name="expand">False</property>
@@ -193,7 +129,6 @@
<child>
<object class="GtkToolButton" id="toolbutton_record">
<property name="visible">True</property>
- <property name="use_action_appearance">False</property>
<property name="label" translatable="yes">Record</property>
<property name="use_underline">True</property>
<property name="stock_id">gtk-media-record</property>
@@ -206,10 +141,10 @@
<child>
<object class="GtkToolButton" id="toolbutton_stop">
<property name="visible">True</property>
- <property name="use_action_appearance">False</property>
<property name="label" translatable="yes">Stop</property>
<property name="use_underline">True</property>
<property name="stock_id">gtk-media-stop</property>
+ <signal name="clicked" handler="on_toolbutton_stop_clicked"/>
</object>
<packing>
<property name="expand">False</property>
@@ -257,7 +192,7 @@
<property name="model">cameraproperties</property>
<child>
<object class="GtkTreeViewColumn" id="namecolumn">
- <property name="title" translatable="yes">Name</property>
+ <property name="title">Name</property>
<child>
<object class="GtkCellRendererText" id="namecell"/>
<attributes>
@@ -268,7 +203,7 @@
</child>
<child>
<object class="GtkTreeViewColumn" id="valuecolumn">
- <property name="title" translatable="yes">Value</property>
+ <property name="title">Value</property>
<child>
<object class="GtkCellRendererText" id="valuecell"/>
<attributes>
@@ -279,7 +214,7 @@
</child>
<child>
<object class="GtkTreeViewColumn" id="unitcolumn">
- <property name="title" translatable="yes">Unit</property>
+ <property name="title">Unit</property>
<child>
<object class="GtkCellRendererText" id="unitcell"/>
<attributes>