[gtk+/icontheme: 2/6] Add non-standard stock icons as resources



commit 86277e7002047a793d74269422508e79e155eb39
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jun 17 21:32:50 2014 -0400

    Add non-standard stock icons as resources
    
    This will allow us to remove the builtin icon cache in the future
    while keeping the deprecated stock icons working.

 gtk/Makefile.am                                    |    6 +
 gtk/deprecated/gtkiconfactory.c                    |  171 +++++++++++++++++---
 gtk/deprecated/gtkstock.h                          |    2 +-
 gtk/resources/icons/16/gtk-caps-lock-warning.png   |  Bin 0 -> 275 bytes
 gtk/resources/icons/16/gtk-color-picker.png        |  Bin 0 -> 606 bytes
 gtk/resources/icons/16/gtk-connect.png             |  Bin 0 -> 692 bytes
 gtk/resources/icons/16/gtk-convert.png             |  Bin 0 -> 677 bytes
 gtk/resources/icons/16/gtk-disconnect.png          |  Bin 0 -> 715 bytes
 gtk/resources/icons/16/gtk-edit.png                |  Bin 0 -> 755 bytes
 gtk/resources/icons/16/gtk-index.png               |  Bin 0 -> 753 bytes
 .../icons/16/gtk-orientation-landscape.png         |  Bin 0 -> 756 bytes
 .../icons/16/gtk-orientation-portrait.png          |  Bin 0 -> 543 bytes
 .../icons/16/gtk-orientation-reverse-landscape.png |  Bin 0 -> 751 bytes
 .../icons/16/gtk-orientation-reverse-portrait.png  |  Bin 0 -> 557 bytes
 gtk/resources/icons/16/gtk-page-setup.png          |  Bin 0 -> 622 bytes
 gtk/resources/icons/16/gtk-preferences.png         |  Bin 0 -> 1014 bytes
 gtk/resources/icons/16/gtk-select-color.png        |  Bin 0 -> 735 bytes
 gtk/resources/icons/16/gtk-select-font.png         |  Bin 0 -> 706 bytes
 gtk/resources/icons/16/gtk-undelete-ltr.png        |  Bin 0 -> 962 bytes
 gtk/resources/icons/16/gtk-undelete-rtl.png        |  Bin 0 -> 952 bytes
 gtk/resources/icons/20/gtk-apply.png               |  Bin 0 -> 1002 bytes
 gtk/resources/icons/20/gtk-cancel.png              |  Bin 0 -> 1067 bytes
 gtk/resources/icons/20/gtk-no.png                  |  Bin 0 -> 952 bytes
 gtk/resources/icons/20/gtk-ok.png                  |  Bin 0 -> 963 bytes
 gtk/resources/icons/20/gtk-yes.png                 |  Bin 0 -> 1044 bytes
 gtk/resources/icons/24/gtk-caps-lock-warning.png   |  Bin 0 -> 360 bytes
 gtk/resources/icons/24/gtk-color-picker.png        |  Bin 0 -> 891 bytes
 gtk/resources/icons/24/gtk-connect.png             |  Bin 0 -> 946 bytes
 gtk/resources/icons/24/gtk-convert.png             |  Bin 0 -> 1413 bytes
 gtk/resources/icons/24/gtk-disconnect.png          |  Bin 0 -> 852 bytes
 gtk/resources/icons/24/gtk-edit.png                |  Bin 0 -> 1120 bytes
 gtk/resources/icons/24/gtk-index.png               |  Bin 0 -> 960 bytes
 .../icons/24/gtk-orientation-landscape.png         |  Bin 0 -> 1097 bytes
 .../icons/24/gtk-orientation-portrait.png          |  Bin 0 -> 931 bytes
 .../icons/24/gtk-orientation-reverse-landscape.png |  Bin 0 -> 1059 bytes
 .../icons/24/gtk-orientation-reverse-portrait.png  |  Bin 0 -> 940 bytes
 gtk/resources/icons/24/gtk-page-setup.png          |  Bin 0 -> 1081 bytes
 gtk/resources/icons/24/gtk-preferences.png         |  Bin 0 -> 1691 bytes
 gtk/resources/icons/24/gtk-select-color.png        |  Bin 0 -> 993 bytes
 gtk/resources/icons/24/gtk-select-font.png         |  Bin 0 -> 1109 bytes
 gtk/resources/icons/24/gtk-undelete-ltr.png        |  Bin 0 -> 1692 bytes
 gtk/resources/icons/24/gtk-undelete-rtl.png        |  Bin 0 -> 1722 bytes
 gtk/resources/icons/32/gtk-dnd-multiple.png        |  Bin 0 -> 1215 bytes
 gtk/resources/icons/32/gtk-dnd.png                 |  Bin 0 -> 1349 bytes
 44 files changed, 155 insertions(+), 24 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 3eca296..36ff71a 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -1402,6 +1402,12 @@ gtk.gresource.xml: Makefile.am
          n=`basename $$f`; \
          echo -e "    <file compressed=\"true\">ui/$$n</file>" >> $@; \
        done; \
