After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 325149 - use better size
use better size
Status: RESOLVED WONTFIX
Product: gnome-netstatus
Classification: Deprecated
Component: general
2.12.x
Other Linux
: Normal normal
: ---
Assigned To: Mark McLoughlin
Mark McLoughlin
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2005-12-28 15:13 UTC by Benjamin Otte (Company)
Modified: 2011-07-10 02:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
big patch (29.84 KB, patch)
2005-12-28 15:14 UTC, Benjamin Otte (Company)
none Details | Review

Description Benjamin Otte (Company) 2005-12-28 15:13:59 UTC
Currently gnome-netstatus has an icon the size of the panel. This is quite suboptimal for me since I'm using a 60px vertical panel, so the netstatus applet occupies around 100px of my panel (see http://www.freedesktop.org/~company/stuff/panel.png ). The attached patch makes the panel always use an image of at max GTK_ICON_SIZE_LARGE_TOOLBAR and tries to fit the signal strength image into space that might be left over.

While trying different approaches for this codewise, I also made the code
- use GtkImage code for drawing and monitoring theme changes (set_icon_name instead of set_pixbuf)
- use gdk-pixbuf code for rotating/scaling
- use a per-pixbuf cache instead of a global cache for all images
because my intended changes were easier this way.
Comment 1 Benjamin Otte (Company) 2005-12-28 15:14:36 UTC
Created attachment 56470 [details] [review]
big patch
Comment 2 Akhil Laddha 2011-07-10 02:44:19 UTC
gnome-netstatus development has been stalled [1]. Maintainers don't have
future development plan so i am closing the bugs as WONTFIX.

[1] http://mail.gnome.org/archives/desktop-devel-list/2011-June/msg00073.html