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 435668 - [Patch] Make gnome-netstatus more theme friendly
[Patch] Make gnome-netstatus more theme friendly
Status: RESOLVED FIXED
Product: gnome-netstatus
Classification: Deprecated
Component: general
2.12.x
Other All
: Normal normal
: ---
Assigned To: Mark McLoughlin
Mark McLoughlin
Depends on:
Blocks: 362604
 
 
Reported: 2007-05-03 23:38 UTC by David Farning
Modified: 2007-10-07 20:14 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
patch to make gnome-netstatus more theme friendly (3.81 KB, patch)
2007-05-03 23:49 UTC, David Farning
none Details | Review
revised: make gnome-netstatus more theme friendly (4.88 KB, patch)
2007-10-07 11:20 UTC, Christian Kirbach
committed Details | Review

Description David Farning 2007-05-03 23:38:16 UTC
Please describe the problem:
This patch consists of three parts

2.  In the theme-friendly-icons gnome goal:

  http://live.gnome.org/GnomeGoals/AppIcon

We made all apps run gtk-update-icon-cache in install-hook.  They also should
call it in uninstall-hook. Refer to #362604.

2.  Replace custom icon theme code with gtk_window_set_icon_name() in dialog.c
3.  Replace custom icon theme code with gtk_window_set_icon_name() in applet.c

As of 2.10 gtk_window_set_icon_name() has been able to determine the correct theme.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 David Farning 2007-05-03 23:49:54 UTC
Created attachment 87504 [details] [review]
patch to make gnome-netstatus more theme friendly
Comment 2 Kjartan Maraas 2007-10-03 12:20:55 UTC
You typed gnome-netstatus.txt in one place. Other than that it looks good to me. Not sure gnome-netstatus is actively maintained any more though. Maybe mail the listed maintainer and ask for review?
Comment 3 Christian Kirbach 2007-10-07 11:20:26 UTC
Created attachment 96814 [details] [review]
revised: make gnome-netstatus more theme friendly

Fixes the mentioned typo and three gcc4 compiler warnings.
Comment 4 Mark McLoughlin 2007-10-07 15:39:46 UTC
Looks fine to commit, thanks
Comment 5 Christian Kirbach 2007-10-07 20:14:56 UTC
Committed to trunk

2007-10-07  David Farning <dfarning@gmail.com>

        Patch updated and revised by 
        Christian Kirbach <Christian.Kirbach@googlemail.com>
 
        * icons/Makefile.am (update-icon-cache): Fix gtk-update-icon-cache
        for install-hook and uninstall-hook.
        * src/netstatus-dialog.c:
        * src/netstatus-applet.c: Replace custom icon theme code with
        gtk_window_set_icon_name() and remove unused variables.