Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
qtcurve-gtk2
QtCurve-disabled-editable.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File QtCurve-disabled-editable.patch of Package qtcurve-gtk2
Index: style/qtcurve.c =================================================================== --- style/qtcurve.c (revision 1868) +++ style/qtcurve.c (revision 1869) @@ -3226,11 +3226,16 @@ // determine the button associated with it. So, we store the mapping here... if(!mozToolbar && widget->parent && GTK_IS_COMBO_BOX_ENTRY(widget->parent)) qtcWidgetMapSetup(widget->parent, widget, 0); + // If the button is disabled, but the entry field is not - then use entry field's state + // for the button. This fixes an issue with LinuxDC++ and Gtk 2.18 + if(GTK_STATE_INSENSITIVE==state && entry && GTK_STATE_INSENSITIVE!=entry->state) + state=entry->state; drawEntryField(cr, style, state, entry, area, x, y, width, height, rev ? ROUNDED_LEFT : ROUNDED_RIGHT, WIDGET_COMBO_BUTTON); // Get entry to redraw by setting its state... // ...cant do a queue redraw, as then entry does for the button, else we get stuck in a loop! - if(!mozToolbar && widget && entry && entry->state!=widget->state && GTK_STATE_INSENSITIVE!=entry->state) + if(!mozToolbar && widget && entry && entry->state!=widget->state && GTK_STATE_INSENSITIVE!=entry->state && + GTK_STATE_INSENSITIVE!=state) gtk_widget_set_state(entry, state); } else if(opts.flatSbarButtons && WIDGET_SB_BUTTON==widgetType)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor