Changeset 1587 for trunk/gtk/dialogs.c


Ignore:
Timestamp:
Mar 24, 2007, 10:20:00 AM (15 years ago)
Author:
joshe
Message:

Set roles for non-dialog windows to help WMs out a bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/dialogs.c

    r1518 r1587  
    265265  g_free(str);
    266266
     267  gtk_window_set_role( GTK_WINDOW( wind ), "tr-info" );
    267268  gtk_widget_set_name(wind, "TransmissionDialog");
    268269  gtk_table_set_col_spacings(GTK_TABLE(table), 12);
     
    506507    gtk_window_set_resizable( GTK_WINDOW( wind ), TRUE );
    507508    gtk_box_pack_start_defaults( GTK_BOX( GTK_DIALOG( wind )->vbox ), frame );
     509    gtk_window_set_role( GTK_WINDOW( wind ), "tr-files" );
    508510
    509511    /* set up the callback data */
Note: See TracChangeset for help on using the changeset viewer.