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 580696 - Toolbar appearance
Toolbar appearance
Status: RESOLVED OBSOLETE
Product: tomboy
Classification: Applications
Component: General
0.14.x
Other All
: Normal trivial
: Future
Assigned To: Tomboy Maintainers
Tomboy Maintainers
sandy[affects-ui]
: 538940 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-04-29 05:10 UTC by denis.cheremisov
Modified: 2011-11-02 06:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description denis.cheremisov 2009-04-29 05:10:54 UTC
Please describe the problem:
Look at the shot: http://img-fotki.yandex.ru/get/3408/denis-cheremisov.8/0_27099_de2b0269_orig
Search, Link and Delete items has one size (it's my
system-wide size, as in Nautilus, Eog, Evince, etc), but Text, Tools and
Notebook has different.

Steps to reproduce:
Change your toolbar font size putting the following lines into your ~/.gtkrc-2.0:

style "smaller-text" {
font_name = "8"
}

widget_class "*ToolButton*" style "smaller-text"
widget_class "*StatusBar*" style "smaller-text"

Actual results:
These buttons don't respect system settings.

Expected results:
They must respect them.

Does this happen every time?


Other information:
Comment 1 Sandy Armstrong 2009-04-29 08:18:40 UTC
Thanks for catching this, should be an easy fix.
Comment 2 Everaldo Canuto 2009-04-29 23:04:25 UTC
If you define ToolMenuButton then it works fine. You can define you .gtkrc like this:

style "smaller-text" {
	font_name = "8"
}

widget_class "*ToolButton*" style "smaller-text"
widget_class "*ToolMenuButton*" style "smaller-text"
widget_class "*StatusBar*" style "smaller-text"


Anyway, we must found a way to define ToolButton style for ToolMenuButton class, I will check with Mike tomorow.
Comment 3 Sandy Armstrong 2009-08-24 06:06:38 UTC
Everaldo, did you ever make any more progress on this?
Comment 4 Greg Poirier 2010-01-07 23:13:01 UTC
Why can't we just refactor it to MenuToolButton from ToolMenuButton?

I realize that it's probably not the best solution, but it'll make it behave like a ToolButton instead.  I see that the problem is caused by extending ToggleToolButton, but I can't for the life of me figure out a way to fix it.  is ToolMenuButton exposed anywhere?  Is there a reason not to fix it this way?
Comment 5 Greg Poirier 2010-01-07 23:17:00 UTC
We could go one step further and call it MenuToggleToolButton, just in case some people do weird things to ToggleToolButtons... and make it a practice to name all of our extensions of Gtk# classes in such a way as to include the original class name. e.g. NoteWindow : Window.
Comment 6 Sandy Armstrong 2010-07-21 23:28:35 UTC
This would work, though I'm pretty sure there's also a programmatic way to apply the style of a different widget class.

Any patch is welcome.
Comment 7 Aaron D Borden 2011-06-25 20:15:53 UTC
*** Bug 538940 has been marked as a duplicate of this bug. ***
Comment 8 Jared Jennings 2011-06-26 04:12:05 UTC
Tested with tweak-tool in GNOME 3.0 and I do not see this behavior. Is this still an issue?
Comment 9 Akhil Laddha 2011-08-08 04:19:33 UTC
denis.cheremisov, can you please confirm bug against tomboy 1.6.x ?
Comment 10 Akhil Laddha 2011-11-02 06:49:22 UTC
Please feel free to reopen this bug if the problem still occurs with a newer
version of tomboy.