be6c4511ee
git-svn-id: https://samskivert.googlecode.com/svn/trunk@669 6335cc39-0255-0410-8fd6-9bcaacd3b74c
539 lines
13 KiB
XML
539 lines
13 KiB
XML
<?xml version="1.0"?>
|
|
<GTK-Interface>
|
|
|
|
<project>
|
|
<name>Lookuplet</name>
|
|
<program_name>lookuplet</program_name>
|
|
<directory></directory>
|
|
<source_directory>src</source_directory>
|
|
<pixmaps_directory>pixmaps</pixmaps_directory>
|
|
<language>C++</language>
|
|
<gnome_support>True</gnome_support>
|
|
<gettext_support>True</gettext_support>
|
|
<output_translatable_strings>True</output_translatable_strings>
|
|
<translatable_strings_file>lookuplet.messages</translatable_strings_file>
|
|
</project>
|
|
|
|
<widget>
|
|
<class>GtkWindow</class>
|
|
<name>lookuplet</name>
|
|
<visible>False</visible>
|
|
<signal>
|
|
<name>destroy</name>
|
|
<handler>exit_lookuplet</handler>
|
|
<last_modification_time>Sat, 16 Mar 2002 21:42:31 GMT</last_modification_time>
|
|
</signal>
|
|
<title>lookuplet</title>
|
|
<type>GTK_WINDOW_TOPLEVEL</type>
|
|
<position>GTK_WIN_POS_NONE</position>
|
|
<modal>False</modal>
|
|
<allow_shrink>False</allow_shrink>
|
|
<allow_grow>True</allow_grow>
|
|
<auto_shrink>False</auto_shrink>
|
|
|
|
<widget>
|
|
<class>GtkHBox</class>
|
|
<name>mainbox</name>
|
|
<border_width>5</border_width>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>5</spacing>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<name>query</name>
|
|
<label>Query</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkEntry</class>
|
|
<name>query</name>
|
|
<can_focus>True</can_focus>
|
|
<signal>
|
|
<name>key_press_event</name>
|
|
<handler>on_query_key_press_event</handler>
|
|
<last_modification_time>Sat, 16 Mar 2002 21:46:25 GMT</last_modification_time>
|
|
</signal>
|
|
<signal>
|
|
<name>selection_received</name>
|
|
<handler>on_query_selection_received</handler>
|
|
<after>True</after>
|
|
<last_modification_time>Sat, 16 Mar 2002 21:46:37 GMT</last_modification_time>
|
|
</signal>
|
|
<editable>True</editable>
|
|
<text_visible>True</text_visible>
|
|
<text_max_length>0</text_max_length>
|
|
<text></text>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>prefs</name>
|
|
<signal>
|
|
<name>clicked</name>
|
|
<handler>on_prefs_clicked</handler>
|
|
<last_modification_time>Sat, 16 Mar 2002 21:44:18 GMT</last_modification_time>
|
|
</signal>
|
|
<label>Prefs</label>
|
|
<relief>GTK_RELIEF_NORMAL</relief>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GnomePropertyBox</class>
|
|
<name>properties</name>
|
|
<visible>False</visible>
|
|
<signal>
|
|
<name>apply</name>
|
|
<handler>on_properties_apply</handler>
|
|
<last_modification_time>Sat, 16 Mar 2002 22:00:53 GMT</last_modification_time>
|
|
</signal>
|
|
<title>Lookuplet Properties</title>
|
|
<position>GTK_WIN_POS_NONE</position>
|
|
<modal>False</modal>
|
|
<allow_shrink>False</allow_shrink>
|
|
<allow_grow>False</allow_grow>
|
|
<auto_shrink>False</auto_shrink>
|
|
|
|
<widget>
|
|
<class>GtkNotebook</class>
|
|
<child_name>GnomePropertyBox:notebook</child_name>
|
|
<name>notebook1</name>
|
|
<can_focus>True</can_focus>
|
|
<show_tabs>True</show_tabs>
|
|
<show_border>True</show_border>
|
|
<tab_pos>GTK_POS_TOP</tab_pos>
|
|
<scrollable>False</scrollable>
|
|
<tab_hborder>2</tab_hborder>
|
|
<tab_vborder>2</tab_vborder>
|
|
<popup_enable>False</popup_enable>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkVBox</class>
|
|
<name>vbox1</name>
|
|
<border_width>5</border_width>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>5</spacing>
|
|
|
|
<widget>
|
|
<class>GtkScrolledWindow</class>
|
|
<name>scrolledwindow1</name>
|
|
<height>200</height>
|
|
<hscrollbar_policy>GTK_POLICY_AUTOMATIC</hscrollbar_policy>
|
|
<vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
|
|
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
|
|
<vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkCList</class>
|
|
<name>bindings</name>
|
|
<can_focus>True</can_focus>
|
|
<signal>
|
|
<name>select_row</name>
|
|
<handler>on_bindings_select_row</handler>
|
|
<last_modification_time>Sat, 16 Mar 2002 21:57:08 GMT</last_modification_time>
|
|
</signal>
|
|
<signal>
|
|
<name>unselect_row</name>
|
|
<handler>on_bindings_unselect_row</handler>
|
|
<last_modification_time>Sat, 16 Mar 2002 21:57:15 GMT</last_modification_time>
|
|
</signal>
|
|
<columns>2</columns>
|
|
<column_widths>80,80</column_widths>
|
|
<selection_mode>GTK_SELECTION_SINGLE</selection_mode>
|
|
<show_titles>True</show_titles>
|
|
<shadow_type>GTK_SHADOW_IN</shadow_type>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<child_name>CList:title</child_name>
|
|
<name>key</name>
|
|
<label>Key</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<child_name>CList:title</child_name>
|
|
<name>name</name>
|
|
<label>Name</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkHBox</class>
|
|
<name>hbox2</name>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>5</spacing>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>delete</name>
|
|
<sensitive>False</sensitive>
|
|
<can_focus>True</can_focus>
|
|
<signal>
|
|
<name>clicked</name>
|
|
<handler>on_delete_clicked</handler>
|
|
<last_modification_time>Sat, 16 Mar 2002 22:00:28 GMT</last_modification_time>
|
|
</signal>
|
|
<label>Delete</label>
|
|
<relief>GTK_RELIEF_NORMAL</relief>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
<pack>GTK_PACK_END</pack>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>edit</name>
|
|
<sensitive>False</sensitive>
|
|
<can_focus>True</can_focus>
|
|
<signal>
|
|
<name>clicked</name>
|
|
<handler>on_edit_clicked</handler>
|
|
<last_modification_time>Sat, 16 Mar 2002 22:00:24 GMT</last_modification_time>
|
|
</signal>
|
|
<label>Edit...</label>
|
|
<relief>GTK_RELIEF_NORMAL</relief>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
<pack>GTK_PACK_END</pack>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>add</name>
|
|
<can_focus>True</can_focus>
|
|
<signal>
|
|
<name>clicked</name>
|
|
<handler>on_add_clicked</handler>
|
|
<last_modification_time>Sat, 16 Mar 2002 22:00:20 GMT</last_modification_time>
|
|
</signal>
|
|
<label>Add...</label>
|
|
<relief>GTK_RELIEF_NORMAL</relief>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
<pack>GTK_PACK_END</pack>
|
|
</child>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<child_name>Notebook:tab</child_name>
|
|
<name>blabel</name>
|
|
<label>Bindings</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GnomeDialog</class>
|
|
<name>binding</name>
|
|
<visible>False</visible>
|
|
<title>Edit Binding</title>
|
|
<type>GTK_WINDOW_TOPLEVEL</type>
|
|
<position>GTK_WIN_POS_NONE</position>
|
|
<modal>False</modal>
|
|
<allow_shrink>False</allow_shrink>
|
|
<allow_grow>False</allow_grow>
|
|
<auto_shrink>False</auto_shrink>
|
|
<auto_close>False</auto_close>
|
|
<hide_on_close>False</hide_on_close>
|
|
|
|
<widget>
|
|
<class>GtkVBox</class>
|
|
<child_name>GnomeDialog:vbox</child_name>
|
|
<name>dialog-vbox1</name>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>8</spacing>
|
|
<child>
|
|
<padding>4</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkHButtonBox</class>
|
|
<child_name>GnomeDialog:action_area</child_name>
|
|
<name>dialog-action_area1</name>
|
|
<layout_style>GTK_BUTTONBOX_END</layout_style>
|
|
<spacing>8</spacing>
|
|
<child_min_width>85</child_min_width>
|
|
<child_min_height>27</child_min_height>
|
|
<child_ipad_x>7</child_ipad_x>
|
|
<child_ipad_y>0</child_ipad_y>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>True</fill>
|
|
<pack>GTK_PACK_END</pack>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>ok</name>
|
|
<can_default>True</can_default>
|
|
<can_focus>True</can_focus>
|
|
<signal>
|
|
<name>clicked</name>
|
|
<handler>on_ok_clicked</handler>
|
|
<last_modification_time>Sat, 16 Mar 2002 22:37:22 GMT</last_modification_time>
|
|
</signal>
|
|
<stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>cancel</name>
|
|
<can_default>True</can_default>
|
|
<can_focus>True</can_focus>
|
|
<signal>
|
|
<name>clicked</name>
|
|
<handler>on_cancel_clicked</handler>
|
|
<last_modification_time>Sun, 17 Mar 2002 07:00:43 GMT</last_modification_time>
|
|
</signal>
|
|
<stock_button>GNOME_STOCK_BUTTON_CANCEL</stock_button>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkHBox</class>
|
|
<name>hbox3</name>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>5</spacing>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<name>klabel</name>
|
|
<label>Key:</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkEntry</class>
|
|
<name>key</name>
|
|
<can_focus>True</can_focus>
|
|
<signal>
|
|
<name>key_press_event</name>
|
|
<handler>on_key_key_press_event</handler>
|
|
<last_modification_time>Sun, 17 Mar 2002 08:12:10 GMT</last_modification_time>
|
|
</signal>
|
|
<editable>True</editable>
|
|
<text_visible>True</text_visible>
|
|
<text_max_length>0</text_max_length>
|
|
<text></text>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<name>nlabel</name>
|
|
<label>Name:</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkEntry</class>
|
|
<name>name</name>
|
|
<can_focus>True</can_focus>
|
|
<editable>True</editable>
|
|
<text_visible>True</text_visible>
|
|
<text_max_length>0</text_max_length>
|
|
<text></text>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<name>tlabel</name>
|
|
<label>Enter the URL to launch or command to invoke when this key combination is pressed:</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>True</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkHBox</class>
|
|
<name>hbox4</name>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>5</spacing>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkOptionMenu</class>
|
|
<name>type</name>
|
|
<can_focus>True</can_focus>
|
|
<items>URL
|
|
Exec
|
|
</items>
|
|
<initial_choice>0</initial_choice>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkEntry</class>
|
|
<name>argument</name>
|
|
<can_focus>True</can_focus>
|
|
<editable>True</editable>
|
|
<text_visible>True</text_visible>
|
|
<text_max_length>0</text_max_length>
|
|
<text></text>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<name>tlabel</name>
|
|
<label>The following can be used to insert the query terms into the URL or command line:
|
|
|
|
%T - the plain query terms
|
|
%U - the URL encoded query terms</label>
|
|
<justify>GTK_JUSTIFY_FILL</justify>
|
|
<wrap>True</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GnomeAbout</class>
|
|
<name>about</name>
|
|
<visible>False</visible>
|
|
<modal>True</modal>
|
|
<copyright>(C) 2001-2002 Michael Bayne</copyright>
|
|
<authors>Michael Bayne <mdb@samskivert.com>
|
|
</authors>
|
|
<comments>This GNOME applet provides a simple means by which web and other queries can be launched with minimal typing.
|
|
-
|
|
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</comments>
|
|
</widget>
|
|
|
|
</GTK-Interface>
|