Package: liferea
Version: 1.0.27-2
Severity: wishlist
Tags: patch

It would be nice if there was a shortcut added for the main interface
option "Mark All As Read", because it is a pain to have to click on the
menu whenever this needs to be done.

The attached patch does this; I have chosen CTRL-L as the shortcut,
which seems intuitive given the equivalent action of that key
combination in Emacs and shell command lines. It is trivial to choose a
different shortcut.

Cheers,

Paul.


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages liferea depends on:
ii  dbus-1-utils               1.0.2-1       simple interprocess messaging syst
ii  gconf2                     2.16.1-1      GNOME configuration database syste
ii  libatk1.0-0                1.12.4-2      The ATK accessibility toolkit
ii  libc6                      2.3.6.ds1-13  GNU C Library: Shared libraries
ii  libcairo2                  1.2.4-4       The Cairo 2D vector graphics libra
ii  libdbus-1-3                1.0.2-1       simple interprocess messaging syst
ii  libdbus-glib-1-2           0.71-3        simple interprocess messaging syst
ii  libfontconfig1             2.4.2-1.2     generic font configuration library
ii  libgconf2-4                2.16.1-1      GNOME configuration database syste
ii  libglib2.0-0               2.12.6-2      The GLib library of C routines
ii  libgtk2.0-0                2.8.20-7      The GTK+ graphical user interface 
ii  libice6                    1:1.0.1-2     X11 Inter-Client Exchange library
ii  liborbit2                  1:2.14.4-1    libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0              1.14.8-5      Layout and rendering of internatio
ii  libsm6                     1:1.0.1-3     X11 Session Management library
ii  libx11-6                   2:1.0.3-6     X11 client-side library
ii  libxcursor1                1.1.7-4       X cursor management library
ii  libxext6                   1:1.0.1-2     X11 miscellaneous extension librar
ii  libxfixes3                 1:4.0.1-5     X11 miscellaneous 'fixes' extensio
ii  libxi6                     1:1.0.1-4     X11 Input extension library
ii  libxinerama1               1:1.0.1-4.1   X11 Xinerama extension library
ii  libxml2                    2.6.27.dfsg-1 GNOME XML library
ii  libxrandr2                 2:1.1.0.2-5   X11 RandR extension library
ii  libxrender1                1:0.9.1-3     X Rendering Extension client libra
ii  liferea-xulrunner          1.0.27-2      xulrunner-based rendering library 
ii  zlib1g                     1:1.2.3-13    compression library - runtime

liferea recommends no packages.

-- no debconf information
diff -urN liferea-1.0.27.orig/src/interface.c liferea-1.0.27/src/interface.c
--- liferea-1.0.27.orig/src/interface.c 2007-03-17 23:14:01.000000000 +1100
+++ liferea-1.0.27/src/interface.c      2007-03-17 23:02:03.000000000 +1100
@@ -223,6 +223,9 @@
   gtk_widget_show (mark_all_as_read2);
   gtk_container_add (GTK_CONTAINER (menuitem2_menu), mark_all_as_read2);
   gtk_tooltips_set_tip (tooltips, mark_all_as_read2, _("Marks read every item 
of every subscription."), NULL);
+  gtk_widget_add_accelerator (mark_all_as_read2, "activate", accel_group,
+                              GDK_l, (GdkModifierType) GDK_CONTROL_MASK,
+                              GTK_ACCEL_VISIBLE);
 
   image2934 = gtk_image_new_from_stock ("gtk-apply", GTK_ICON_SIZE_MENU);
   gtk_widget_show (image2934);

Reply via email to