Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
|
#include "config.h"
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <cairo-gobject.h>
#include "ev-recent-view.h"
#include "ev-file-helpers.h"
#include "gd-icon-utils.h"
#include "gd-two-lines-renderer.h"
#include "ev-document-misc.h"
#include "ev-document-model.h"
#include "ev-jobs.h"
#include "ev-job-scheduler.h"
Go to the source code of this file.
Data Structures | |
struct | _EvRecentViewPrivate |
struct | GetDocumentInfoAsyncData |
Macros | |
#define | ICON_VIEW_SIZE 128 |
#define | MAX_RECENT_VIEW_ITEMS 20 |
Functions | |
static void | get_document_info_async_data_free (GetDocumentInfoAsyncData *data) |
static gboolean | ev_recent_view_clear_async_data (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, EvRecentView *ev_recent_view) |
static void | ev_recent_view_clear_model (EvRecentView *ev_recent_view) |
static void | ev_recent_view_dispose (GObject *obj) |
static gint | compare_recent_items (GtkRecentInfo *a, GtkRecentInfo *b) |
static gboolean | on_query_tooltip_event (GtkWidget *widget, gint x, gint y, gboolean keyboard_tip, GtkTooltip *tooltip, EvRecentView *ev_recent_view) |
static gboolean | on_button_release_event (GtkWidget *view, GdkEventButton *event, EvRecentView *ev_recent_view) |
static gboolean | on_button_press_event (GtkWidget *view, GdkEventButton *event, EvRecentView *ev_recent_view) |
static void | on_icon_view_item_activated (GtkIconView *iconview, GtkTreePath *path, EvRecentView *ev_recent_view) |
static void | add_thumbnail_to_model (GetDocumentInfoAsyncData *data, cairo_surface_t *thumbnail) |
static void | save_document_thumbnail_in_cache (GetDocumentInfoAsyncData *data) |
static void | thumbnail_job_completed_callback (EvJobThumbnail *job, GetDocumentInfoAsyncData *data) |
static void | document_load_job_completed_callback (EvJobLoad *job_load, GetDocumentInfoAsyncData *data) |
static void | load_document_and_get_document_info (GetDocumentInfoAsyncData *data) |
static void | get_document_thumbnail_from_cache (GetDocumentInfoAsyncData *data) |
static void | get_document_info (GetDocumentInfoAsyncData *data) |
static void | document_query_info_cb (GFile *file, GAsyncResult *result, GetDocumentInfoAsyncData *data) |
static GetDocumentInfoAsyncData * | ev_recent_view_get_document_info (EvRecentView *ev_recent_view, const gchar *uri, GtkTreePath *path) |
static void | ev_recent_view_refresh (EvRecentView *ev_recent_view) |
static void | ev_recent_view_constructed (GObject *object) |
static void | ev_recent_view_init (EvRecentView *ev_recent_view) |
static void | ev_recent_view_class_init (EvRecentViewClass *klass) |
GtkWidget * | ev_recent_view_new (void) |
Variables | |
static guint | signals [NUM_SIGNALS] = { 0, } |
#define ICON_VIEW_SIZE 128 |
Definition at line 71 of file ev-recent-view.c.
#define MAX_RECENT_VIEW_ITEMS 20 |
Definition at line 72 of file ev-recent-view.c.
anonymous enum |
Enumerator | |
---|---|
ITEM_ACTIVATED | |
NUM_SIGNALS |
Definition at line 62 of file ev-recent-view.c.
enum EvRecentViewColumns |
Enumerator | |
---|---|
EV_RECENT_VIEW_COLUMN_URI | |
EV_RECENT_VIEW_COLUMN_PRIMARY_TEXT | |
EV_RECENT_VIEW_COLUMN_SECONDARY_TEXT | |
EV_RECENT_VIEW_COLUMN_ICON | |
EV_RECENT_VIEW_COLUMN_ASYNC_DATA | |
NUM_COLUMNS |
Definition at line 41 of file ev-recent-view.c.
|
static |
|
static |
|
static |
Definition at line 398 of file ev-recent-view.c.
|
static |
|
static |
Definition at line 876 of file ev-recent-view.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 848 of file ev-recent-view.c.
GtkWidget* ev_recent_view_new | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 67 of file ev-recent-view.c.