glade port: rename 'ouvrir' elements to 'open'

This commit is contained in:
matusz 2009-04-18 13:33:15 +00:00
parent 654952bcf8
commit f01283e4af
3 changed files with 4 additions and 4 deletions

View File

@ -205,7 +205,7 @@ static void file_open() {
gtk_widget_destroy(pFileSelection); gtk_widget_destroy(pFileSelection);
} }
void on_menu_ouvrir_activate (GtkMenuItem *menuitem, gpointer user_data) { file_open();} void on_menu_open_activate (GtkMenuItem *menuitem, gpointer user_data) { file_open();}
void on_menu_quit_activate (GtkMenuItem *menuitem, gpointer user_data) { gtk_main_quit(); } void on_menu_quit_activate (GtkMenuItem *menuitem, gpointer user_data) { gtk_main_quit(); }
#define SCREENS_PIXEL_SIZE 98304 #define SCREENS_PIXEL_SIZE 98304

View File

@ -24,7 +24,7 @@
extern "C" { extern "C" {
/* MENU FILE */ /* MENU FILE */
G_MODULE_EXPORT void on_menu_ouvrir_activate (GtkMenuItem *menuitem, gpointer user_data); G_MODULE_EXPORT void on_menu_open_activate (GtkMenuItem *menuitem, gpointer user_data);
G_MODULE_EXPORT void on_menu_pscreen_activate (GtkMenuItem *menuitem, gpointer user_data); G_MODULE_EXPORT void on_menu_pscreen_activate (GtkMenuItem *menuitem, gpointer user_data);
G_MODULE_EXPORT void on_menu_quit_activate (GtkMenuItem *menuitem, gpointer user_data); G_MODULE_EXPORT void on_menu_quit_activate (GtkMenuItem *menuitem, gpointer user_data);

View File

@ -49,11 +49,11 @@
<widget class="GtkMenu" id="menu_file_menu"> <widget class="GtkMenu" id="menu_file_menu">
<child> <child>
<widget class="GtkImageMenuItem" id="menu_ouvrir"> <widget class="GtkImageMenuItem" id="menu_open">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label">gtk-open</property> <property name="label">gtk-open</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
<signal name="activate" handler="on_menu_ouvrir_activate" last_modification_time="Mon, 01 Jan 2007 16:34:54 GMT"/> <signal name="activate" handler="on_menu_open_activate" last_modification_time="Mon, 01 Jan 2007 16:34:54 GMT"/>
</widget> </widget>
</child> </child>