Missed some replace GTK_STOCK_... images with there equivalent icon name

This commit is contained in:
Robert Fewell 2017-06-26 16:27:34 +01:00
parent 1c08232b6e
commit 20c1630a31
2 changed files with 15 additions and 15 deletions

View File

@ -212,21 +212,21 @@ set_reports_view_and_model(CustomReportDialog *crd)
gtk_tree_view_column_set_expand (crd->namecol, TRUE);
renderer = gtk_cell_renderer_pixbuf_new();
g_object_set (G_OBJECT (renderer), "stock-id", GTK_STOCK_EXECUTE, NULL);
g_object_set (G_OBJECT (renderer), "icon-name", "system-run", NULL);
gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (crd->reportview), -1,
"R", renderer,
NULL);
crd->runcol = gtk_tree_view_get_column (GTK_TREE_VIEW (crd->reportview), VIEW_COL_RUN);
renderer = gtk_cell_renderer_pixbuf_new();
g_object_set (G_OBJECT (renderer), "stock-id", GTK_STOCK_EDIT, NULL);
g_object_set (G_OBJECT (renderer), "icon-name", "accessories-text-editor", NULL);
gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (crd->reportview), -1,
"E", renderer,
NULL);
crd->editcol = gtk_tree_view_get_column (GTK_TREE_VIEW (crd->reportview), VIEW_COL_EDIT);
renderer = gtk_cell_renderer_pixbuf_new();
g_object_set (G_OBJECT (renderer), "stock-id", GTK_STOCK_DELETE, NULL);
g_object_set (G_OBJECT (renderer), "icon-name", "edit-delete", NULL);
colnum = gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (crd->reportview), -1,
"D", renderer,
NULL);

View File

@ -1124,7 +1124,7 @@ gnc_plugin_page_report_constr_init(GncPluginPageReport *plugin_page, gint report
GtkActionEntry report_actions[] =
{
{
"FilePrintAction", GTK_STOCK_PRINT, N_("_Print Report..."), "<primary>p",
"FilePrintAction", "document-print", N_("_Print Report..."), "<primary>p",
N_("Print the current report"),
G_CALLBACK(gnc_plugin_page_report_print_cb)
},
@ -1134,31 +1134,31 @@ gnc_plugin_page_report_constr_init(GncPluginPageReport *plugin_page, gint report
G_CALLBACK(gnc_plugin_page_report_exportpdf_cb)
},
{
"EditCutAction", GTK_STOCK_CUT, N_("Cu_t"), NULL,
"EditCutAction", "edit-cut", N_("Cu_t"), NULL,
N_("Cut the current selection and copy it to clipboard"),
NULL
},
{
"EditCopyAction", GTK_STOCK_COPY, N_("_Copy"), NULL,
"EditCopyAction", "edit-copy", N_("_Copy"), NULL,
N_("Copy the current selection to clipboard"),
G_CALLBACK(gnc_plugin_page_report_copy_cb)
},
{
"EditPasteAction", GTK_STOCK_PASTE, N_("_Paste"), NULL,
"EditPasteAction", "edit-paste", N_("_Paste"), NULL,
N_("Paste the clipboard content at the cursor position"),
NULL
},
{
"ViewRefreshAction", GTK_STOCK_REFRESH, N_("_Refresh"), "<primary>r",
"ViewRefreshAction", "view-refresh", N_("_Refresh"), "<primary>r",
N_("Refresh this window"),
G_CALLBACK (gnc_plugin_page_report_reload_cb)
},
{
"ReportSaveAction", GTK_STOCK_SAVE, N_("Save _Report Configuration"), "<primary><alt>s",
"ReportSaveAction", "document-save", N_("Save _Report Configuration"), "<primary><alt>s",
report_save_str, G_CALLBACK(gnc_plugin_page_report_save_cb)
},
{
"ReportSaveAsAction", GTK_STOCK_SAVE_AS, N_("Save Report Configuration As..."), "<primary><alt><shift>s",
"ReportSaveAsAction", "document-save-as", N_("Save Report Configuration As..."), "<primary><alt><shift>s",
report_saveas_str, G_CALLBACK(gnc_plugin_page_report_save_as_cb)
},
{
@ -1167,28 +1167,28 @@ gnc_plugin_page_report_constr_init(GncPluginPageReport *plugin_page, gint report
G_CALLBACK(gnc_plugin_page_report_export_cb)
},
{
"ReportOptionsAction", GTK_STOCK_PROPERTIES, N_("_Report Options"), NULL,
"ReportOptionsAction", "document-properties", N_("_Report Options"), NULL,
N_("Edit report options"),
G_CALLBACK(gnc_plugin_page_report_options_cb)
},
{
"ReportBackAction", GTK_STOCK_GO_BACK, N_("Back"), NULL,
"ReportBackAction", "go-previous", N_("Back"), NULL,
N_("Move back one step in the history"),
G_CALLBACK(gnc_plugin_page_report_back_cb)
},
{
"ReportForwAction", GTK_STOCK_GO_FORWARD, N_("Forward"), NULL,
"ReportForwAction", "go-next", N_("Forward"), NULL,
N_("Move forward one step in the history"),
G_CALLBACK(gnc_plugin_page_report_forw_cb)
},
{
"ReportReloadAction", GTK_STOCK_REFRESH, N_("Reload"), NULL,
"ReportReloadAction", "view-refresh", N_("Reload"), NULL,
N_("Reload the current page"),
G_CALLBACK(gnc_plugin_page_report_reload_cb)
},
{
"ReportStopAction", GTK_STOCK_STOP, N_("Stop"), NULL,
"ReportStopAction", "process-stop", N_("Stop"), NULL,
N_("Cancel outstanding HTML requests"),
G_CALLBACK(gnc_plugin_page_report_stop_cb)
},