2008-05-31 Alp Toker <alp@nuanti.com>
authoralp@webkit.org <alp@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 31 May 2008 20:46:53 +0000 (20:46 +0000)
committeralp@webkit.org <alp@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 31 May 2008 20:46:53 +0000 (20:46 +0000)
        Fix inconsistent zoom docs and enum name landed in r34249. Issue
        noticed by Marco Barisione.

        * webkit/webkitwebview.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34278 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/gtk/ChangeLog
WebKit/gtk/webkit/webkitwebview.cpp

index 96ee442049f293a4b24e6746743612e992edbf11..01061cb85584c1ccf2cc515ae4decc54dff0b1cb 100644 (file)
@@ -1,3 +1,10 @@
+2008-05-31  Alp Toker  <alp@nuanti.com>
+
+        Fix inconsistent zoom docs and enum name landed in r34249. Issue
+        noticed by Marco Barisione.
+
+        * webkit/webkitwebview.cpp:
+
 2008-05-30  Carlos Martín Nieto  <carlos@cmartin.tk>
 
         Reviewed by Alp Toker.
index 81c308495bcef707712ed67232c92170ba2674ac..69060d8a3784c9c7060054223781fca1bdc48b16 100644 (file)
@@ -101,7 +101,7 @@ enum {
     PROP_SETTINGS,
     PROP_TRANSPARENT,
     PROP_ZOOM_LEVEL,
-    PROP_ZOOM_TEXT_ONLY
+    PROP_FULL_CONTENT_ZOOM
 };
 
 static guint webkit_web_view_signals[LAST_SIGNAL] = { 0, };
@@ -240,7 +240,7 @@ static void webkit_web_view_get_property(GObject* object, guint prop_id, GValue*
     case PROP_ZOOM_LEVEL:
         g_value_set_float(value, webkit_web_view_get_zoom_level(webView));
         break;
-    case PROP_ZOOM_TEXT_ONLY:
+    case PROP_FULL_CONTENT_ZOOM:
         g_value_set_boolean(value, webkit_web_view_get_full_content_zoom(webView));
         break;
     default:
@@ -265,7 +265,7 @@ static void webkit_web_view_set_property(GObject* object, guint prop_id, const G
     case PROP_ZOOM_LEVEL:
         webkit_web_view_set_zoom_level(webView, g_value_get_float(value));
         break;
-    case PROP_ZOOM_TEXT_ONLY:
+    case PROP_FULL_CONTENT_ZOOM:
         webkit_web_view_set_full_content_zoom(webView, g_value_get_boolean(value));
         break;
     default:
@@ -1229,10 +1229,10 @@ static void webkit_web_view_class_init(WebKitWebViewClass* webViewClass)
                                                        1,
                                                        WEBKIT_PARAM_READWRITE));
 
-    g_object_class_install_property(objectClass, PROP_ZOOM_TEXT_ONLY,
+    g_object_class_install_property(objectClass, PROP_FULL_CONTENT_ZOOM,
                                     g_param_spec_boolean("full-content-zoom",
-                                                         "Text-only zoom",
-                                                         "Whether only the text size is changed when zooming",
+                                                         "Full content zoom",
+                                                         "Whether the full content is scaled when zooming",
                                                          FALSE,
                                                          WEBKIT_PARAM_READWRITE));