Use a proper button box for the buttons in the reslist.
[doldaconnect.git] / clients / gtk2 / reslist.desc
1 ;prefix: reslist_
2 ;hascolumns: y
3 ;hasrenderers: y
4 :wnd name: wnd title: "Resumable files" var: y sig(delete-event): gtk_widget_hide_on_delete
5         :vbox
6                 :sw fill: TRUE expand: TRUE
7                         :treeview name: list var: y sig(cursor-changed): cb_reslist_list_cchange sig(row-activated): cb_reslist_list_activate sig(key-press-event): cb_reslist_list_keypress
8                                 $tvcol title: "Name" text: 3 sortcol: 3 resizable: TRUE
9                                 :tvcol title: "Size"
10                                         $textrend func: transnicebytefunc funcdata: "(gpointer)1"
11                                 end
12                                 :tvcol title: "Position"
13                                         $textrend func: transnicebytefunc funcdata: "(gpointer)2"
14                                 end
15                                 $tvcol title: "Hash" text: 5 sortcol: 5
16                         end
17                 end
18                 :hbtnbox layout: END
19                         $sbtn name: reload stock: REFRESH sig: clicked var: y
20                         $sbtn name: delete stock: DELETE sig: clicked sensitive: FALSE var: y
21                         $btn name: search label: "_Search for hash" sig: clicked sensitive: FALSE var: y
22                 end
23         end
24 end