From: fredrik Date: Sat, 22 Oct 2005 23:55:05 +0000 (+0000) Subject: Add popup menu to search for hashes in SRs and transfers. X-Git-Tag: 0.1~161 X-Git-Url: http://dolda2000.com/gitweb/?a=commitdiff_plain;h=2e8363c82fd579fde64ab338d7497524e1c8b6b8;p=doldaconnect.git Add popup menu to search for hashes in SRs and transfers. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@414 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/clients/gtk2/mainwnd.desc b/clients/gtk2/mainwnd.desc index c5d653e..4df0157 100644 --- a/clients/gtk2/mainwnd.desc +++ b/clients/gtk2/mainwnd.desc @@ -5,6 +5,12 @@ ;hasaccels: y ;hascolumns: y ;hasrenderers: y +:menu name: srpopup var: y + $menuitem name: srhash label: "Search this hash" sig: activate var: y +end +:menu name: trpopup var: y + $menuitem name: trhash label: "Search this hash" sig: activate var: y +end :wnd name: wnd title: "Dolda Connect" var: y sig(delete_event):initdeath :vbox :menubar @@ -101,7 +107,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 +121,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 +130,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 +150,7 @@ :tvcol title: "Error" $textrend func: transerrorinfo end + $tvcol title: "Hash" text: 12 end end end