gtk+ r22070 - in trunk: . docs/reference docs/reference/gtk docs/reference/gtk/tmpl gtk gtk/stock-icons/16 gtk/stock-icons/24
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r22070 - in trunk: . docs/reference docs/reference/gtk docs/reference/gtk/tmpl gtk gtk/stock-icons/16 gtk/stock-icons/24
- Date: Mon, 5 Jan 2009 18:14:59 +0000 (UTC)
Author: matthiasc
Date: Mon Jan 5 18:14:58 2009
New Revision: 22070
URL: http://svn.gnome.org/viewvc/gtk+?rev=22070&view=rev
Log:
Use a better caps lock warning icon
Added:
trunk/gtk/stock-icons/16/gtk-caps-lock-warning.png (contents, props changed)
trunk/gtk/stock-icons/24/gtk-caps-lock-warning.png (contents, props changed)
Modified:
trunk/ChangeLog
trunk/docs/reference/ChangeLog
trunk/docs/reference/gtk/Makefile.am
trunk/docs/reference/gtk/tmpl/gtkstock.sgml
trunk/gtk/gtkentry.c
trunk/gtk/gtkiconfactory.c
trunk/gtk/gtkstock.h
Modified: trunk/docs/reference/gtk/Makefile.am
==============================================================================
--- trunk/docs/reference/gtk/Makefile.am (original)
+++ trunk/docs/reference/gtk/Makefile.am Mon Jan 5 18:14:58 2009
@@ -181,6 +181,7 @@
$(top_srcdir)/gtk/stock-icons/20/gtk-apply.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-bold.png \
$(top_srcdir)/gtk/stock-icons/20/gtk-cancel.png \
+ $(top_srcdir)/gtk/stock-icons/24/gtk-caps-lock-warning.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-cdrom.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-clear.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-close.png \
Modified: trunk/docs/reference/gtk/tmpl/gtkstock.sgml
==============================================================================
--- trunk/docs/reference/gtk/tmpl/gtkstock.sgml (original)
+++ trunk/docs/reference/gtk/tmpl/gtkstock.sgml Mon Jan 5 18:14:58 2009
@@ -151,6 +151,15 @@
+<!-- ##### MACRO GTK_STOCK_CAPS_LOCK_WARNING ##### -->
+<para>
+The "Caps Lock Warning" icon.
+<inlinegraphic fileref="gtk-caps-lock-warning.png" format="PNG"></inlinegraphic>
+</para>
+
+ Since: 2.16
+
+
<!-- ##### MACRO GTK_STOCK_CDROM ##### -->
<para>
The "CD-Rom" item.
Modified: trunk/gtk/gtkentry.c
==============================================================================
--- trunk/gtk/gtkentry.c (original)
+++ trunk/gtk/gtkentry.c Mon Jan 5 18:14:58 2009
@@ -9339,7 +9339,7 @@
if (gtk_entry_get_storage_type (entry, GTK_ENTRY_ICON_SECONDARY) == GTK_IMAGE_EMPTY)
{
- gtk_entry_set_icon_from_stock (entry, GTK_ENTRY_ICON_SECONDARY, GTK_STOCK_INFO);
+ gtk_entry_set_icon_from_stock (entry, GTK_ENTRY_ICON_SECONDARY, GTK_STOCK_CAPS_LOCK_WARNING);
gtk_entry_set_icon_activatable (entry, GTK_ENTRY_ICON_SECONDARY, FALSE);
priv->caps_lock_warning_shown = TRUE;
}
Modified: trunk/gtk/gtkiconfactory.c
==============================================================================
--- trunk/gtk/gtkiconfactory.c (original)
+++ trunk/gtk/gtkiconfactory.c Mon Jan 5 18:14:58 2009
@@ -509,6 +509,7 @@
register_stock_icon (factory, GTK_STOCK_CONNECT);
register_stock_icon (factory, GTK_STOCK_DISCONNECT);
register_stock_icon (factory, GTK_STOCK_EDIT);
+ register_stock_icon (factory, GTK_STOCK_CAPS_LOCK_WARNING);
register_bidi_stock_icon (factory,
GTK_STOCK_MEDIA_FORWARD,
GTK_STOCK_MEDIA_FORWARD "-ltr",
Modified: trunk/gtk/gtkstock.h
==============================================================================
--- trunk/gtk/gtkstock.h (original)
+++ trunk/gtk/gtkstock.h Mon Jan 5 18:14:58 2009
@@ -84,6 +84,7 @@
#define GTK_STOCK_APPLY "gtk-apply"
#define GTK_STOCK_BOLD "gtk-bold"
#define GTK_STOCK_CANCEL "gtk-cancel"
+#define GTK_STOCK_CAPS_LOCK_WARNING "gtk-caps-lock-warning"
#define GTK_STOCK_CDROM "gtk-cdrom"
#define GTK_STOCK_CLEAR "gtk-clear"
#define GTK_STOCK_CLOSE "gtk-close"
Added: trunk/gtk/stock-icons/16/gtk-caps-lock-warning.png
==============================================================================
Binary file. No diff available.
Added: trunk/gtk/stock-icons/24/gtk-caps-lock-warning.png
==============================================================================
Binary file. No diff available.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]