diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-10-14 00:45:59 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2011-10-14 00:45:59 +0200 |
commit | 94876cea1ef9e97752cf622e2e43b76308940d42 (patch) | |
tree | 756a71af67c2a99f5fe08e0d13cef321d8562f72 /src | |
parent | 4a4fd16aa69ae95afc4715ce371b2f714333fc82 (diff) |
Add Image tool icons
Diffstat (limited to 'src')
-rw-r--r-- | src/mainwindow.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c index f671736..0148bbc 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -364,6 +364,7 @@ enum tool_id { TOOL_SELECT, TOOL_TEXT, + TOOL_IMAGE, }; @@ -379,6 +380,7 @@ static gint set_tool_sig(GtkWidget *widget, GtkRadioAction *action, { case TOOL_SELECT : p->cur_tool = p->select_tool; break; case TOOL_TEXT : p->cur_tool = p->text_tool; break; + case TOOL_IMAGE : p->cur_tool = p->image_tool; break; } if ( p->editing_object != NULL ) { @@ -495,6 +497,8 @@ static void add_menu_bar(struct presentation *p, GtkWidget *vbox) NULL, NULL, TOOL_SELECT }, { "ButtonToolTextAction", "colloquium-text", "Text", NULL, NULL, TOOL_TEXT }, + { "ButtonToolImageAction", "colloquium-image", "Image", + NULL, NULL, TOOL_IMAGE }, }; guint n_tools = G_N_ELEMENTS(tools); |