Changeset 12968


Ignore:
Timestamp:
Oct 11, 2011, 2:36:03 PM (11 years ago)
Author:
jordan
Message:

(trunk gtk) #4553 "Set about dialog to modal when compiled with GTK+-3" -- fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r12681 r12968  
    12861286show_about_dialog( GtkWindow * parent )
    12871287{
    1288     GtkWidget * d;
    1289     const char * website_uri = "http://www.transmissionbt.com/";
    1290     const char * authors[] = {
    1291         "Jordan Lee (Backend; GTK+)",
    1292         "Mitchell Livingston (Backend; OS X)",
    1293         NULL
    1294     };
    1295 
    1296     d = g_object_new( GTK_TYPE_ABOUT_DIALOG,
    1297                       "authors", authors,
    1298                       "comments", _( "A fast and easy BitTorrent client" ),
    1299                       "copyright", _( "Copyright (c) The Transmission Project" ),
    1300                       "logo-icon-name", MY_CONFIG_NAME,
    1301                       "name", g_get_application_name( ),
    1302                       /* Translators: translate "translator-credits" as your name
    1303                          to have it appear in the credits in the "About"
    1304                          dialog */
    1305                       "translator-credits", _( "translator-credits" ),
    1306                       "version", LONG_VERSION_STRING,
    1307                       "website", website_uri,
    1308                       "website-label", website_uri,
     1288    const char * uri = "http://www.transmissionbt.com/";
     1289    const char * authors[] = { "Jordan Lee (Backend; GTK+)",
     1290                               "Mitchell Livingston (Backend; OS X)",
     1291                               NULL };
     1292
     1293    gtk_show_about_dialog( parent,
     1294        "authors", authors,
     1295        "comments", _( "A fast and easy BitTorrent client" ),
     1296        "copyright", _( "Copyright (c) The Transmission Project" ),
     1297        "logo-icon-name", MY_CONFIG_NAME,
     1298        "name", g_get_application_name( ),
     1299        /* Translators: translate "translator-credits" as your name
     1300           to have it appear in the credits in the "About"
     1301           dialog */
     1302        "translator-credits", _( "translator-credits" ),
     1303        "version", LONG_VERSION_STRING,
     1304        "website", uri,
     1305        "website-label", uri,
    13091306#ifdef SHOW_LICENSE
    1310                       "license", LICENSE,
    1311                       "wrap-license", TRUE,
     1307        "license", LICENSE,
     1308        "wrap-license", TRUE,
    13121309#endif
    1313                       NULL );
    1314     gtk_window_set_transient_for( GTK_WINDOW( d ), parent );
    1315     g_signal_connect_swapped( d, "response", G_CALLBACK (gtk_widget_destroy), d );
    1316     gtk_widget_show( d );
     1310        NULL );
    13171311}
    13181312
Note: See TracChangeset for help on using the changeset viewer.