diff options
-rw-r--r-- | applets/inhibit/inhibit-applet.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/applets/inhibit/inhibit-applet.c b/applets/inhibit/inhibit-applet.c index 47cf8bb..61e6879 100644 --- a/applets/inhibit/inhibit-applet.c +++ b/applets/inhibit/inhibit-applet.c @@ -208,18 +208,7 @@ gpm_applet_size_allocate_cb (GtkWidget *widget, break; } - /* copied from button-widget.c in the panel */ - if (size < 22) - size = 16; - else if (size < 24) - size = 22; - else if (size < 32) - size = 24; - else if (size < 48) - size = 32; - else - size = 48; - + /* Scale to the actual size of the applet, don't quantize to original icon size */ /* GtkImage already contains a check to do nothing if it's the same */ gtk_image_set_pixel_size (GTK_IMAGE(applet->image), size); } |