[epiphany] location-entry: Rename _activate -> _focus
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] location-entry: Rename _activate -> _focus
- Date: Sat, 9 Sep 2017 21:43:35 +0000 (UTC)
commit d3c66bdd5f2c59598067f9a98d0cf5f15668ca3a
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Mon Aug 28 13:51:20 2017 -0500
location-entry: Rename _activate -> _focus
lib/widgets/ephy-location-entry.c | 6 +++---
lib/widgets/ephy-location-entry.h | 2 +-
src/ephy-window.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index bb57dad..3ea54a1 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -501,7 +501,7 @@ entry_key_press_cb (GtkEntry *entry,
/* Make sure the location is activated on CTRL+l even when the
* completion popup is shown and have an active keyboard grab.
*/
- ephy_location_entry_activate (location_entry);
+ ephy_location_entry_focus (location_entry);
}
/* FIXME: Why do we have to activate the location entry manually? */
@@ -910,7 +910,7 @@ ephy_location_entry_reset (EphyLocationEntry *entry)
}
/**
- * ephy_location_entry_activate:
+ * ephy_location_entry_focus:
* @entry: an #EphyLocationEntry widget
*
* Set focus on @entry and select the text whithin. This is called when the
@@ -918,7 +918,7 @@ ephy_location_entry_reset (EphyLocationEntry *entry)
*
**/
void
-ephy_location_entry_activate (EphyLocationEntry *entry)
+ephy_location_entry_focus (EphyLocationEntry *entry)
{
GtkWidget *toplevel, *widget = GTK_WIDGET (entry);
diff --git a/lib/widgets/ephy-location-entry.h b/lib/widgets/ephy-location-entry.h
index a826f75..950d061 100644
--- a/lib/widgets/ephy-location-entry.h
+++ b/lib/widgets/ephy-location-entry.h
@@ -52,7 +52,7 @@ gboolean ephy_location_entry_reset (EphyLocationEntr
void ephy_location_entry_undo_reset (EphyLocationEntry *entry);
-void ephy_location_entry_activate (EphyLocationEntry *entry);
+void ephy_location_entry_focus (EphyLocationEntry *entry);
void ephy_location_entry_set_bookmark_icon_state (EphyLocationEntry *entry,
EphyLocationEntryBookmarkIconState state);
diff --git a/src/ephy-window.c b/src/ephy-window.c
index ef794ad..749aad3 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -3249,7 +3249,7 @@ ephy_window_activate_location (EphyWindow *window)
title_widget = ephy_header_bar_get_title_widget (EPHY_HEADER_BAR (window->header_bar));
if (EPHY_IS_LOCATION_ENTRY (title_widget))
- ephy_location_entry_activate (EPHY_LOCATION_ENTRY (title_widget));
+ ephy_location_entry_focus (EPHY_LOCATION_ENTRY (title_widget));
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]