+       for s in 16 20 24 32; do \
+         for f in $(srcdir)/resources/icons/$$s/*.png; do \
+           n=`basename $$f`; \
+           echo -e "    <file>icons/$$s/$$n</file>" >> $@; \
+         done; \
+       done; \
        echo -e "  </gresource>" >> $@; \
        echo -e "</gresources>" >> $@;
 
diff --git a/gtk/deprecated/gtkiconfactory.c b/gtk/deprecated/gtkiconfactory.c
index 47bf9cc..ce0ce92 100644
--- a/gtk/deprecated/gtkiconfactory.c
+++ b/gtk/deprecated/gtkiconfactory.c
@@ -484,6 +484,97 @@ register_stock_icon (GtkIconFactory *factory,
 }
 
 static void
+register_stock_icon_resources (GtkIconFactory *factory,
+                               const gchar    *stock_id,
+                               GtkIconSize     size1,
+                               const gchar    *resource_path1,
+                               GtkIconSize     size2,
+                               const gchar    *resource_path2)
+{
+  GtkIconSet *set = gtk_icon_set_new ();
+  GtkIconSource source = GTK_ICON_SOURCE_INIT (TRUE, TRUE, FALSE);
+
+  source.type = GTK_ICON_SOURCE_PIXBUF;
+  source.source.pixbuf = gdk_pixbuf_new_from_resource (resource_path1, NULL);
+  source.direction = GTK_TEXT_DIR_NONE;
+  source.size = size1;
+  gtk_icon_set_add_source (set, &source);
+
+  source.any_size = TRUE;
+  source.type = GTK_ICON_SOURCE_PIXBUF;
+  source.source.pixbuf = gdk_pixbuf_new_from_resource (resource_path2, NULL);
+  source.direction = GTK_TEXT_DIR_NONE;
+  source.size = size2;
+  gtk_icon_set_add_source (set, &source);
+
+  gtk_icon_factory_add (factory, stock_id, set);
+  gtk_icon_set_unref (set);
+}
+
+static void
+register_stock_icon_resource (GtkIconFactory *factory,
+                              const gchar    *stock_id,
+                              GtkIconSize     size,
+                              const gchar    *resource_path)
+{
+  GtkIconSet *set = gtk_icon_set_new ();
+  GtkIconSource source = GTK_ICON_SOURCE_INIT (TRUE, TRUE, TRUE);
+
+  source.type = GTK_ICON_SOURCE_PIXBUF;
+  source.source.pixbuf = gdk_pixbuf_new_from_resource (resource_path, NULL);
+  source.direction = GTK_TEXT_DIR_NONE;
+  source.size = size;
+  gtk_icon_set_add_source (set, &source);
+
+  gtk_icon_factory_add (factory, stock_id, set);
+  gtk_icon_set_unref (set);
+}
+
+static void
+register_bidi_stock_icon_resources (GtkIconFactory *factory,
+                                    const gchar    *stock_id,
+                                    GtkIconSize     size1,
+                                    const gchar    *resource_path1,
+                                    const gchar    *resource_path1r,
+                                    GtkIconSize     size2,
+                                    const gchar    *resource_path2,
+                                    const gchar    *resource_path2r)
+{
+  GtkIconSet *set = gtk_icon_set_new ();
+  GtkIconSource source = GTK_ICON_SOURCE_INIT (FALSE, TRUE, FALSE);
+
+  source.type = GTK_ICON_SOURCE_PIXBUF;
+  source.source.pixbuf = gdk_pixbuf_new_from_resource (resource_path1, NULL);
+  source.direction = GTK_TEXT_DIR_LTR;
+  source.size = size1;
+  gtk_icon_set_add_source (set, &source);
+
+  source.type = GTK_ICON_SOURCE_PIXBUF;
+  source.source.pixbuf = gdk_pixbuf_new_from_resource (resource_path1r, NULL);
+  source.direction = GTK_TEXT_DIR_RTL;
+  source.size = size1;
+  gtk_icon_set_add_source (set, &source);
+
+  source.any_size = TRUE;
+  source.type = GTK_ICON_SOURCE_PIXBUF;
+  source.source.pixbuf = gdk_pixbuf_new_from_resource (resource_path2, NULL);
+  source.direction = GTK_TEXT_DIR_LTR;
+  source.size = size2;
+  gtk_icon_set_add_source (set, &source);
+
+  source.any_size = TRUE;
+  source.type = GTK_ICON_SOURCE_PIXBUF;
+  source.source.pixbuf = gdk_pixbuf_new_from_resource (resource_path2r, NULL);
+  source.direction = GTK_TEXT_DIR_RTL;
+  source.size = size2;
+  gtk_icon_set_add_source (set, &source);
+
+
+  gtk_icon_factory_add (factory, stock_id, set);
+  gtk_icon_set_unref (set);
+}
+
+static void
 register_bidi_stock_icon (GtkIconFactory *factory,
                          const gchar    *stock_id,
                           const gchar    *icon_name)
@@ -515,13 +606,13 @@ get_default_icons (GtkIconFactory *factory)
   register_stock_icon (factory, GTK_STOCK_DIALOG_INFO, "dialog-information");
   register_stock_icon (factory, GTK_STOCK_DIALOG_QUESTION, "dialog-question");
   register_stock_icon (factory, GTK_STOCK_DIALOG_WARNING, "dialog-warning");
-  register_stock_icon (factory, GTK_STOCK_DND, GTK_STOCK_DND);
-  register_stock_icon (factory, GTK_STOCK_DND_MULTIPLE, GTK_STOCK_DND_MULTIPLE);
-  register_stock_icon (factory, GTK_STOCK_APPLY, GTK_STOCK_APPLY);
-  register_stock_icon (factory, GTK_STOCK_CANCEL, GTK_STOCK_CANCEL);
-  register_stock_icon (factory, GTK_STOCK_NO, GTK_STOCK_NO);
-  register_stock_icon (factory, GTK_STOCK_OK, GTK_STOCK_OK);
-  register_stock_icon (factory, GTK_STOCK_YES, GTK_STOCK_YES);
+  register_stock_icon_resource (factory, GTK_STOCK_DND, GTK_ICON_SIZE_DND, 
"/org/gtk/libgtk/icons/32/gtk-dnd.png");
+  register_stock_icon_resource (factory, GTK_STOCK_DND_MULTIPLE, GTK_ICON_SIZE_DND, 
"/org/gtk/libgtk/icons/32/gtk-dnd-multiple.png");
+  register_stock_icon_resource (factory, GTK_STOCK_APPLY, GTK_ICON_SIZE_BUTTON, 
"/org/gtk/libgtk/icons/20/gtk-apply.png");
+  register_stock_icon_resource (factory, GTK_STOCK_CANCEL, GTK_ICON_SIZE_BUTTON, 
"/org/gtk/libgtk/icons/20/gtk-cancel.png");
+  register_stock_icon_resource (factory, GTK_STOCK_NO, GTK_ICON_SIZE_BUTTON, 
"/org/gtk/libgtk/icons/20/gtk-no.png");
+  register_stock_icon_resource (factory, GTK_STOCK_OK, GTK_ICON_SIZE_BUTTON, 
"/org/gtk/libgtk/icons/20/gtk-ok.png");
+  register_stock_icon_resource (factory, GTK_STOCK_YES, GTK_ICON_SIZE_BUTTON, 
"/org/gtk/libgtk/icons/20/gtk-yes.png");
   register_stock_icon (factory, GTK_STOCK_CLOSE, "window-close");
   register_stock_icon (factory, GTK_STOCK_ADD, "list-add");
   register_stock_icon (factory, GTK_STOCK_JUSTIFY_CENTER, "format-justify-center");
@@ -530,14 +621,18 @@ get_default_icons (GtkIconFactory *factory)
   register_stock_icon (factory, GTK_STOCK_JUSTIFY_RIGHT, "format-justify-right");
   register_stock_icon (factory, GTK_STOCK_GOTO_BOTTOM, "go-bottom");
   register_stock_icon (factory, GTK_STOCK_CDROM, "media-optical");
-  register_stock_icon (factory, GTK_STOCK_CONVERT, GTK_STOCK_CONVERT);
+  register_stock_icon_resources (factory, GTK_STOCK_CONVERT,
+      GTK_ICON_SIZE_MENU, "/org/gtk/libgtk/icons/16/gtk-convert.png",
+      GTK_ICON_SIZE_LARGE_TOOLBAR, "/org/gtk/libgtk/icons/24/gtk-convert.png");
   register_stock_icon (factory, GTK_STOCK_COPY, "edit-copy");
   register_stock_icon (factory, GTK_STOCK_CUT, "edit-cut");
   register_stock_icon (factory, GTK_STOCK_GO_DOWN, "go-down");
   register_stock_icon (factory, GTK_STOCK_EXECUTE, "system-run");
   register_stock_icon (factory, GTK_STOCK_QUIT, "application-exit");
   register_bidi_stock_icon (factory, GTK_STOCK_GOTO_FIRST, "go-first");
-  register_stock_icon (factory, GTK_STOCK_SELECT_FONT, GTK_STOCK_SELECT_FONT);
+  register_stock_icon_resources (factory, GTK_STOCK_SELECT_FONT,
+      GTK_ICON_SIZE_MENU, "/org/gtk/libgtk/icons/16/gtk-select-font.png",
+      GTK_ICON_SIZE_LARGE_TOOLBAR, "/org/gtk/libgtk/icons/24/gtk-select-font.png");
   register_stock_icon (factory, GTK_STOCK_FULLSCREEN, "view-fullscreen");
   register_stock_icon (factory, GTK_STOCK_LEAVE_FULLSCREEN, "view-restore");
   register_stock_icon (factory, GTK_STOCK_HARDDISK, "drive-harddisk");
@@ -551,13 +646,25 @@ get_default_icons (GtkIconFactory *factory)
   register_stock_icon (factory, GTK_STOCK_NETWORK, "network-idle");
   register_stock_icon (factory, GTK_STOCK_NEW, "document-new");
   register_stock_icon (factory, GTK_STOCK_OPEN, "document-open");
-  register_stock_icon (factory, GTK_STOCK_ORIENTATION_PORTRAIT, GTK_STOCK_ORIENTATION_PORTRAIT);
-  register_stock_icon (factory, GTK_STOCK_ORIENTATION_LANDSCAPE, GTK_STOCK_ORIENTATION_LANDSCAPE);
-  register_stock_icon (factory, GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT, 
GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT);
-  register_stock_icon (factory, GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE, 
GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE);
-  register_stock_icon (factory, GTK_STOCK_PAGE_SETUP, GTK_STOCK_PAGE_SETUP);
+  register_stock_icon_resources (factory, GTK_STOCK_ORIENTATION_PORTRAIT,
+      GTK_ICON_SIZE_MENU, "/org/gtk/libgtk/icons/16/gtk-orientation-portrait.png",
+      GTK_ICON_SIZE_LARGE_TOOLBAR, "/org/gtk/libgtk/icons/24/gtk-orientation-portrait.png");
+  register_stock_icon_resources (factory, GTK_STOCK_ORIENTATION_LANDSCAPE,
+      GTK_ICON_SIZE_MENU, "/org/gtk/libgtk/icons/16/gtk-orientation-landscape.png",
+      GTK_ICON_SIZE_LARGE_TOOLBAR, "/org/gtk/libgtk/icons/24/gtk-orientation-landscape.png");
+  register_stock_icon_resources (factory, GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT,
+      GTK_ICON_SIZE_MENU, "/org/gtk/libgtk/icons/16/gtk-orientation-reverse-portrait.png",
+      GTK_ICON_SIZE_LARGE_TOOLBAR, "/org/gtk/libgtk/icons/24/gtk-orientation-reverse-portrait.png");
+  register_stock_icon_resources (factory, GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE,
+      GTK_ICON_SIZE_MENU, "/org/gtk/libgtk/icons/16/gtk-orientation-reverse-landscape.png",
+      GTK_ICON_SIZE_LARGE_TOOLBAR, "/org/gtk/libgtk/icons/24/gtk-orientation-reverse-landscape.png");
+  register_stock_icon_resources (factory, GTK_STOCK_PAGE_SETUP,
+      GTK_ICON_SIZE_MENU, "/org/gtk/libgtk/icons/16/gtk-page-setup.png",
+      GTK_ICON_SIZE_LARGE_TOOLBAR, "/org/gtk/libgtk/icons/24/gtk-page-setup.png");
   register_stock_icon (factory, GTK_STOCK_PASTE, "edit-paste");
-  register_stock_icon (factory, GTK_STOCK_PREFERENCES, GTK_STOCK_PREFERENCES);
+  register_stock_icon_resources (factory, GTK_STOCK_PREFERENCES,
+      GTK_ICON_SIZE_MENU, "/org/gtk/libgtk/icons/16/gtk-preferences.png",
+      GTK_ICON_SIZE_LARGE_TOOLBAR, "/org/gtk/libgtk/icons/24/gtk-preferences.png");
   register_stock_icon (factory, GTK_STOCK_PRINT, "document-print");
   register_stock_icon (factory, GTK_STOCK_PRINT_ERROR, "printer-error");
   register_stock_icon (factory, GTK_STOCK_PRINT_PAUSED, "printer-paused");
@@ -587,16 +694,28 @@ get_default_icons (GtkIconFactory *factory)
   register_bidi_stock_icon (factory, GTK_STOCK_UNINDENT, "format-indent-less");
   register_stock_icon (factory, GTK_STOCK_GOTO_TOP, "go-top");
   register_stock_icon (factory, GTK_STOCK_DELETE, "edit-delete");
-  register_bidi_stock_icon (factory, GTK_STOCK_UNDELETE, GTK_STOCK_UNDELETE);
+  register_bidi_stock_icon_resources (factory, GTK_STOCK_UNDELETE,
+      GTK_ICON_SIZE_MENU, "/org/gtk/libgtk/icons/16/gtk-undelete-ltr.png",
+                          "/org/gtk/libgtk/icons/16/gtk-undelete-rtl.png", 
+      GTK_ICON_SIZE_LARGE_TOOLBAR, "/org/gtk/libgtk/icons/24/gtk-undelete-ltr.png",
+                                   "/org/gtk/libgtk/icons/24/gtk-undelete-rtl.png");
   register_bidi_stock_icon (factory, GTK_STOCK_UNDO, "edit-undo");
   register_stock_icon (factory, GTK_STOCK_GO_UP, "go-up");
   register_stock_icon (factory, GTK_STOCK_FILE, "text-x-generic");
   register_stock_icon (factory, GTK_STOCK_DIRECTORY, "folder");
   register_stock_icon (factory, GTK_STOCK_ABOUT, "help-about");
-  register_stock_icon (factory, GTK_STOCK_CONNECT, GTK_STOCK_CONNECT);
-  register_stock_icon (factory, GTK_STOCK_DISCONNECT, GTK_STOCK_DISCONNECT);
-  register_stock_icon (factory, GTK_STOCK_EDIT, GTK_STOCK_EDIT);
-  register_stock_icon (factory, GTK_STOCK_CAPS_LOCK_WARNING, GTK_STOCK_CAPS_LOCK_WARNING);
+  register_stock_icon_resources (factory, GTK_STOCK_CONNECT,
+      GTK_ICON_SIZE_MENU, "/org/gtk/libgtk/icons/16/gtk-connect.png",
+      GTK_ICON_SIZE_LARGE_TOOLBAR, "/org/gtk/libgtk/icons/24/gtk-connect.png");
+  register_stock_icon_resources (factory, GTK_STOCK_DISCONNECT,
+      GTK_ICON_SIZE_MENU, "/org/gtk/libgtk/icons/16/gtk-disconnect.png",
+      GTK_ICON_SIZE_LARGE_TOOLBAR, "/org/gtk/libgtk/icons/24/gtk-disconnect.png");
+  register_stock_icon_resources (factory, GTK_STOCK_EDIT,
+      GTK_ICON_SIZE_MENU, "/org/gtk/libgtk/icons/16/gtk-edit.png",
+      GTK_ICON_SIZE_LARGE_TOOLBAR, "/org/gtk/libgtk/icons/24/gtk-edit.png");
+  register_stock_icon_resources (factory, GTK_STOCK_CAPS_LOCK_WARNING,
+      GTK_ICON_SIZE_MENU, "/org/gtk/libgtk/icons/16/gtk-caps-lock-warning.png",
+      GTK_ICON_SIZE_LARGE_TOOLBAR, "/org/gtk/libgtk/icons/24/gtk-caps-lock-warning.png");
   register_bidi_stock_icon (factory, GTK_STOCK_MEDIA_FORWARD, "media-seek-forward");
   register_bidi_stock_icon (factory, GTK_STOCK_MEDIA_NEXT, "media-skip-forward");
   register_stock_icon (factory, GTK_STOCK_MEDIA_PAUSE, "media-playback-pause");
@@ -605,15 +724,21 @@ get_default_icons (GtkIconFactory *factory)
   register_stock_icon (factory, GTK_STOCK_MEDIA_RECORD, "media-record");
   register_bidi_stock_icon (factory, GTK_STOCK_MEDIA_REWIND, "media-seek-backward");
   register_stock_icon (factory, GTK_STOCK_MEDIA_STOP, "media-playback-stop");
-  register_stock_icon (factory, GTK_STOCK_INDEX, GTK_STOCK_INDEX);
+  register_stock_icon_resources (factory, GTK_STOCK_INDEX,
+      GTK_ICON_SIZE_MENU, "/org/gtk/libgtk/icons/16/gtk-index.png",
+      GTK_ICON_SIZE_LARGE_TOOLBAR, "/org/gtk/libgtk/icons/24/gtk-index.png");
   register_stock_icon (factory, GTK_STOCK_ZOOM_100, "zoom-original");
   register_stock_icon (factory, GTK_STOCK_ZOOM_IN, "zoom-in");
   register_stock_icon (factory, GTK_STOCK_ZOOM_OUT, "zoom-out");
   register_stock_icon (factory, GTK_STOCK_ZOOM_FIT, "zoom-fit-best");
   register_stock_icon (factory, GTK_STOCK_SELECT_ALL, "edit-select-all");
   register_stock_icon (factory, GTK_STOCK_CLEAR, "edit-clear");
-  register_stock_icon (factory, GTK_STOCK_SELECT_COLOR, GTK_STOCK_SELECT_COLOR);
-  register_stock_icon (factory, GTK_STOCK_COLOR_PICKER, GTK_STOCK_COLOR_PICKER);
+  register_stock_icon_resources (factory, GTK_STOCK_SELECT_COLOR,
+      GTK_ICON_SIZE_MENU, "/org/gtk/libgtk/icons/16/gtk-select-color.png",
+      GTK_ICON_SIZE_LARGE_TOOLBAR, "/org/gtk/libgtk/icons/24/gtk-select-color.png");
+  register_stock_icon_resources (factory, GTK_STOCK_COLOR_PICKER,
+      GTK_ICON_SIZE_MENU, "/org/gtk/libgtk/icons/16/gtk-color-picker.png",
+      GTK_ICON_SIZE_LARGE_TOOLBAR, "/org/gtk/libgtk/icons/24/gtk-color-picker.png");
 }
 
 /************************************************************
diff --git a/gtk/deprecated/gtkstock.h b/gtk/deprecated/gtkstock.h
index bdbed8c..fc4f429 100644
--- a/gtk/deprecated/gtkstock.h
+++ b/gtk/deprecated/gtkstock.h
@@ -1110,7 +1110,7 @@ typedef char * GtkStock;
  * GTK_STOCK_SELECT_FONT:
  *
  * The “Font” item.
- * ![](gtk-font.png)
+ * ![](gtk-select-font.png)
  *
  * Deprecated: 3.10
  */
