gtk+ r21938 - in trunk: . gtk



Author: matthiasc
Date: Sat Dec 27 01:16:52 2008
New Revision: 21938
URL: http://svn.gnome.org/viewvc/gtk+?rev=21938&view=rev

Log:
Emit property notification for the text-length property


Modified:
   trunk/ChangeLog
   trunk/gtk/gtkentry.c

Modified: trunk/gtk/gtkentry.c
==============================================================================
--- trunk/gtk/gtkentry.c	(original)
+++ trunk/gtk/gtkentry.c	Sat Dec 27 01:16:52 2008
@@ -1187,7 +1187,7 @@
    * GtkEntry::icon-pressed:
    * @entry: The entry on which the signal is emitted
    * @icon_pos: The position of the clicked icon
-   * @buttomotione mouse button clicked
+   * @event: the button press event
    *
    * The ::icon-pressed signal is emitted when an icon is clicked.
    *
@@ -1208,7 +1208,7 @@
    * GtkEntry::icon-released:
    * @entry: The entry on which the signal is emitted
    * @icon_pos: The position of the clicked icon
-   * @button: The mouse button clicked
+   * @event: the button release event
    *
    * The ::icon-released signal is emitted on the button release from a
    * mouse click.
@@ -4115,6 +4115,7 @@
 
   emit_changed (entry);
   g_object_notify (G_OBJECT (editable), "text");
+  g_object_notify (G_OBJECT (editable), "text-length");
 }
 
 static void
@@ -4165,6 +4166,7 @@
 
       emit_changed (entry);
       g_object_notify (G_OBJECT (editable), "text");
+      g_object_notify (G_OBJECT (editable), "text-length");
     }
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]