epiphany-extensions r1652 - in trunk/extensions: gestures sidebar
- From: wbolster svn gnome org
- To: svn-commits-list gnome org
- Subject: epiphany-extensions r1652 - in trunk/extensions: gestures sidebar
- Date: Tue, 8 Jan 2008 21:46:28 +0000 (GMT)
Author: wbolster
Date: Tue Jan 8 21:46:27 2008
New Revision: 1652
URL: http://svn.gnome.org/viewvc/epiphany-extensions?rev=1652&view=rev
Log:
Replaced all occurrences of 'print-preview-mode'. This property is now called
'is-print-preview', and the semantics have not changed.
Modified:
trunk/extensions/gestures/ephy-gestures-extension.c
trunk/extensions/sidebar/ephy-sidebar-extension.c
Modified: trunk/extensions/gestures/ephy-gestures-extension.c
==============================================================================
--- trunk/extensions/gestures/ephy-gestures-extension.c (original)
+++ trunk/extensions/gestures/ephy-gestures-extension.c Tue Jan 8 21:46:27 2008
@@ -290,7 +290,7 @@
window = EPHY_WINDOW (toplevel);
g_return_val_if_fail (EPHY_IS_WINDOW (window), handled);
- g_object_get (window, "print-preview-mode", &ppv_mode, NULL);
+ g_object_get (window, "is-print-preview", &ppv_mode, NULL);
if (ppv_mode) return handled;
button = ephy_embed_event_get_button (event);
Modified: trunk/extensions/sidebar/ephy-sidebar-extension.c
==============================================================================
--- trunk/extensions/sidebar/ephy-sidebar-extension.c (original)
+++ trunk/extensions/sidebar/ephy-sidebar-extension.c Tue Jan 8 21:46:27 2008
@@ -169,7 +169,7 @@
data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY);
- g_object_get (window, "print-preview-mode", &ppview_mode, NULL);
+ g_object_get (window, "is-print-preview", &ppview_mode, NULL);
g_value_init (&value, G_TYPE_BOOLEAN);
if (gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)))
@@ -198,7 +198,7 @@
GtkAction *action;
gboolean ppview_mode;
- g_object_get (window, "print-preview-mode", &ppview_mode, NULL);
+ g_object_get (window, "is-print-preview", &ppview_mode, NULL);
action = gtk_action_group_get_action (data->action_group, "ViewSidebar");
if (ppview_mode)
@@ -585,7 +585,7 @@
"ViewSidebar", "ViewSidebar",
GTK_UI_MANAGER_MENUITEM, FALSE);
- g_signal_connect (window, "notify::print-preview-mode",
+ g_signal_connect (window, "notify::is-print-preview",
G_CALLBACK (window_ppv_mode_notify_cb), data);
/* Add the sidebar and the current notebook to a
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]