mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
(trunk gtk) #2708 "missing tooltips" -- add previously-missing tooltips to two of the statusbar buttons
This commit is contained in:
parent
b7fc7bd955
commit
ae6bdbae6e
1 changed files with 2 additions and 0 deletions
|
@ -952,6 +952,7 @@ tr_window_new( GtkUIManager * ui_mgr, TrCore * core )
|
|||
|
||||
w = gtk_button_new( );
|
||||
gtk_container_add( GTK_CONTAINER( w ), gtk_image_new_from_stock( "options", GTK_ICON_SIZE_SMALL_TOOLBAR ) );
|
||||
gtr_widget_set_tooltip_text( w, _( "Options" ) );
|
||||
gtk_box_pack_start( GTK_BOX( h ), w, 0, 0, 0 );
|
||||
gtk_button_set_relief( GTK_BUTTON( w ), GTK_RELIEF_NONE );
|
||||
p->options_menu = createOptionsMenu( p );
|
||||
|
@ -992,6 +993,7 @@ tr_window_new( GtkUIManager * ui_mgr, TrCore * core )
|
|||
gtk_widget_set_size_request( w, GUI_PAD, 0u );
|
||||
gtk_box_pack_start( GTK_BOX( hbox ), w, FALSE, FALSE, 0 );
|
||||
w = gtk_button_new( );
|
||||
gtr_widget_set_tooltip_text( w, _( "Statistics" ) );
|
||||
gtk_container_add( GTK_CONTAINER( w ), gtk_image_new_from_stock( "ratio", GTK_ICON_SIZE_SMALL_TOOLBAR ) );
|
||||
gtk_button_set_relief( GTK_BUTTON( w ), GTK_RELIEF_NONE );
|
||||
g_signal_connect( w, "clicked", G_CALLBACK( onYinYangReleased ), p );
|
||||
|
|
Loading…
Reference in a new issue