Re: [PATCH] Add icon to "New Document->Empty File" action
- From: Alexander Larsson <alexl redhat com>
- To: Christian Neumair <chris gnome-de org>
- Cc: nautilus-list gnome org
- Subject: Re: [PATCH] Add icon to "New Document->Empty File" action
- Date: Tue, 28 Jun 2005 15:26:49 +0200
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
alexl redhat com alla lysator liu se
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!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]