~ubuntu-branches/ubuntu/karmic/gtkmm2.4/karmic

« back to all changes in this revision

Viewing changes to gtk/src/recentmanager.hg

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2009-09-22 10:14:59 UTC
  • mfrom: (1.2.42 upstream)
  • Revision ID: james.westby@ubuntu.com-20090922101459-pespb00fbm1mlqbd
Tags: 1:2.18.1-0ubuntu1
* New upstream release: (LP: #434355)
  - RecentManager: Undeprecate get_default().
  - Clipboard: wait_for_targets): Fix a crash.
  - Window: Added set_icon_name().
  - Require a recent pangomm.
  - Style: Fix a compiler error with the Intel C++ compiler.
  - Fix recently-introduced problems with disable-deprecated options.
* debian/control.in:
  - Bump libpangomm-1.4-dev depends and build-depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
16
16
 */
17
17
 
 
18
#m4 _PUSH(SECTION_CC_PRE_INCLUDES)
 
19
#undef GTK_DISABLE_DEPRECATED
 
20
#m4 _POP()
 
21
_CONFIGINCLUDE(gtkmmconfig.h)
 
22
 
18
23
#include <gdkmm/screen.h>
19
24
#include <gdkmm/pixbuf.h>
20
25
 
69
74
  _WRAP_CREATE()
70
75
 
71
76
  _WRAP_METHOD(static Glib::RefPtr<RecentManager> get_default(), gtk_recent_manager_get_default, refreturn)
72
 
  _WRAP_METHOD(static Glib::RefPtr<RecentManager> get_for_screen(const Glib::RefPtr<Gdk::Screen>& screen), gtk_recent_manager_get_for_screen, refreturn)
 
77
  _WRAP_METHOD(static Glib::RefPtr<RecentManager> get_for_screen(const Glib::RefPtr<Gdk::Screen>& screen), gtk_recent_manager_get_for_screen, refreturn, deprecated)
73
78
 
74
79
  /** Meta-data passed to add_item().  You should
75
80
   * use RecentManager::Data if you want to control the meta-data associated
85
90
   * - is_private: whether the file should be displayed only by the applications that have registered it
86
91
  */
87
92
  class Data
88
 
  { 
 
93
  {
89
94
  public:
90
95
    Glib::ustring display_name;
91
96
    Glib::ustring description;
92
 
    
 
97
 
93
98
    Glib::ustring mime_type;
94
 
    
 
99
 
95
100
    Glib::ustring app_name;
96
101
    Glib::ustring app_exec;
97
102
 
98
103
    std::vector<Glib::ustring> groups;
99
 
  
 
104
 
100
105
    bool is_private;
101
106
  };
102
107