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 65765 - Add authentication icon(s) to stock.
Add authentication icon(s) to stock.
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: [obsolete] stock-icons
2.0.x
Other other
: Normal enhancement
: future
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2001-11-29 20:58 UTC by Gregory Merchan
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
from Evolution (2.57 KB, image/png)
2002-08-05 08:50 UTC, Jakub Steiner
  Details
with keyhole (2.77 KB, image/png)
2002-08-05 08:52 UTC, Jakub Steiner
  Details
patch (2.51 KB, patch)
2002-11-19 22:25 UTC, Matthias Clasen
none Details | Review

Description Gregory Merchan 2001-11-29 20:58:06 UTC
A stock authentication icon would be useful for authentication alerts and
for dialogs or utilities that require an administrator password.

Padlocks, keyholes, and keys are common objects for such an icon.
Comment 1 Seth Nickell 2001-12-19 04:52:27 UTC
Is it possible to add this without breaking the API freeze in a bad
way? I suspect adding new stock elements is relatively benign, and
this would probably be cleared by the release comittee.
Comment 2 Seth Nickell 2002-06-05 05:05:20 UTC
We'd like this for the HIG, is there any way to get it into a
particular milestone rather than leaving it in the nebulous "future" ?
Comment 3 Havoc Pennington 2002-06-05 15:43:48 UTC
If you attach a patch and get someone to draw the icon, you could put
it on 2.2 API freeze probably.
Comment 4 Seth Nickell 2002-08-04 22:20:59 UTC
Hi Tigert/Jimmac. Would it be possible to get an icon for this? The
primary place we want the icon is in dialog boxes (though I suppose it
could be useful for menu items too).

As Gregory says "Padlocks, keyholes, and keys are common objects for
such an icon."
Comment 5 Jakub Steiner 2002-08-05 08:50:29 UTC
Created attachment 10261 [details]
from Evolution
Comment 6 Jakub Steiner 2002-08-05 08:52:06 UTC
Created attachment 10262 [details]
with keyhole
Comment 7 Matthias Clasen 2002-11-19 22:24:48 UTC
Here is a patch.
Comment 8 Matthias Clasen 2002-11-19 22:25:29 UTC
Created attachment 12413 [details] [review]
patch
Comment 9 Murray Cumming 2002-12-06 14:18:29 UTC
I suggest you patch the ChangeLog.
Comment 10 Matthias Clasen 2002-12-06 14:27:49 UTC
I don't understand that comment. It is common practise to attach patches without 
ChangeLog entries and add them when the patch is actually committed. 

But this 
patch is not suitable for committing, since there is no way to make use of the new stock 
icon in a MessageDialog, and there is no way to add the necessary fields for an 
authentication alert to a MessageDialog.
Comment 11 Murray Cumming 2002-12-06 17:31:12 UTC
Sorry, I didn't realise that you would be the one committing that patch.

Even though you can't use the icon in a GtkMessageDialog, there is
nothing stopping you from using it in a regular GtkDialog. It's just
an icon.
Comment 12 Morten Welinder 2003-01-08 17:19:20 UTC
/me wonders what a door's keyhole is doing in a padlock.
Comment 13 Christophe Fergeau 2003-01-13 22:28:28 UTC
Will this new stock icon be integrated in gtk+ soon, or should it be
added to the libgnomeui stock icons for now (I need it for bug #103408).

Regarding the icon, maybe the one I used for 
http://cfergeau.free.fr/auth.png
 would fit better (ie a question mark instead of a keyhole) (I grabbed
it from the evolution icons available on jimmac's webpage, I hope it's ok)
Comment 14 Owen Taylor 2003-01-14 14:50:38 UTC
Well, this bug will handled before GTK+ 2.4. I think it's
safe to say that no additions can be made to libgnomeui for 
GNOME-2.2 (it was API frozen maybe two monts ago), so I don't 
see any point in adding them to libgnomeui at all.
Comment 15 Christophe Fergeau 2003-01-14 15:04:52 UTC
My "for now" was obviously meaning "after gnome 2.2 is released" :)
Comment 16 Owen Taylor 2003-07-18 20:19:42 UTC
Should be OK to commit. 

I'm not really sure how to go about "dialog integration" for 
this; would it be better to have a separate GtkAuthenticationDialog?

I'm not sure packing extra widgets into a GtkMessageDialog
makes sense.

But either as GtkMessageDialog API extensions or as a new dialog
type, that should be a separate bug.