1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

Rename "Debug Window" as "Message Log", which is the terminology the OS X client uses too

This commit is contained in:
Charles Kerr 2007-11-18 02:32:46 +00:00
parent db98b81f9c
commit 355f96e660
4 changed files with 10 additions and 10 deletions

View file

@ -57,8 +57,8 @@ static GtkToggleActionEntry show_toggle_entries[] =
{ {
{ "toggle-main-window", NULL, { "toggle-main-window", NULL,
N_("Show _Main Window"), NULL, NULL, G_CALLBACK(action_cb), TRUE }, N_("Show _Main Window"), NULL, NULL, G_CALLBACK(action_cb), TRUE },
{ "toggle-debug-window", NULL, { "toggle-message-log", NULL,
N_("Show _Debug Window"), NULL, NULL, G_CALLBACK(action_cb), FALSE } N_("Show Message _Log"), NULL, NULL, G_CALLBACK(action_cb), FALSE }
}; };
static GtkActionEntry entries[] = static GtkActionEntry entries[] =

View file

@ -844,7 +844,7 @@ recheckTorrentForeach (GtkTreeModel * model,
static gboolean static gboolean
msgwinclosed() msgwinclosed()
{ {
action_toggle( "toggle-debug-window", FALSE ); action_toggle( "toggle-message-log", FALSE );
return FALSE; return FALSE;
} }
@ -938,7 +938,7 @@ doAction ( const char * action_name, gpointer user_data )
gtk_widget_show( GTK_WIDGET( data->prefs ) ); gtk_widget_show( GTK_WIDGET( data->prefs ) );
} }
} }
else if (!strcmp (action_name, "toggle-debug-window")) else if (!strcmp (action_name, "toggle-message-log"))
{ {
if( !data->msgwin ) if( !data->msgwin )
{ {
@ -949,7 +949,7 @@ doAction ( const char * action_name, gpointer user_data )
} }
else else
{ {
action_toggle("toggle-debug-window", FALSE); action_toggle("toggle-message-log", FALSE);
gtk_widget_destroy( data->msgwin ); gtk_widget_destroy( data->msgwin );
data->msgwin = NULL; data->msgwin = NULL;
} }

View file

@ -187,7 +187,7 @@ static void
save_cb( GtkWidget * w, GtkTextBuffer * textbuf ) save_cb( GtkWidget * w, GtkTextBuffer * textbuf )
{ {
GtkWindow * window = GTK_WINDOW( gtk_widget_get_toplevel( w ) ); GtkWindow * window = GTK_WINDOW( gtk_widget_get_toplevel( w ) );
GtkWidget * d = gtk_file_chooser_dialog_new( _("Save Debug Log"), window, GtkWidget * d = gtk_file_chooser_dialog_new( _("Save Log"), window,
GTK_FILE_CHOOSER_ACTION_SAVE, GTK_FILE_CHOOSER_ACTION_SAVE,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT,
@ -229,9 +229,9 @@ msgwin_create( TrCore * core )
int ii, curlevel; int ii, curlevel;
win = gtk_window_new( GTK_WINDOW_TOPLEVEL ); win = gtk_window_new( GTK_WINDOW_TOPLEVEL );
gtk_window_set_title( GTK_WINDOW( win ), _( "Debug Window" ) ); gtk_window_set_title( GTK_WINDOW( win ), _( "Message Log" ) );
gtk_window_set_default_size( GTK_WINDOW( win ), 600, 400 ); gtk_window_set_default_size( GTK_WINDOW( win ), 600, 400 );
gtk_window_set_role( GTK_WINDOW( win ), "debug-window" ); gtk_window_set_role( GTK_WINDOW( win ), "message-log" );
vbox = gtk_vbox_new( FALSE, 0 ); vbox = gtk_vbox_new( FALSE, 0 );
/** /**

View file

@ -22,7 +22,7 @@ const char * fallback_ui_file =
" <menuitem action='edit-preferences'/>\n" " <menuitem action='edit-preferences'/>\n"
" </menu>\n" " </menu>\n"
" <menu action='help-menu'>\n" " <menu action='help-menu'>\n"
" <menuitem action='toggle-debug-window'/>\n" " <menuitem action='toggle-message-log'/>\n"
" <separator/>\n" " <separator/>\n"
" <menuitem action='show-about-dialog'/>\n" " <menuitem action='show-about-dialog'/>\n"
" </menu>\n" " </menu>\n"
@ -52,7 +52,7 @@ const char * fallback_ui_file =
" <menuitem action='add-torrent'/>\n" " <menuitem action='add-torrent'/>\n"
" <separator/>\n" " <separator/>\n"
" <menuitem action='toggle-main-window'/>\n" " <menuitem action='toggle-main-window'/>\n"
" <menuitem action='toggle-debug-window'/>\n" " <menuitem action='toggle-message-log'/>\n"
" <menuitem action='show-about-dialog'/>\n" " <menuitem action='show-about-dialog'/>\n"
" <separator/>\n" " <separator/>\n"
" <menuitem action='quit'/>\n" " <menuitem action='quit'/>\n"