Changeset 8755


Ignore:
Timestamp:
Jun 29, 2009, 6:21:59 AM (13 years ago)
Author:
charles
Message:

(trunk gtk) possible fix for https://bugs.launchpad.net/ubuntu/+source/transmission/+bug/388348

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr-prefs.c

    r8751 r8755  
    12671267    {
    12681268        struct network_page_data * data = gdata;
     1269        gdk_threads_enter();
    12691270        gtk_label_set_text( GTK_LABEL( data->portLabel ), _( "Status unknown" ) );
    12701271        gtk_widget_set_sensitive( data->portButton, TRUE );
    12711272        gtk_widget_set_sensitive( data->portSpin, TRUE );
     1273        gdk_threads_leave();
    12721274    }
    12731275}
     
    12891291    struct network_page_data * data = vdata;
    12901292    const char * markup = isOpen ? _( "Port is <b>open</b>" ) : _( "Port is <b>closed</b>" );
     1293    gdk_threads_enter();
    12911294    gtk_label_set_markup( GTK_LABEL( data->portLabel ), markup );
    12921295    gtk_widget_set_sensitive( data->portButton, TRUE );
    12931296    gtk_widget_set_sensitive( data->portSpin, TRUE );
     1297    gdk_threads_leave();
    12941298}
    12951299
Note: See TracChangeset for help on using the changeset viewer.