[Top][All Lists]

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

Re: Emacs tool bar on Fedora14

From: Jan Djärv
Subject: Re: Emacs tool bar on Fedora14
Date: Tue, 16 Nov 2010 22:32:09 +0100

I'm saying that that function even if called would be a noop. A solution is in 
the works. I don't understand the urgency.

   Jan D.

16 nov 2010 kl. 16:24 skrev Stefan Monnier <address@hidden>:

>> We don't use Gtk+ tool bar functions to display the text because they are
>> too limited.  Not showing text is not that hard anyway.
> I'm not sure I understand what you're trying to say.  To get back to my
> argument: since both-horiz is the default, we should be careful to make
> it work well enough, similarly to other Gtk apps, by only showing some
> of the labels but not all.
> Whether that is done by using gtk_tool_item_[gs]et_is_important (and/or
> Gtk's toolbar functions to display the text) is rather secondary.
> Of course, as a general rule, if we can reuse other people's code, it's
> better, but indeed it's not always convenient.
>        Stefan
>> Andrew W. Nosenko skrev 2010-11-16 00.45:
>>> On Fri, Nov 12, 2010 at 22:39, Stefan Monnier<address@hidden>  wrote:
>>>>>> ** GTK tool bars can have just text, just images or images and text.
>>>>>> Customize `tool-bar-style' to choose style.  On a Gnome desktop, the
>>>>>> default is taken from the desktop settings.
>>>>>> BTW, I couldn't figure out how to customize it in Gnome.  I do remember
>>>>>> seeing such an option somewhere (maybe in gnome-appearance-properties)
>>>>>> at some point in the past, but I can't seem to find it any more.
>>>>> There used to be an Interface tab in Appearance but it has been removed by
>>>>> the Gnome people.  I guess that is logical, as they seem to move
>>>>> towards a customization-free desktop.  They decided that both-horiz (icon
>>>>> followed by text) is what everybody should have.
>>>>> Now you have to edit gconf directly either with gconf-editor or with
>>>>> % gconftool-2 --set --type string  /desktop/gnome/interface/toolbar_style 
>>>>> both
>>>>> Other values are both-horiz, text or icons.
>>>> I think we should mention it in our documentation.  And I also think
>>>> there's something more going on: when I try gedit with various settings
>>>> of /desktop/gnome/interface/toolbar_style, it's clear that in both-horiz
>>>> setting, only some of the buttons get their text, whereas with Emacs
>>>> they all do.
>>>> That means that both-horiz is quite bearable with gedit but not
>>>> with Emacs.  And since both-horiz is the default, I think we need to
>>>> figure out how to do the same as gedit does (i.e. specify which toolbar
>>>> buttons need to have the text displayed in both-horiz and which don't).
>>> http://library.gnome.org/devel/gtk/stable/GtkToolItem.html
>>> gtk_tool_item_set_is_important()
>>> gtk_tool_item_get_is_important()
>>> "is-important" property

reply via email to

[Prev in Thread] Current Thread [Next in Thread]