diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2009-09-06 01:46:45 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2009-09-06 01:46:45 +0200 |
commit | aeffd6bb3e77545ac6de777c4b0c9f3024ae654f (patch) | |
tree | 2ab74d4b3b47fd35ec3a3b3f2f115a7430f9f006 /portato/gui/templates/SearchWindow.ui | |
parent | bf86fab5906e1466984d072cc9a0309b38b55a43 (diff) | |
parent | 30b9a89aaf90e5ea0edeadee6d6f1a9f05c40703 (diff) | |
download | portato-aeffd6bb3e77545ac6de777c4b0c9f3024ae654f.tar.gz portato-aeffd6bb3e77545ac6de777c4b0c9f3024ae654f.tar.bz2 portato-aeffd6bb3e77545ac6de777c4b0c9f3024ae654f.zip |
Updated .ui files, so they work with the most up2date glade. Therefore moved action and menu declarations into an extra file and added some white magic to the UIBuilder class.
Diffstat (limited to 'portato/gui/templates/SearchWindow.ui')
-rw-r--r-- | portato/gui/templates/SearchWindow.ui | 36 |
1 files changed, 25 insertions, 11 deletions
diff --git a/portato/gui/templates/SearchWindow.ui b/portato/gui/templates/SearchWindow.ui index 26fa6a8..f62d259 100644 --- a/portato/gui/templates/SearchWindow.ui +++ b/portato/gui/templates/SearchWindow.ui @@ -1,6 +1,7 @@ <?xml version="1.0"?> -<!--Generated with glade3 3.4.1 on Fri Feb 29 00:01:28 2008 --> <interface> + <requires lib="gtk+" version="2.14"/> + <!-- interface-naming-policy toplevel-contextual --> <object class="GtkWindow" id="SearchWindow"> <property name="width_request">350</property> <property name="height_request">250</property> @@ -13,13 +14,14 @@ <object class="GtkVBox" id="vbox1"> <property name="visible">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="orientation">vertical</property> <child> <object class="GtkScrolledWindow" id="scrolledwindow2"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property> - <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property> + <property name="hscrollbar_policy">automatic</property> + <property name="vscrollbar_policy">automatic</property> <child> <object class="GtkTreeView" id="searchList"> <property name="visible">True</property> @@ -27,53 +29,65 @@ <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> <property name="headers_visible">False</property> <property name="rules_hint">True</property> - <signal handler="ok" name="row_activated"/> + <signal name="row_activated" handler="ok"/> </object> </child> </object> + <packing> + <property name="position">0</property> + </packing> </child> <child> <object class="GtkHButtonBox" id="hbuttonbox3"> <property name="visible">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> <property name="homogeneous">True</property> - <property name="layout_style">GTK_BUTTONBOX_SPREAD</property> + <property name="layout_style">spread</property> <child> <object class="GtkButton" id="cancelBtn"> + <property name="label">gtk-cancel</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="label">gtk-cancel</property> <property name="use_stock">True</property> - <signal handler="close" name="clicked"/> + <signal name="clicked" handler="close"/> </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> </child> <child> <object class="GtkButton" id="jumpBtn"> + <property name="label">gtk-jump-to</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="label">gtk-jump-to</property> <property name="use_stock">True</property> - <signal handler="jump" name="clicked"/> + <signal name="clicked" handler="jump"/> </object> <packing> + <property name="expand">False</property> + <property name="fill">False</property> <property name="position">1</property> </packing> </child> <child> <object class="GtkButton" id="okBtn"> + <property name="label">gtk-ok</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="label">gtk-ok</property> <property name="use_stock">True</property> - <signal handler="ok" name="clicked"/> + <signal name="clicked" handler="ok"/> </object> <packing> + <property name="expand">False</property> + <property name="fill">False</property> <property name="position">2</property> </packing> </child> |