[evince] ev-window: Rename ev_window_update_actions() to ev_window_update_actions_sensitivity()
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] ev-window: Rename ev_window_update_actions() to ev_window_update_actions_sensitivity()
- Date: Thu, 3 Jan 2013 10:05:20 +0000 (UTC)
commit bd165383df4594eef35ef23a167b45c6c4085d27
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Wed Nov 7 19:56:23 2012 +0100
ev-window: Rename ev_window_update_actions() to ev_window_update_actions_sensitivity()
shell/ev-window.c | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 1981ab9..0947a9c 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -289,7 +289,7 @@ static const gchar *document_print_settings[] = {
GTK_PRINT_SETTINGS_OUTPUT_URI
};
-static void ev_window_update_actions (EvWindow *ev_window);
+static void ev_window_update_actions_sensitivity (EvWindow *ev_window);
static void ev_window_sidebar_visibility_changed_cb (EvSidebar *ev_sidebar,
GParamSpec *pspec,
EvWindow *ev_window);
@@ -482,11 +482,11 @@ ev_window_setup_action_sensitivity (EvWindow *ev_window)
ev_window_set_action_sensitive (ev_window, ZOOM_CONTROL_ACTION, has_pages);
ev_window_set_action_sensitive (ev_window, NAVIGATION_ACTION, FALSE);
- ev_window_update_actions (ev_window);
+ ev_window_update_actions_sensitivity (ev_window);
}
static void
-ev_window_update_actions (EvWindow *ev_window)
+ev_window_update_actions_sensitivity (EvWindow *ev_window)
{
EvView *view = EV_VIEW (ev_window->priv->view);
int n_pages = 0, page = -1;
@@ -944,7 +944,7 @@ ev_window_page_changed_cb (EvWindow *ev_window,
gint new_page,
EvDocumentModel *model)
{
- ev_window_update_actions (ev_window);
+ ev_window_update_actions_sensitivity (ev_window);
ev_window_update_find_status_message (ev_window);
@@ -3849,7 +3849,7 @@ ev_window_cmd_view_best_fit (GtkAction *action, EvWindow *ev_window)
} else {
ev_document_model_set_sizing_mode (ev_window->priv->model, EV_SIZING_FREE);
}
- ev_window_update_actions (ev_window);
+ ev_window_update_actions_sensitivity (ev_window);
}
static void
@@ -3868,7 +3868,7 @@ ev_window_cmd_view_page_width (GtkAction *action, EvWindow *ev_window)
} else {
ev_document_model_set_sizing_mode (ev_window->priv->model, EV_SIZING_FREE);
}
- ev_window_update_actions (ev_window);
+ ev_window_update_actions_sensitivity (ev_window);
}
static void
@@ -4421,7 +4421,7 @@ ev_window_set_page_mode (EvWindow *window,
gtk_container_add (GTK_CONTAINER (window->priv->scrolled_window),
child);
}
- ev_window_update_actions (window);
+ ev_window_update_actions_sensitivity (window);
}
@@ -4772,7 +4772,7 @@ ev_window_sizing_mode_changed_cb (EvDocumentModel *model,
static void
ev_window_zoom_changed_cb (EvDocumentModel *model, GParamSpec *pspec, EvWindow *ev_window)
{
- ev_window_update_actions (ev_window);
+ ev_window_update_actions_sensitivity (ev_window);
if (!ev_window->priv->metadata)
return;
@@ -5290,7 +5290,7 @@ ev_window_find_job_updated_cb (EvJobFind *job,
gint page,
EvWindow *ev_window)
{
- ev_window_update_actions (ev_window);
+ ev_window_update_actions_sensitivity (ev_window);
ev_window_update_find_status_message (ev_window);
}
@@ -5370,7 +5370,7 @@ ev_window_search_start (EvWindow *ev_window)
ev_window);
ev_job_scheduler_push_job (ev_window->priv->find_job, EV_JOB_PRIORITY_NONE);
} else {
- ev_window_update_actions (ev_window);
+ ev_window_update_actions_sensitivity (ev_window);
egg_find_bar_set_status_text (find_bar, NULL);
gtk_widget_queue_draw (GTK_WIDGET (ev_window->priv->view));
}
@@ -5398,7 +5398,7 @@ find_bar_visibility_changed_cb (EggFindBar *find_bar,
if (ev_window->priv->document &&
EV_IS_DOCUMENT_FIND (ev_window->priv->document)) {
ev_view_find_set_highlight_search (EV_VIEW (ev_window->priv->view), visible);
- ev_window_update_actions (ev_window);
+ ev_window_update_actions_sensitivity (ev_window);
if (visible)
ev_window_search_start (ev_window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]