pkgsrc/net/dcsharp/patches/patch-ab
kefren 1fdaa2fe77 Initial import of dcsharp-0.11.1
DC# is a file sharing client for the Direct Connect protocol, which allows
you to connect to hubs to chat and share files.
2008-04-25 16:10:27 +00:00

27 lines
1.2 KiB
Text

$NetBSD: patch-ab,v 1.1.1.1 2008/04/25 16:10:27 kefren Exp $
--- gtk/src/General/VisibleColumnsWindow.cs.orig 2008-04-24 12:24:49.000000000 +0300
+++ gtk/src/General/VisibleColumnsWindow.cs 2007-10-26 12:11:04.000000000 +0300
@@ -69,12 +69,12 @@
CellRendererToggle toggleRenderer = new CellRendererToggle();
toggleRenderer.Toggled += OnColumnToggled;
column = treeView.AppendColumn(null, toggleRenderer);
- column.SetCellDataFunc(toggleRenderer, SetToggleColumn);
+ column.SetCellDataFunc(toggleRenderer, (Gtk.TreeCellDataFunc)SetToggleColumn);
CellRendererText textRenderer = new CellRendererText();
column = treeView.AppendColumn(Catalog.GetString("Name"),
textRenderer);
- column.SetCellDataFunc(textRenderer, SetNameColumn);
+ column.SetCellDataFunc(textRenderer, (Gtk.TreeCellDataFunc)SetNameColumn);
// Model
store = new ListStore(typeof(TreeViewColumn));
@@ -90,7 +90,7 @@
#region Methods
- public static void ConnectToWidget(Widget widget, Action action,
+ public static void ConnectToWidget(Widget widget, Gtk.Action action,
TreeViewColumn[] columns, params TreeViewColumn[] inactiveColumns)
{
if (widget == null)