blam r630 - trunk/src
- From: cmartin svn gnome org
- To: svn-commits-list gnome org
- Subject: blam r630 - trunk/src
- Date: Sun, 7 Sep 2008 14:40:20 +0000 (UTC)
Author: cmartin
Date: Sun Sep 7 14:40:19 2008
New Revision: 630
URL: http://svn.gnome.org/viewvc/blam?rev=630&view=rev
Log:
Remove some code left over from Gecko.
WebKit does all of this for us now.
Modified:
trunk/src/Application.cs
Modified: trunk/src/Application.cs
==============================================================================
--- trunk/src/Application.cs (original)
+++ trunk/src/Application.cs Sun Sep 7 14:40:19 2008
@@ -316,43 +316,6 @@
}
#endif
-#if FALSE
- private void OnButtonPressEvent(object o, Gecko.DomMouseClickArgs args)
- {
- int button = Utils.GeckoGetMouseButton(args.DomEvent);
-
- if(button == 2){ // Right button
- Gtk.Menu popup = new Gtk.Menu();
-
- if(itemView.Widget.LinkMessage != null && itemView.Widget.LinkMessage != string.Empty){ // Make sure we're on a link.
- GtkUtil.AppendMenuItem(popup,
- Catalog.GetString("_Open link in browser"),
- new EventHandler(OpenLink), true);
- GtkUtil.AppendMenuItem(popup,
- Catalog.GetString("_Copy link location"),
- "gtk-copy", new EventHandler(CopyLink), true);
-
- popup.Popup();
- }
- }
-
- args.RetVal = 0;
- }
-#endif
-
- void CopyLink(object o, EventArgs args)
- {
- Clipboard clip = Clipboard.Get(Gdk.Atom.Intern("CLIPBOARD", true));
- // FIXME: WebKit
- //clip.Text = itemView.Widget.LinkMessage;
- }
-
- void OpenLink(object o, EventArgs args)
- {
- // FIXME: WebKit
- //Gnome.Url.Show(itemView.Widget.LinkMessage);
- }
-
private void ChannelSelected(IChannel channel)
{
if (channel == null) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]