summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2020-10-19 01:11:08 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2020-10-19 01:11:08 +0100
commit3954234a0caaab381744ef15d5b667fbebe56260 (patch)
tree9a3639ad7a4219837081df622ee8d00c03a8378b
parent9b0c15fa3a559c1cb07457fb96b8fd175f01fb95 (diff)
downloadmdk-3954234a0caaab381744ef15d5b667fbebe56260.tar.gz
mdk-3954234a0caaab381744ef15d5b667fbebe56260.tar.bz2
Current line and breakpoint icons
-rw-r--r--mixgtk/mixgtk_mixal.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/mixgtk/mixgtk_mixal.c b/mixgtk/mixgtk_mixal.c
index af99d5b..cb09b70 100644
--- a/mixgtk/mixgtk_mixal.c
+++ b/mixgtk/mixgtk_mixal.c
@@ -42,8 +42,8 @@ static GtkTreeView *symbols_view_ = NULL;
static GtkListStore *symbols_store_ = NULL;
static const gchar *SYMBOLS_VIEW_NAME_ = "symbols_view";
-static const gchar *bp_stock_id_ = NULL;
-static const gchar *pc_stock_id_ = NULL;
+static const gchar *bp_stock_id_ = "gtk-stop";
+static const gchar *pc_stock_id_ = "gtk-go-forward";
static const guint bp_stock_size_ = GTK_ICON_SIZE_MENU;
enum {
@@ -147,7 +147,6 @@ fill_symbols_ (const mix_symbol_table_t *table)
static void
init_clist_ (void)
{
- // GtkStockItem item;
GtkCellRenderer *renderer = gtk_cell_renderer_text_new ();
GtkCellRenderer *bprenderer = gtk_cell_renderer_pixbuf_new ();
@@ -189,16 +188,6 @@ init_clist_ (void)
"text", CLIST_CODE_COL,
NULL));
- /* if (gtk_stock_lookup (GTK_STOCK_STOP, &item)) */
- /* { */
- /* bp_stock_id_ = item.stock_id; */
- /* } */
-
- /* if (gtk_stock_lookup (GTK_STOCK_GO_FORWARD, &item)) */
- /* { */
- /* pc_stock_id_ = item.stock_id; */
- /* } */
-
symbols_dlg_ = NULL;
symbols_view_ = NULL;