[vlc-commits] GTK: Use small toolbar icons
Cheng Sun
git at videolan.org
Thu Jan 5 03:03:07 CET 2012
npapi-vlc | branch: master | Cheng Sun <chengsun9 at gmail.com> | Tue Jan 3 21:19:10 2012 +0000| [0fd627d1863ae839fd3a1f0370160fb30480487d] | committer: Jean-Baptiste Kempf
GTK: Use small toolbar icons
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=0fd627d1863ae839fd3a1f0370160fb30480487d
---
npapi/vlcplugin_gtk.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/npapi/vlcplugin_gtk.cpp b/npapi/vlcplugin_gtk.cpp
index 7cba903..d9f0238 100644
--- a/npapi/vlcplugin_gtk.cpp
+++ b/npapi/vlcplugin_gtk.cpp
@@ -397,6 +397,7 @@ bool VlcPluginGtk::create_windows()
toolbar = gtk_toolbar_new();
g_object_ref(G_OBJECT(toolbar));
gtk_toolbar_set_style(GTK_TOOLBAR(toolbar), GTK_TOOLBAR_ICONS);
+ gtk_toolbar_set_icon_size(GTK_TOOLBAR(toolbar), GTK_ICON_SIZE_SMALL_TOOLBAR);
GtkToolItem *toolitem;
/* play/pause */
toolitem = gtk_tool_button_new_from_stock(GTK_STOCK_MEDIA_PLAY);
More information about the vlc-commits
mailing list