diff --git a/gtk/resources/icons/16/gtk-caps-lock-warning.png 
b/gtk/resources/icons/16/gtk-caps-lock-warning.png
new file mode 100644
index 0000000..0dfa418
Binary files /dev/null and b/gtk/resources/icons/16/gtk-caps-lock-warning.png differ
diff --git a/gtk/resources/icons/16/gtk-color-picker.png b/gtk/resources/icons/16/gtk-color-picker.png
new file mode 100644
index 0000000..24233cd
Binary files /dev/null and b/gtk/resources/icons/16/gtk-color-picker.png differ
diff --git a/gtk/resources/icons/16/gtk-connect.png b/gtk/resources/icons/16/gtk-connect.png
new file mode 100644
index 0000000..097969a
Binary files /dev/null and b/gtk/resources/icons/16/gtk-connect.png differ
diff --git a/gtk/resources/icons/16/gtk-convert.png b/gtk/resources/icons/16/gtk-convert.png
new file mode 100644
index 0000000..e4d9125
Binary files /dev/null and b/gtk/resources/icons/16/gtk-convert.png differ
diff --git a/gtk/resources/icons/16/gtk-disconnect.png b/gtk/resources/icons/16/gtk-disconnect.png
new file mode 100644
index 0000000..3dece10
Binary files /dev/null and b/gtk/resources/icons/16/gtk-disconnect.png differ
diff --git a/gtk/resources/icons/16/gtk-edit.png b/gtk/resources/icons/16/gtk-edit.png
new file mode 100644
index 0000000..c5da3f9
Binary files /dev/null and b/gtk/resources/icons/16/gtk-edit.png differ
diff --git a/gtk/resources/icons/16/gtk-index.png b/gtk/resources/icons/16/gtk-index.png
new file mode 100644
index 0000000..0967a61
Binary files /dev/null and b/gtk/resources/icons/16/gtk-index.png differ
diff --git a/gtk/resources/icons/16/gtk-orientation-landscape.png 
b/gtk/resources/icons/16/gtk-orientation-landscape.png
new file mode 100644
index 0000000..748bb50
Binary files /dev/null and b/gtk/resources/icons/16/gtk-orientation-landscape.png differ
diff --git a/gtk/resources/icons/16/gtk-orientation-portrait.png 
b/gtk/resources/icons/16/gtk-orientation-portrait.png
new file mode 100644
index 0000000..94f078d
Binary files /dev/null and b/gtk/resources/icons/16/gtk-orientation-portrait.png differ
diff --git a/gtk/resources/icons/16/gtk-orientation-reverse-landscape.png 
b/gtk/resources/icons/16/gtk-orientation-reverse-landscape.png
new file mode 100644
index 0000000..2a732a6
Binary files /dev/null and b/gtk/resources/icons/16/gtk-orientation-reverse-landscape.png differ
diff --git a/gtk/resources/icons/16/gtk-orientation-reverse-portrait.png 
b/gtk/resources/icons/16/gtk-orientation-reverse-portrait.png
new file mode 100644
index 0000000..c79cea3
Binary files /dev/null and b/gtk/resources/icons/16/gtk-orientation-reverse-portrait.png differ
diff --git a/gtk/resources/icons/16/gtk-page-setup.png b/gtk/resources/icons/16/gtk-page-setup.png
new file mode 100644
index 0000000..61b46d9
Binary files /dev/null and b/gtk/resources/icons/16/gtk-page-setup.png differ
diff --git a/gtk/resources/icons/16/gtk-preferences.png b/gtk/resources/icons/16/gtk-preferences.png
new file mode 100644
index 0000000..9703a40
Binary files /dev/null and b/gtk/resources/icons/16/gtk-preferences.png differ
diff --git a/gtk/resources/icons/16/gtk-select-color.png b/gtk/resources/icons/16/gtk-select-color.png
new file mode 100644
index 0000000..2c764b3
Binary files /dev/null and b/gtk/resources/icons/16/gtk-select-color.png differ
diff --git a/gtk/resources/icons/16/gtk-select-font.png b/gtk/resources/icons/16/gtk-select-font.png
new file mode 100644
index 0000000..2514b61
Binary files /dev/null and b/gtk/resources/icons/16/gtk-select-font.png differ
diff --git a/gtk/resources/icons/16/gtk-undelete-ltr.png b/gtk/resources/icons/16/gtk-undelete-ltr.png
new file mode 100644
index 0000000..cc58d0f
Binary files /dev/null and b/gtk/resources/icons/16/gtk-undelete-ltr.png differ
diff --git a/gtk/resources/icons/16/gtk-undelete-rtl.png b/gtk/resources/icons/16/gtk-undelete-rtl.png
new file mode 100644
index 0000000..a312dd8
Binary files /dev/null and b/gtk/resources/icons/16/gtk-undelete-rtl.png differ
diff --git a/gtk/resources/icons/20/gtk-apply.png b/gtk/resources/icons/20/gtk-apply.png
new file mode 100644
index 0000000..afca073
Binary files /dev/null and b/gtk/resources/icons/20/gtk-apply.png differ
diff --git a/gtk/resources/icons/20/gtk-cancel.png b/gtk/resources/icons/20/gtk-cancel.png
new file mode 100644
index 0000000..0a395c0
Binary files /dev/null and b/gtk/resources/icons/20/gtk-cancel.png differ
diff --git a/gtk/resources/icons/20/gtk-no.png b/gtk/resources/icons/20/gtk-no.png
new file mode 100644
index 0000000..2a7da6e
Binary files /dev/null and b/gtk/resources/icons/20/gtk-no.png differ
diff --git a/gtk/resources/icons/20/gtk-ok.png b/gtk/resources/icons/20/gtk-ok.png
new file mode 100644
index 0000000..c08115f
Binary files /dev/null and b/gtk/resources/icons/20/gtk-ok.png differ
diff --git a/gtk/resources/icons/20/gtk-yes.png b/gtk/resources/icons/20/gtk-yes.png
new file mode 100644
index 0000000..e562366
Binary files /dev/null and b/gtk/resources/icons/20/gtk-yes.png differ
diff --git a/gtk/resources/icons/24/gtk-caps-lock-warning.png 
b/gtk/resources/icons/24/gtk-caps-lock-warning.png
new file mode 100644
index 0000000..ca76d50
Binary files /dev/null and b/gtk/resources/icons/24/gtk-caps-lock-warning.png differ
diff --git a/gtk/resources/icons/24/gtk-color-picker.png b/gtk/resources/icons/24/gtk-color-picker.png
new file mode 100644
index 0000000..fd97f34
Binary files /dev/null and b/gtk/resources/icons/24/gtk-color-picker.png differ
diff --git a/gtk/resources/icons/24/gtk-connect.png b/gtk/resources/icons/24/gtk-connect.png
new file mode 100644
index 0000000..97f2143
Binary files /dev/null and b/gtk/resources/icons/24/gtk-connect.png differ
diff --git a/gtk/resources/icons/24/gtk-convert.png b/gtk/resources/icons/24/gtk-convert.png
new file mode 100644
index 0000000..da8194f
Binary files /dev/null and b/gtk/resources/icons/24/gtk-convert.png differ
diff --git a/gtk/resources/icons/24/gtk-disconnect.png b/gtk/resources/icons/24/gtk-disconnect.png
new file mode 100644
index 0000000..883a003
Binary files /dev/null and b/gtk/resources/icons/24/gtk-disconnect.png differ
diff --git a/gtk/resources/icons/24/gtk-edit.png b/gtk/resources/icons/24/gtk-edit.png
new file mode 100644
index 0000000..f429e10
Binary files /dev/null and b/gtk/resources/icons/24/gtk-edit.png differ
diff --git a/gtk/resources/icons/24/gtk-index.png b/gtk/resources/icons/24/gtk-index.png
new file mode 100644
index 0000000..9ddbe9b
Binary files /dev/null and b/gtk/resources/icons/24/gtk-index.png differ
diff --git a/gtk/resources/icons/24/gtk-orientation-landscape.png 
b/gtk/resources/icons/24/gtk-orientation-landscape.png
new file mode 100644
index 0000000..fcf7f2a
Binary files /dev/null and b/gtk/resources/icons/24/gtk-orientation-landscape.png differ
diff --git a/gtk/resources/icons/24/gtk-orientation-portrait.png 
b/gtk/resources/icons/24/gtk-orientation-portrait.png
new file mode 100644
index 0000000..cb7b760
Binary files /dev/null and b/gtk/resources/icons/24/gtk-orientation-portrait.png differ
diff --git a/gtk/resources/icons/24/gtk-orientation-reverse-landscape.png 
b/gtk/resources/icons/24/gtk-orientation-reverse-landscape.png
new file mode 100644
index 0000000..69ade25
Binary files /dev/null and b/gtk/resources/icons/24/gtk-orientation-reverse-landscape.png differ
diff --git a/gtk/resources/icons/24/gtk-orientation-reverse-portrait.png 
b/gtk/resources/icons/24/gtk-orientation-reverse-portrait.png
new file mode 100644
index 0000000..c309a6d
Binary files /dev/null and b/gtk/resources/icons/24/gtk-orientation-reverse-portrait.png differ
diff --git a/gtk/resources/icons/24/gtk-page-setup.png b/gtk/resources/icons/24/gtk-page-setup.png
new file mode 100644
index 0000000..9acf0d5
Binary files /dev/null and b/gtk/resources/icons/24/gtk-page-setup.png differ
diff --git a/gtk/resources/icons/24/gtk-preferences.png b/gtk/resources/icons/24/gtk-preferences.png
new file mode 100644
index 0000000..2596f3c
Binary files /dev/null and b/gtk/resources/icons/24/gtk-preferences.png differ
diff --git a/gtk/resources/icons/24/gtk-select-color.png b/gtk/resources/icons/24/gtk-select-color.png
new file mode 100644
index 0000000..0e71c35
Binary files /dev/null and b/gtk/resources/icons/24/gtk-select-color.png differ
diff --git a/gtk/resources/icons/24/gtk-select-font.png b/gtk/resources/icons/24/gtk-select-font.png
new file mode 100644
index 0000000..cde0e86
Binary files /dev/null and b/gtk/resources/icons/24/gtk-select-font.png differ
diff --git a/gtk/resources/icons/24/gtk-undelete-ltr.png b/gtk/resources/icons/24/gtk-undelete-ltr.png
new file mode 100644
index 0000000..bccc39e
Binary files /dev/null and b/gtk/resources/icons/24/gtk-undelete-ltr.png differ
diff --git a/gtk/resources/icons/24/gtk-undelete-rtl.png b/gtk/resources/icons/24/gtk-undelete-rtl.png
new file mode 100644
index 0000000..22023b8
Binary files /dev/null and b/gtk/resources/icons/24/gtk-undelete-rtl.png differ
diff --git a/gtk/resources/icons/32/gtk-dnd-multiple.png b/gtk/resources/icons/32/gtk-dnd-multiple.png
new file mode 100644
index 0000000..dc09283
Binary files /dev/null and b/gtk/resources/icons/32/gtk-dnd-multiple.png differ
diff --git a/gtk/resources/icons/32/gtk-dnd.png b/gtk/resources/icons/32/gtk-dnd.png
new file mode 100644
index 0000000..c58e5a6
Binary files /dev/null and b/gtk/resources/icons/32/gtk-dnd.png differ


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