(trunk gtk) #2723 "'save' in log viewer should be 'save as'" - fixed
This commit is contained in:
parent
59c10a3dc8
commit
e197af3db5
|
@ -448,7 +448,7 @@ msgwin_new( TrCore * core )
|
||||||
gtr_toolbar_set_orientation( GTK_TOOLBAR( toolbar ), GTK_ORIENTATION_HORIZONTAL );
|
gtr_toolbar_set_orientation( GTK_TOOLBAR( toolbar ), GTK_ORIENTATION_HORIZONTAL );
|
||||||
gtk_toolbar_set_style( GTK_TOOLBAR( toolbar ), GTK_TOOLBAR_BOTH_HORIZ );
|
gtk_toolbar_set_style( GTK_TOOLBAR( toolbar ), GTK_TOOLBAR_BOTH_HORIZ );
|
||||||
|
|
||||||
item = gtk_tool_button_new_from_stock( GTK_STOCK_SAVE );
|
item = gtk_tool_button_new_from_stock( GTK_STOCK_SAVE_AS );
|
||||||
g_object_set( G_OBJECT( item ), "is-important", TRUE, NULL );
|
g_object_set( G_OBJECT( item ), "is-important", TRUE, NULL );
|
||||||
g_signal_connect( item, "clicked", G_CALLBACK( onSaveRequest ), data );
|
g_signal_connect( item, "clicked", G_CALLBACK( onSaveRequest ), data );
|
||||||
gtk_toolbar_insert( GTK_TOOLBAR( toolbar ), item, -1 );
|
gtk_toolbar_insert( GTK_TOOLBAR( toolbar ), item, -1 );
|
||||||
|
|
Loading…
Reference in New Issue