gtkmm r955 - in trunk: . gtk/src
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkmm r955 - in trunk: . gtk/src
- Date: Fri, 18 Jan 2008 11:54:42 +0000 (GMT)
Author: murrayc
Date: Fri Jan 18 11:54:42 2008
New Revision: 955
URL: http://svn.gnome.org/viewvc/gtkmm?rev=955&view=rev
Log:
2008-01-18 Murray Cumming <murrayc murrayc com>
* gtk/src/recentaction.hg:
Derive (and implement) from RecentChooser so this is actually usable.
This changes ABI (object size), but nobody could have been using this yet.
(Bug #505766, Denes Faluvegi)
Modified:
trunk/ChangeLog
trunk/gtk/src/recentaction.hg
Modified: trunk/gtk/src/recentaction.hg
==============================================================================
--- trunk/gtk/src/recentaction.hg (original)
+++ trunk/gtk/src/recentaction.hg Fri Jan 18 11:54:42 2008
@@ -18,6 +18,7 @@
*/
#include <gtkmm/action.h>
+#include <gtkmm/recentchooser.h>
#include <gtkmm/recentmanager.h>
#include <gtkmm/stockid.h>
@@ -36,15 +37,20 @@
* To construct a submenu showing recently used files, use a
* Gtk::RecentAction as the action for a <menuitem>. To construct a menu
* toolbutton showing the recently used files in the popup menu, use a
- * Gtk::RecentAction as the action for a <toolitem> element.
+ * Gtk::RecentAction as the action for a <toolitem> element.
+ *
+ * See also the methods in the RecentChooser base class.
*
* @newin2p12
*
* @ingroup RecentFiles
*/
-class RecentAction : public Gtk::Action
+class RecentAction
+ : public Gtk::Action,
+ public Gtk::RecentChooser
{
_CLASS_GOBJECT(RecentAction, GtkRecentAction, GTK_RECENT_ACTION, Gtk::Action, GtkAction)
+ _IMPLEMENTS_INTERFACE(RecentChooser)
protected:
_CTOR_DEFAULT
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]