~ubuntu-branches/ubuntu/precise/evince/precise-updates

« back to all changes in this revision

Viewing changes to shell/ev-page-action-widget.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-06-02 10:30:12 UTC
  • mfrom: (1.1.45 upstream)
  • Revision ID: james.westby@ubuntu.com-20090602103012-liwypsthciko6ae9
Tags: 2.27.1-0ubuntu1
* New upstream version:
  New Features and UI Improvements:
  - Use GtkPrintOperation when printing for the backends that
    support rendering into a cairo context 
  - Recover previous session when running evince after a crash
  - Preliminary annotations support
  - Rename Print Setup menu entry as Page Setup for consistency with
    the GTK+ dialog title 
  - Added F3 as a find-next accelerator key 
  - Support the free Gna! unrar tool in comics backend
  - Add evince-previewer as a separate applicaton that implements
    the printing preview 
  Bug fixes:
  - Fix handling of the tmp folder 
  - Abort dnd operations originated in the same Evince window  
  - Disable bouncing during scrolling 
  - Fix build without gconftool-2 
  - Fix documentation build 
  - Fix error handling of broken documents 
  - Fix several memory leaks in comics backend 
  - Escape URIs for display 
  - Resync with libegg to remove deprecated GTK+ symbols
  - Correct check for exit status of commands in comics backend
  - Add -no-undefined flag for Cygwin build 
  - Use g_file_make_symbolic_link to create symlinks 
  - Delete the temp symlink created when opening a copy
  - Don't redraw again when zoom is set more than once to the same
    scale factor 
  - Fix print preview of empty selection 
  - Don't prevent unmounting in case the initial cwd is on an external device 
  - Create and load the document based on the mime-type provided by
    nautilus instead of using our own documents factory.
  - Fix endianess issues in dvi and tiff backends 
  - Fix memory leak in tiff backend 
  - Fix path where accels file is saved 
  - Fix fading animations 
  - Translate the categories in the nautilus properties tab
* debian/control.in:
  - updated libpoppler and gtk requirements
* debian/patches/01_launchpad.patch:
  - new version update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 *  Copyright (C) 2003, 2004 Marco Pesenti Gritti
3
 
 *  Copyright (C) 2003, 2004 Christian Persch
4
 
 *
5
 
 *  This program is free software; you can redistribute it and/or modify
6
 
 *  it under the terms of the GNU General Public License as published by
7
 
 *  the Free Software Foundation; either version 2, or (at your option)
8
 
 *  any later version.
9
 
 *
10
 
 *  This program is distributed in the hope that it will be useful,
11
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 
 *  GNU General Public License for more details.
14
 
 *
15
 
 *  You should have received a copy of the GNU General Public License
16
 
 *  along with this program; if not, write to the Free Software
17
 
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
 
 *
19
 
 */
20
 
 
21
 
#include "ev-page-cache.h"
22
 
 
23
 
#include <gtk/gtk.h>
24
 
 
25
 
#define EV_TYPE_PAGE_ACTION_WIDGET (ev_page_action_widget_get_type ())
26
 
#define EV_PAGE_ACTION_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_PAGE_ACTION_WIDGET, EvPageActionWidget))
27
 
 
28
 
typedef struct _EvPageActionWidget EvPageActionWidget;
29
 
typedef struct _EvPageActionWidgetClass EvPageActionWidgetClass;
30
 
 
31
 
struct _EvPageActionWidget
32
 
{
33
 
        GtkToolItem parent;
34
 
 
35
 
        GtkWidget *entry;
36
 
        GtkWidget *label;
37
 
        EvPageCache *page_cache;
38
 
        guint signal_id;
39
 
        GtkTreeModel *filter_model;
40
 
        GtkTreeModel *model;
41
 
};
42
 
 
43
 
struct _EvPageActionWidgetClass
44
 
{
45
 
        GtkToolItemClass parent_class;
46
 
 
47
 
        void (* activate_link) (EvPageActionWidget *page_action,
48
 
                                EvLink             *link);
49
 
};
50
 
 
51
 
GType ev_page_action_widget_get_type   (void);
52
 
 
53
 
void
54
 
ev_page_action_widget_update_model (EvPageActionWidget *proxy, GtkTreeModel *model);
55
 
 
56
 
void
57
 
ev_page_action_widget_set_page_cache (EvPageActionWidget *action_widget,
58
 
                                      EvPageCache        *page_cache);