summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 76f0951)
raw | patch | inline | side by side (parent: 76f0951)
author | joncruz <joncruz@users.sourceforge.net> | |
Fri, 3 Apr 2009 06:18:39 +0000 (06:18 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Fri, 3 Apr 2009 06:18:39 +0000 (06:18 +0000) |
src/ink-action.cpp | patch | blob | history |
diff --git a/src/ink-action.cpp b/src/ink-action.cpp
index 7bcb297d35c36d54c322b9bc8642c38b0a371ae3..dda63c160c73fcb966fcc3f436a3036b8e7e00f6 100644 (file)
--- a/src/ink-action.cpp
+++ b/src/ink-action.cpp
GtkToolButton* button = GTK_TOOL_BUTTON(item);
GtkWidget* child = sp_icon_new( act->private_data->iconSize, act->private_data->iconId );
- gtk_tool_button_set_icon_widget( button, child );
+ GtkWidget* align = gtk_alignment_new( 0.5, 0.5, 0.0, 0.0 );
+ gtk_container_add( GTK_CONTAINER(align), child );
+ gtk_tool_button_set_icon_widget( button, align );
} else {
// For now trigger a warning but don't do anything else
GtkToolButton* button = GTK_TOOL_BUTTON(item);