Feature #655

ChHostSkin(GTK) when Qt is detected should highlight menubar topitem[1]

Added by Zbigniew Rebacz almost 8 years ago. Updated over 7 years ago.

Status:ApprovedStart date:01/20/2014
Priority:LowDue date:
Assignee:Miroslav Fidler% Done:

0%

Category:CtrlLibSpent 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.).

ChGtk.cpp Magnifier - Small Qt fix (21.2 KB) Zbigniew Rebacz, 01/21/2014 02:42 AM

History

#1 Updated by Zbigniew Rebacz almost 8 years ago

  • File deleted (ChGtk.cpp)

#2 Updated by Zbigniew Rebacz almost 8 years ago

Additional fix:

        if(Qt)
            s.topitemtext[1] = ChGtkColor(2, top_item);
        else
            s.topitemtext[1] = ChGtkColor(0, top_item);

#3 Updated by Miroslav Fidler over 7 years ago

  • Status changed from Patch ready to Approved

Also available in: Atom PDF