Re: [PATCH] Add icon to "New Document->Empty File" action



On Thu, 2005-06-30 at 14:30 +0200, Christian Neumair wrote:
> Am Dienstag, den 28.06.2005, 15:26 +0200 schrieb Alexander Larsson:
> > 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.
> 
> Done.
> 

Commited, thanks.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a benighted voodoo werewolf who must take medication to keep him sane. 
She's a provocative blonde bodyguard with the power to bend men's minds. They 
fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]