diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2006-04-09 00:15:52 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2006-04-09 00:15:52 +0000 |
| commit | 227deffca893a98f95bdd87fa87b7d0b50c50994 (patch) | |
| tree | 136c2eeda3ed5ee3036a8a7abc0233c7fcfb2352 /src/widgets | |
| parent | Fixed array index calculation (diff) | |
| download | inkscape-227deffca893a98f95bdd87fa87b7d0b50c50994.tar.gz inkscape-227deffca893a98f95bdd87fa87b7d0b50c50994.zip | |
Tweaked smaller size to be 3/4ths the menu size
(bzr r459)
Diffstat (limited to 'src/widgets')
| -rw-r--r-- | src/widgets/icon.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/icon.cpp b/src/widgets/icon.cpp index 5ad93a1b7..cab03fa50 100644 --- a/src/widgets/icon.cpp +++ b/src/widgets/icon.cpp @@ -370,8 +370,8 @@ static void injectCustomSize() 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 ) { |
