← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~linuxdcpp-team/linuxdcpp/trunk] Rev 381: Added Ctrl+F4 to close a tab

 

------------------------------------------------------------
revno: 381
fixes bug(s): https://launchpad.net/bugs/355167
author: Windkracht8 <bartv@xxxxxxxxxxxxxxx>
committer: Steven Sheehy <steven.sheehy@xxxxxxxxx>
branch nick: trunk
timestamp: Thu 2010-08-26 20:41:14 -0500
message:
  Added Ctrl+F4 to close a tab
modified:
  Changelog.txt
  linux/mainwindow.cc


--
lp:linuxdcpp
https://code.launchpad.net/~linuxdcpp-team/linuxdcpp/trunk

Your team LinuxDC++ Team is subscribed to branch lp:linuxdcpp.
To unsubscribe from this branch go to https://code.launchpad.net/~linuxdcpp-team/linuxdcpp/trunk/+edit-subscription
=== modified file 'Changelog.txt'
--- Changelog.txt	2010-08-09 03:11:55 +0000
+++ Changelog.txt	2010-08-27 01:41:14 +0000
@@ -53,7 +53,8 @@
 [2010-05-22] lp#317346: Favorite Users tab merged from freedcpp. 
 [2010-06-06] lp#590359: Fix crash with two simultaneous Socket::resolve calls (Razzloss)
 [2010-08-05] lp#337576: Don't show partial finished downloads. (thanks Bart Vullings)
-[2010-08-08] Added a case-insensitive substring search for nick list.
+[2010-08-08] Added a case-insensitive substring search for nick list. (Steven)
+[2010-08-26] Added Ctrl+F4 to close a tab. (thanks Bart Vullings)
 
 *** 1.0.3 2009-02-01 ***
 [2008-08-10] lp#256236: Fixed a crash on startup when using auto-open options.

=== modified file 'linux/mainwindow.cc'
--- linux/mainwindow.cc	2010-07-27 04:26:37 +0000
+++ linux/mainwindow.cc	2010-08-27 01:41:14 +0000
@@ -881,6 +881,11 @@
 			mw->nextTab_gui();
 			return TRUE;
 		}
+		else if (event->keyval == GDK_F4)
+		{
+			onCloseClicked_gui(widget, data);
+			return TRUE;
+		}
 	}
 
 	return FALSE;