X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=clients%2Fgtk2%2Fmainwnd.desc;h=bb3c72b5307040ca95652ba8123447a2d4085540;hb=d1a6180d8b1dd4b41c1348ec6f84fde7d74d8cdf;hp=c5d653ec05a39cec6c1682a822a96db8ae4b7142;hpb=d3372da97568d5e1f35fa19787c8ec8af93a0435;p=doldaconnect.git diff --git a/clients/gtk2/mainwnd.desc b/clients/gtk2/mainwnd.desc index c5d653e..bb3c72b 100644 --- a/clients/gtk2/mainwnd.desc +++ b/clients/gtk2/mainwnd.desc @@ -5,6 +5,15 @@ ;hasaccels: y ;hascolumns: y ;hasrenderers: y +:menu name: srpopup var: y + $menuitem name: srhash label: "Search for this hash" sig: activate var: y + $menuitem name: srcopy label: "Copy this hash to clipboard" sig: activate var: y +end +:menu name: trpopup var: y + $menuitem name: trhash label: "Search for this hash" sig: activate var: y + $menuitem name: trcopy label: "Copy this hash to clipboard" sig: activate var: y + $menuitem name: trcancel label: "Cancel transfer" sig: activate +end :wnd name: wnd title: "Dolda Connect" var: y sig(delete_event):initdeath :vbox :menubar @@ -20,6 +29,7 @@ :menuitem label: Op_tions :menu $smenuitem name: prefmenu stock: PREFERENCES sig: activate + $menuitem name: lsres label: "_List resumable files" sig: activate end end end @@ -101,7 +111,7 @@ $hr pad: 5 $mlbl label: "Search _results:" mwidget: srchres :sw expand: TRUE fill: TRUE - :treeview name: srchres var: y rules: TRUE searchcol: 3 sig(row-activated): cb_main_srchres_activate + :treeview name: srchres var: y rules: TRUE searchcol: 3 sig(row-activated): cb_main_srchres_activate sig(popup-menu): cb_main_srpopup sig(button-release-event): cb_main_srpopup :tvcol title: "#" sortcol: 7 resizable: FALSE $textrend func: hidezerofunc funcdata: "(gpointer)7" end @@ -115,6 +125,7 @@ $textrend func: speedtimefunc end $tvcol title: "Rsp. time" text: 6 sortcol: 6 resizable: TRUE + $tvcol title: "Hash" text: 9 sortcol: 9 resizable: TRUE end end end @@ -123,7 +134,7 @@ :vbox nblabel: "_Downloads" $mlbl label: "_List of downloads:" mwidget: downloads :sw fill: TRUE expand: TRUE - :treeview name: downloads var: y sig(key-press-event): cb_main_trlist_keypress + :treeview name: downloads var: y sig(key-press-event): cb_main_trlist_keypress sig(popup-menu): cb_main_trpopup sig(button-release-event): cb_main_trpopup :tvcol title: "User Name" $pixbufrend stock_id: 8 $textrend text: 4 @@ -143,6 +154,7 @@ :tvcol title: "Error" $textrend func: transerrorinfo end + $tvcol title: "Hash" text: 12 end end end