*** empty log message ***

This commit is contained in:
Pierre Pronchery 2011-12-08 17:00:28 +00:00
parent 8c94116d63
commit e6e3c4877b
3 changed files with 14 additions and 1 deletions

View File

@ -56,7 +56,7 @@ void on_edit_find(gpointer data)
{
Editor * editor = data;
editor_find(editor, NULL);
on_find(editor);
}
@ -187,6 +187,15 @@ void on_cut(gpointer data)
}
/* on_find */
void on_find(gpointer data)
{
Editor * editor = data;
editor_find(editor, NULL);
}
/* on_new */
void on_new(gpointer data)
{

View File

@ -42,6 +42,7 @@ void on_insert_file(gpointer data);
void on_close(gpointer data);
void on_copy(gpointer data);
void on_cut(gpointer data);
void on_find(gpointer data);
void on_new(gpointer data);
void on_open(gpointer data);
void on_paste(gpointer data);

View File

@ -81,6 +81,7 @@ static char const * _authors[] =
static DesktopAccel _editor_accel[] =
{
{ G_CALLBACK(on_close), GDK_CONTROL_MASK, GDK_KEY_w },
{ G_CALLBACK(on_find), GDK_CONTROL_MASK, GDK_KEY_f },
{ G_CALLBACK(on_new), GDK_CONTROL_MASK, GDK_KEY_n },
{ G_CALLBACK(on_open), GDK_CONTROL_MASK, GDK_KEY_o },
{ G_CALLBACK(on_preferences), GDK_CONTROL_MASK, GDK_KEY_p },
@ -178,6 +179,8 @@ static DesktopToolbar _editor_toolbar[] =
{ N_("Copy"), G_CALLBACK(on_copy), GTK_STOCK_COPY, 0, 0, NULL },
{ N_("Paste"), G_CALLBACK(on_paste), GTK_STOCK_PASTE, 0, 0, NULL },
#ifdef EMBEDDED
{ "", NULL, NULL, 0, 0, NULL },
{ N_("Find"), G_CALLBACK(on_find), GTK_STOCK_FIND, 0, 0, NULL },
{ "", NULL, NULL, 0, 0, NULL },
{ N_("Preferences"), G_CALLBACK(on_preferences), GTK_STOCK_PREFERENCES,
0, 0, NULL },