summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c879fdc)
raw | patch | inline | side by side (parent: c879fdc)
author | joncruz <joncruz@users.sourceforge.net> | |
Sun, 9 Apr 2006 00:15:52 +0000 (00:15 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Sun, 9 Apr 2006 00:15:52 +0000 (00:15 +0000) |
src/widgets/icon.cpp | patch | blob | history |
diff --git a/src/widgets/icon.cpp b/src/widgets/icon.cpp
index 5ad93a1b77ba4ce8a5af5fe61754a2897ea32f1f..cab03fa503890783235b81d0a94d76c724bef1b8 100644 (file)
--- a/src/widgets/icon.cpp
+++ b/src/widgets/icon.cpp
gint width = 0;
gint height = 0;
if ( gtk_icon_size_lookup(GTK_ICON_SIZE_MENU, &width, &height ) ) {
- gint newWidth = (width > 18) ? (width / 2) : ((width * 2) / 3);
- gint newHeight = (height > 18) ? (height / 2) : ((height * 2) / 3);
+ gint newWidth = ((width * 3) / 4);
+ gint newHeight = ((height * 3) / 4);
GtkIconSize newSizeEnum = gtk_icon_size_register( "inkscape-decoration", newWidth, newHeight );
if ( newSizeEnum ) {
if ( dump ) {