blam r567 - in trunk: . src
- From: cmartin svn gnome org
- To: svn-commits-list gnome org
- Subject: blam r567 - in trunk: . src
- Date: Fri, 25 Apr 2008 18:57:31 +0100 (BST)
Author: cmartin
Date: Fri Apr 25 17:57:30 2008
New Revision: 567
URL: http://svn.gnome.org/viewvc/blam?rev=567&view=rev
Log:
Add option to mark all posts as read. (#400327)
Modified:
trunk/ChangeLog
trunk/src/Application.cs
trunk/src/blam.glade
Modified: trunk/src/Application.cs
==============================================================================
--- trunk/src/Application.cs (original)
+++ trunk/src/Application.cs Fri Apr 25 17:57:30 2008
@@ -533,6 +533,13 @@
MarkChannelAsReadActivated (channelList.GetSelected ());
}
+ public void MarkAllAsReadActivated(object o, EventArgs args)
+ {
+ foreach(Channel channel in CCollection.Channels){
+ MarkChannelAsReadActivated(channel);
+ }
+ }
+
public void RemoveChannelActivated(Channel channel)
{
if (channel != null) {
Modified: trunk/src/blam.glade
==============================================================================
--- trunk/src/blam.glade (original)
+++ trunk/src/blam.glade Fri Apr 25 17:57:30 2008
@@ -169,6 +169,14 @@
</child>
</widget>
</child>
+ <child>
+ <widget class="GtkMenuItem" id="markAllAsRead">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Mark All as _Read</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="MarkAllAsReadActivated"/>
+ </widget>
+ </child>
</widget>
</child>
</widget>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]