]> Pileus Git - ~andy/gtk/commitdiff
Register RTL versions of the indent and unindent icons. (#326857, Itai
authorMatthias Clasen <mclasen@redhat.com>
Sun, 15 Jan 2006 04:33:30 +0000 (04:33 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 15 Jan 2006 04:33:30 +0000 (04:33 +0000)
2006-01-14  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconfactory.c (get_default_icons): Register RTL
versions of the indent and unindent icons.  (#326857,
Itai Bar-Haim)

* gtk/Makefile.am (STOCK_ICONS): And add them here.

12 files changed:
ChangeLog
ChangeLog.pre-2-10
gtk/Makefile.am
gtk/gtkiconfactory.c
gtk/stock-icons/16/gtk-indent-ltr.png [moved from gtk/stock-icons/16/gtk-indent.png with 100% similarity]
gtk/stock-icons/16/gtk-indent-rtl.png [new file with mode: 0644]
gtk/stock-icons/16/gtk-unindent-ltr.png [moved from gtk/stock-icons/16/gtk-unindent.png with 100% similarity]
gtk/stock-icons/16/gtk-unindent-rtl.png [new file with mode: 0644]
gtk/stock-icons/24/gtk-indent-ltr.png [moved from gtk/stock-icons/24/gtk-indent.png with 100% similarity]
gtk/stock-icons/24/gtk-indent-rtl.png [new file with mode: 0644]
gtk/stock-icons/24/gtk-unindent-ltr.png [moved from gtk/stock-icons/24/gtk-unindent.png with 100% similarity]
gtk/stock-icons/24/gtk-unindent-rtl.png [new file with mode: 0644]

index 4df4e94f4e206dd6468e1999fd2dec548f181790..b09f825453f8484f565d631aced6ae0874dd11df 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2006-01-14  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkiconfactory.c (get_default_icons): Register RTL 
+       versions of the indent and unindent icons.  (#326857,
+       Itai Bar-Haim)
+
+       * gtk/Makefile.am (STOCK_ICONS): And add them here.
+
        Fix a crash with combo boxes in RESIZE_IMMEDIATE
        containers.  (#326806, Sebastian Bacher)
        
index 4df4e94f4e206dd6468e1999fd2dec548f181790..b09f825453f8484f565d631aced6ae0874dd11df 100644 (file)
@@ -1,5 +1,11 @@
 2006-01-14  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkiconfactory.c (get_default_icons): Register RTL 
+       versions of the indent and unindent icons.  (#326857,
+       Itai Bar-Haim)
+
+       * gtk/Makefile.am (STOCK_ICONS): And add them here.
+
        Fix a crash with combo boxes in RESIZE_IMMEDIATE
        containers.  (#326806, Sebastian Bacher)
        
index eb5e7b916642adc5b12ef726a6bd5ad71474fa76..cd87e4b8ffd9b62ad032440330d39cba801f0aa9 100644 (file)
@@ -778,7 +778,8 @@ STOCK_ICONS = \
        stock-icons/16/gtk-harddisk.png                 \
        stock-icons/16/gtk-help.png                     \
        stock-icons/16/gtk-home.png                     \
-       stock-icons/16/gtk-indent.png                   \
+       stock-icons/16/gtk-indent-ltr.png               \
+       stock-icons/16/gtk-indent-rtl.png               \
        stock-icons/16/gtk-index.png                    \
        stock-icons/16/gtk-info.png                     \
        stock-icons/16/gtk-jump-to-ltr.png              \
@@ -827,7 +828,8 @@ STOCK_ICONS = \
        stock-icons/16/gtk-underline.png                \
        stock-icons/16/gtk-undo-ltr.png                 \
        stock-icons/16/gtk-undo-rtl.png                 \
-       stock-icons/16/gtk-unindent.png                 \
+       stock-icons/16/gtk-unindent-ltr.png             \
+       stock-icons/16/gtk-unindent-rtl.png             \
        stock-icons/16/gtk-zoom-100.png                 \
        stock-icons/16/gtk-zoom-fit.png                 \
        stock-icons/16/gtk-zoom-in.png                  \
@@ -870,7 +872,8 @@ STOCK_ICONS = \
        stock-icons/24/gtk-harddisk.png                 \
        stock-icons/24/gtk-help.png                     \
        stock-icons/24/gtk-home.png                     \
-       stock-icons/24/gtk-indent.png                   \
+       stock-icons/24/gtk-indent-ltr.png               \
+       stock-icons/24/gtk-indent-rtl.png               \
        stock-icons/24/gtk-index.png                    \
        stock-icons/24/gtk-info.png                     \
        stock-icons/24/gtk-italic.png                   \
@@ -922,7 +925,8 @@ STOCK_ICONS = \
        stock-icons/24/gtk-underline.png                \
        stock-icons/24/gtk-undo-ltr.png                 \
        stock-icons/24/gtk-undo-rtl.png                 \
-       stock-icons/24/gtk-unindent.png                 \
+       stock-icons/24/gtk-unindent-ltr.png             \
+       stock-icons/24/gtk-unindent-rtl.png             \
        stock-icons/24/gtk-zoom-100.png                 \
        stock-icons/24/gtk-zoom-fit.png                 \
        stock-icons/24/gtk-zoom-in.png                  \
index b38d82c423b09c65c1aee67743729477041d4a50..cc8911de42538acce2a36fa7ebd5435b89c5094c 100644 (file)
@@ -482,8 +482,14 @@ get_default_icons (GtkIconFactory *factory)
   register_stock_icon (factory, GTK_STOCK_ITALIC);
   register_stock_icon (factory, GTK_STOCK_STRIKETHROUGH);
   register_stock_icon (factory, GTK_STOCK_UNDERLINE);
-  register_stock_icon (factory, GTK_STOCK_INDENT);
-  register_stock_icon (factory, GTK_STOCK_UNINDENT);
+  register_bidi_stock_icon (factory, 
+                           GTK_STOCK_INDENT,
+                           GTK_STOCK_INDENT "-ltr",
+                           GTK_STOCK_INDENT "-rtl");
+  register_bidi_stock_icon (factory, 
+                           GTK_STOCK_UNINDENT,
+                           GTK_STOCK_UNINDENT "-ltr",
+                           GTK_STOCK_UNINDENT "-rtl");
   register_stock_icon (factory, GTK_STOCK_GOTO_TOP);
   register_stock_icon (factory, GTK_STOCK_DELETE);
   register_bidi_stock_icon (factory, 
diff --git a/gtk/stock-icons/16/gtk-indent-rtl.png b/gtk/stock-icons/16/gtk-indent-rtl.png
new file mode 100644 (file)
index 0000000..824a921
Binary files /dev/null and b/gtk/stock-icons/16/gtk-indent-rtl.png differ
diff --git a/gtk/stock-icons/16/gtk-unindent-rtl.png b/gtk/stock-icons/16/gtk-unindent-rtl.png
new file mode 100644 (file)
index 0000000..4e6a5b6
Binary files /dev/null and b/gtk/stock-icons/16/gtk-unindent-rtl.png differ
diff --git a/gtk/stock-icons/24/gtk-indent-rtl.png b/gtk/stock-icons/24/gtk-indent-rtl.png
new file mode 100644 (file)
index 0000000..e29a525
Binary files /dev/null and b/gtk/stock-icons/24/gtk-indent-rtl.png differ
diff --git a/gtk/stock-icons/24/gtk-unindent-rtl.png b/gtk/stock-icons/24/gtk-unindent-rtl.png
new file mode 100644 (file)
index 0000000..a95a4e2
Binary files /dev/null and b/gtk/stock-icons/24/gtk-unindent-rtl.png differ