Feature #655
ChHostSkin(GTK) when Qt is detected should highlight menubar topitem[1]
Status: | Approved | Start date: | 01/20/2014 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | Miroslav Fidler | % Done: | 0% | |
Category: | CtrlLib | Spent time: | - | |
Target version: | - |
Description
The topic behavior is default for Qt & KDE, so I think it would be nice if we change ChHostSkin a little bit on KDE. Here is the code:
if(Qt)
GtkCh(s.topitem[1], sw, GTK_STATE_PRELIGHT);
else
s.topitem[1] = s.topitem[2];
Moreover this patch uses gtk_check_version function instead of constants variables (gtk_major_version etc.).
History
#1 Updated by Zbigniew Rebacz over 11 years ago
- File deleted (
ChGtk.cpp)
#2 Updated by Zbigniew Rebacz over 11 years ago
- File ChGtk.cpp
added
Additional fix:
if(Qt) s.topitemtext[1] = ChGtkColor(2, top_item); else s.topitemtext[1] = ChGtkColor(0, top_item);
#3 Updated by Miroslav Fidler about 11 years ago
- Status changed from Patch ready to Approved