X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=clients%2Fgtk2%2Fmainwnd.desc;h=9111d4fb2eb9d9b58ffbc64b4e0952ce210e8250;hb=e7e964564de02c1e2e73eb30fd72bf92a8526fd4;hp=337227c85bf75d6f8a6980a51e251ea7bbb82649;hpb=07644ebede47751a05615a016800fb0c149d21ba;p=doldaconnect.git diff --git a/clients/gtk2/mainwnd.desc b/clients/gtk2/mainwnd.desc index 337227c..9111d4f 100644 --- a/clients/gtk2/mainwnd.desc +++ b/clients/gtk2/mainwnd.desc @@ -29,6 +29,7 @@ end :menuitem label: Op_tions :menu $smenuitem name: prefmenu stock: PREFERENCES sig: activate + $menuitem name: lsres label: "_List resumable files" sig: activate end end end @@ -112,12 +113,12 @@ end :sw expand: TRUE fill: TRUE :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" + $textrend func: hidezerofunc funcdata: "GINT_TO_POINTER(7)" end $tvcol title: "Peer name" text: 2 sortcol: 2 resizable: TRUE $tvcol title: "File name" text: 3 sortcol: 3 resizable: TRUE expander: y :tvcol title: "Size" sortcol: 4 resizable: TRUE - $textrend func: transnicebytefunc funcdata: "(gpointer)4" + $textrend func: transnicebytefunc funcdata: "GINT_TO_POINTER(4)" end $tvcol title: "Slots" text: 5 sortcol: 5 resizable: TRUE :tvcol title: "Known speed" sortcol: 8 resizable: TRUE @@ -140,15 +141,18 @@ end end $tvcol title: "File Name" text: 5 :tvcol title: "Size" - $textrend func: transnicebytefunc funcdata: "(gpointer)6" + $textrend func: transnicebytefunc funcdata: "GINT_TO_POINTER(6)" end :tvcol title: "Position" #ifdef ENABLE_GTK2PBAR $custrend newfunc: custom_cell_renderer_progress_new attr(percentage): 9 #else - $textrend func: percentagefunc funcdata: "(gpointer)9" expand: FALSE + $textrend func: percentagefunc funcdata: "GINT_TO_POINTER(9)" expand: FALSE #endif - $textrend func: transnicebytefunc funcdata: "(gpointer)7" + $textrend func: transnicebytefunc funcdata: "GINT_TO_POINTER(7)" + end + :tvcol title: "Speed" + $textrend func: transspeedinfo end :tvcol title: "Error" $textrend func: transerrorinfo @@ -167,15 +171,18 @@ end end $tvcol title: "File Name" text: 5 :tvcol title: "Size" - $textrend func: transnicebytefunc funcdata: "(gpointer)6" + $textrend func: transnicebytefunc funcdata: "GINT_TO_POINTER(6)" end :tvcol title: "Position" #ifdef ENABLE_GTK2PBAR $custrend newfunc: custom_cell_renderer_progress_new attr(percentage): 9 #else - $textrend func: percentagefunc funcdata: "(gpointer)9" expand: FALSE + $textrend func: percentagefunc funcdata: "GINT_TO_POINTER(9)" expand: FALSE #endif - $textrend func: transnicebytefunc funcdata: "(gpointer)7" + $textrend func: transnicebytefunc funcdata: "GINT_TO_POINTER(7)" + end + :tvcol title: "Speed" + $textrend func: transspeedinfo end end end