Opened 12 years ago

Closed 12 years ago

#3132 closed Enhancement (fixed)

Paste Clipboard contents into textbox in Add URL dialog

Reported by: DCMarkie Owned by: charles
Priority: Normal Milestone: 2.00
Component: GTK+ Client Version: 1.92
Severity: Normal Keywords:
Cc:

Description

Sine most people will be copying and pasting log URLs why not automatically paste the current url into the dialog.

Something like:

gtk_entry_set_text(e,gtk_clipboard_wait_for_text(gtk_clipboard_get(GDK_SELECTION_CLIPBOARD)));

Attachments (1)

add-dialog.c (16.5 KB) - added by DCMarkie 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by DCMarkie

comment:1 Changed 12 years ago by DCMarkie

That should say "paste the current clipboard contents" which we can assume is a url.

comment:2 Changed 12 years ago by charles

  • Milestone changed from None Set to 2.00
  • Owner set to charles
  • Status changed from new to assigned

comment:3 Changed 12 years ago by charles

  • Component changed from Transmission to GTK+ Client

This is a good idea. We should probably check the "primary" clipboard too, and also only add the contents from either clipboard if it's a URL or a magnet link.

comment:4 Changed 12 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed

fixed in trunk for 2.00 by r10464

Note: See TracTickets for help on using tickets.