On Tue, 2005-06-28 at 12:22 +0200, Christian Neumair wrote:
> I don't remember where it was requested, but somebody asked for an icon
> for the "New Empty File" action in the New Document menu. The attached
> patch adds it.
+
+ if (strcmp (gtk_action_get_name (action),
FM_ACTION_NEW_EMPTY_FILE) != 0 ||
+ !GTK_IS_IMAGE_MENU_ITEM (proxy)) {
+ return;
+ }
+
Do this check the other way instead.
if (is the right action) {
set the icon;
}
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
[EMAIL PROTECTED] [EMAIL PROTECTED]
He's an old-fashioned one-eyed paranormal investigator who must take
medication to keep him sane. She's a cold-hearted snooty snake charmer looking
for love in all the wrong places. They fight crime!
--
nautilus-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/nautilus-list