OSDN Git Service

Exit when all windows are destroyed. Add board list window.
[fukui-no-namari/fukui-no-namari.git] / src / data / board_window.glade
1 <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
2 <!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
3
4 <glade-interface>
5 <requires lib="gnome"/>
6 <requires lib="bonobo"/>
7
8 <widget class="GnomeApp" id="board_window">
9   <property name="visible">True</property>
10   <property name="title" translatable="yes">board_window</property>
11   <property name="type">GTK_WINDOW_TOPLEVEL</property>
12   <property name="window_position">GTK_WIN_POS_NONE</property>
13   <property name="modal">False</property>
14   <property name="default_width">600</property>
15   <property name="default_height">600</property>
16   <property name="resizable">True</property>
17   <property name="destroy_with_parent">False</property>
18   <property name="decorated">True</property>
19   <property name="skip_taskbar_hint">False</property>
20   <property name="skip_pager_hint">False</property>
21   <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
22   <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
23   <property name="enable_layout_config">True</property>
24   <signal name="destroy" handler="on_board_window_destroy" last_modification_time="Wed, 09 Aug 2006 23:41:09 GMT"/>
25
26   <child internal-child="dock">
27     <widget class="BonoboDock" id="bonobodock1">
28       <property name="visible">True</property>
29       <property name="allow_floating">True</property>
30
31       <child>
32         <widget class="BonoboDockItem" id="bonobodockitem1">
33           <property name="visible">True</property>
34           <property name="shadow_type">GTK_SHADOW_NONE</property>
35
36           <child>
37             <widget class="GtkMenuBar" id="menubar1">
38               <property name="visible">True</property>
39
40               <child>
41                 <widget class="GtkMenuItem" id="file1">
42                   <property name="visible">True</property>
43                   <property name="stock_item">GNOMEUIINFO_MENU_FILE_TREE</property>
44
45                   <child>
46                     <widget class="GtkMenu" id="file1_menu">
47
48                       <child>
49                         <widget class="GtkMenuItem" id="show_board_list">
50                           <property name="visible">True</property>
51                           <property name="label" translatable="yes">Show _Board List</property>
52                           <property name="use_underline">True</property>
53                           <signal name="activate" handler="on_show_board_list_activate" last_modification_time="Sun, 20 Aug 2006 12:50:27 GMT"/>
54                           <accelerator key="B" modifiers="GDK_SHIFT_MASK" signal="activate"/>
55                         </widget>
56                       </child>
57
58                       <child>
59                         <widget class="GtkImageMenuItem" id="load_local">
60                           <property name="visible">True</property>
61                           <property name="label" translatable="yes">_Load Local</property>
62                           <property name="use_underline">True</property>
63                           <signal name="activate" handler="on_load_local_activate" last_modification_time="Wed, 09 Aug 2006 23:33:12 GMT"/>
64                           <accelerator key="L" modifiers="GDK_CONTROL_MASK" signal="activate"/>
65
66                           <child internal-child="image">
67                             <widget class="GtkImage" id="image8">
68                               <property name="visible">True</property>
69                               <property name="stock">gtk-disconnect</property>
70                               <property name="icon_size">1</property>
71                               <property name="xalign">0.5</property>
72                               <property name="yalign">0.5</property>
73                               <property name="xpad">0</property>
74                               <property name="ypad">0</property>
75                             </widget>
76                           </child>
77                         </widget>
78                       </child>
79
80                       <child>
81                         <widget class="GtkImageMenuItem" id="get_remote">
82                           <property name="visible">True</property>
83                           <property name="label" translatable="yes">_Get Remote</property>
84                           <property name="use_underline">True</property>
85                           <signal name="activate" handler="on_get_remote_activate" last_modification_time="Wed, 09 Aug 2006 23:34:05 GMT"/>
86                           <accelerator key="R" modifiers="GDK_CONTROL_MASK" signal="activate"/>
87
88                           <child internal-child="image">
89                             <widget class="GtkImage" id="image9">
90                               <property name="visible">True</property>
91                               <property name="stock">gtk-connect</property>
92                               <property name="icon_size">1</property>
93                               <property name="xalign">0.5</property>
94                               <property name="yalign">0.5</property>
95                               <property name="xpad">0</property>
96                               <property name="ypad">0</property>
97                             </widget>
98                           </child>
99                         </widget>
100                       </child>
101
102                       <child>
103                         <widget class="GtkImageMenuItem" id="close">
104                           <property name="visible">True</property>
105                           <property name="stock_item">GNOMEUIINFO_MENU_CLOSE_ITEM</property>
106                           <signal name="activate" handler="on_close_activate" last_modification_time="Sun, 20 Aug 2006 13:00:02 GMT"/>
107                         </widget>
108                       </child>
109
110                       <child>
111                         <widget class="GtkSeparatorMenuItem" id="separator1">
112                           <property name="visible">True</property>
113                         </widget>
114                       </child>
115
116                       <child>
117                         <widget class="GtkImageMenuItem" id="quit">
118                           <property name="visible">True</property>
119                           <property name="stock_item">GNOMEUIINFO_MENU_EXIT_ITEM</property>
120                           <signal name="activate" handler="on_quit_activate" last_modification_time="Wed, 09 Aug 2006 23:42:32 GMT"/>
121                         </widget>
122                       </child>
123                     </widget>
124                   </child>
125                 </widget>
126               </child>
127
128               <child>
129                 <widget class="GtkMenuItem" id="edit1">
130                   <property name="visible">True</property>
131                   <property name="stock_item">GNOMEUIINFO_MENU_EDIT_TREE</property>
132                 </widget>
133               </child>
134
135               <child>
136                 <widget class="GtkMenuItem" id="view1">
137                   <property name="visible">True</property>
138                   <property name="stock_item">GNOMEUIINFO_MENU_VIEW_TREE</property>
139                 </widget>
140               </child>
141
142               <child>
143                 <widget class="GtkMenuItem" id="help1">
144                   <property name="visible">True</property>
145                   <property name="stock_item">GNOMEUIINFO_MENU_HELP_TREE</property>
146
147                   <child>
148                     <widget class="GtkMenu" id="help1_menu">
149
150                       <child>
151                         <widget class="GtkImageMenuItem" id="about1">
152                           <property name="visible">True</property>
153                           <property name="stock_item">GNOMEUIINFO_MENU_ABOUT_ITEM</property>
154                           <signal name="activate" handler="on_about1_activate" last_modification_time="Wed, 02 Aug 2006 06:14:00 GMT"/>
155                         </widget>
156                       </child>
157                     </widget>
158                   </child>
159                 </widget>
160               </child>
161             </widget>
162           </child>
163         </widget>
164         <packing>
165           <property name="placement">BONOBO_DOCK_TOP</property>
166           <property name="band">0</property>
167           <property name="position">0</property>
168           <property name="offset">0</property>
169           <property name="behavior">BONOBO_DOCK_ITEM_BEH_EXCLUSIVE|BONOBO_DOCK_ITEM_BEH_NEVER_VERTICAL|BONOBO_DOCK_ITEM_BEH_LOCKED</property>
170         </packing>
171       </child>
172
173       <child>
174         <widget class="BonoboDockItem" id="bonobodockitem2">
175           <property name="visible">True</property>
176           <property name="shadow_type">GTK_SHADOW_OUT</property>
177
178           <child>
179             <widget class="GtkToolbar" id="toolbar1">
180               <property name="visible">True</property>
181               <property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
182               <property name="toolbar_style">GTK_TOOLBAR_BOTH</property>
183               <property name="tooltips">True</property>
184               <property name="show_arrow">True</property>
185
186               <child>
187                 <widget class="GtkToolButton" id="load_local_button">
188                   <property name="visible">True</property>
189                   <property name="tooltip" translatable="yes">Load Local</property>
190                   <property name="label" translatable="yes">Load Local</property>
191                   <property name="use_underline">True</property>
192                   <property name="stock_id">gtk-disconnect</property>
193                   <property name="visible_horizontal">True</property>
194                   <property name="visible_vertical">True</property>
195                   <property name="is_important">False</property>
196                   <signal name="clicked" handler="on_load_local_activate" last_modification_time="Wed, 09 Aug 2006 23:36:57 GMT"/>
197                 </widget>
198                 <packing>
199                   <property name="expand">False</property>
200                   <property name="homogeneous">True</property>
201                 </packing>
202               </child>
203
204               <child>
205                 <widget class="GtkToolButton" id="get_remote_button">
206                   <property name="visible">True</property>
207                   <property name="tooltip" translatable="yes">Get Remote</property>
208                   <property name="label" translatable="yes">Get Remote</property>
209                   <property name="use_underline">True</property>
210                   <property name="stock_id">gtk-connect</property>
211                   <property name="visible_horizontal">True</property>
212                   <property name="visible_vertical">True</property>
213                   <property name="is_important">False</property>
214                   <signal name="clicked" handler="on_get_remote_activate" last_modification_time="Wed, 09 Aug 2006 23:37:43 GMT"/>
215                 </widget>
216                 <packing>
217                   <property name="expand">False</property>
218                   <property name="homogeneous">True</property>
219                 </packing>
220               </child>
221             </widget>
222           </child>
223         </widget>
224         <packing>
225           <property name="placement">BONOBO_DOCK_TOP</property>
226           <property name="band">1</property>
227           <property name="position">0</property>
228           <property name="offset">0</property>
229           <property name="behavior">BONOBO_DOCK_ITEM_BEH_EXCLUSIVE|BONOBO_DOCK_ITEM_BEH_LOCKED</property>
230         </packing>
231       </child>
232
233       <child>
234         <widget class="GtkScrolledWindow" id="scrolledwindow1">
235           <property name="visible">True</property>
236           <property name="can_focus">True</property>
237           <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
238           <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
239           <property name="shadow_type">GTK_SHADOW_NONE</property>
240           <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
241
242           <child>
243             <widget class="GtkTreeView" id="treeview">
244               <property name="visible">True</property>
245               <property name="can_focus">True</property>
246               <property name="headers_visible">True</property>
247               <property name="rules_hint">True</property>
248               <property name="reorderable">False</property>
249               <property name="enable_search">True</property>
250               <signal name="row_activated" handler="on_treeview_row_activated" last_modification_time="Wed, 09 Aug 2006 23:46:30 GMT"/>
251               <signal name="button_press_event" handler="on_treeview_button_press_event" last_modification_time="Wed, 09 Aug 2006 23:46:34 GMT"/>
252             </widget>
253           </child>
254         </widget>
255       </child>
256     </widget>
257     <packing>
258       <property name="padding">0</property>
259       <property name="expand">True</property>
260       <property name="fill">True</property>
261     </packing>
262   </child>
263
264   <child internal-child="appbar">
265     <widget class="GnomeAppBar" id="appbar1">
266       <property name="visible">True</property>
267       <property name="has_progress">True</property>
268       <property name="has_status">True</property>
269     </widget>
270     <packing>
271       <property name="padding">0</property>
272       <property name="expand">True</property>
273       <property name="fill">True</property>
274     </packing>
275   </child>
276 </widget>
277
278 <widget class="GtkMenu" id="popup_menu">
279
280   <child>
281     <widget class="GtkImageMenuItem" id="popup_menu_open">
282       <property name="visible">True</property>
283       <property name="stock_item">GNOMEUIINFO_MENU_OPEN_ITEM</property>
284       <signal name="activate" handler="on_popup_menu_open_activate" last_modification_time="Wed, 09 Aug 2006 23:44:38 GMT"/>
285     </widget>
286   </child>
287 </widget>
288
289 </glade-interface>