aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/menus')
-rw-r--r--widgets/menus/gal-define-views-dialog.c4
-rw-r--r--widgets/menus/gal-view-new-dialog.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/widgets/menus/gal-define-views-dialog.c b/widgets/menus/gal-define-views-dialog.c
index 229f9a406f..97cf0eb5f2 100644
--- a/widgets/menus/gal-define-views-dialog.c
+++ b/widgets/menus/gal-define-views-dialog.c
@@ -86,7 +86,7 @@ gal_define_views_dialog_class_init (GalDefineViewsDialogClass *klass)
/* ETable creation */
#define SPEC "<ETableSpecification cursor-mode=\"line\" draw-grid=\"true\">" \
- "<ETableColumn model_col= \"0\" _tite=\"Name\" expansion=\"1.0\" minimum_width=\"18\" resizable=\"true\" cell=\"string\" compare=\"string\"/>" \
+ "<ETableColumn model_col= \"0\" _title=\"Name\" expansion=\"1.0\" minimum_width=\"18\" resizable=\"true\" cell=\"string\" compare=\"string\"/>" \
"<ETableState> <column source=\"0\"/> <grouping> </grouping> </ETableState>" \
"</ETableSpecification>"
@@ -117,7 +117,7 @@ gdvd_button_new_dialog_callback(GtkWidget *widget, int button, GalDefineViewsDia
"name", &name,
NULL);
view = gal_view_new();
- gtk_object_set(GTK_OBJECT(widget),
+ gtk_object_set(GTK_OBJECT(view),
"name", name,
NULL);
gal_define_views_model_append(GAL_DEFINE_VIEWS_MODEL(dialog->model), view);
diff --git a/widgets/menus/gal-view-new-dialog.c b/widgets/menus/gal-view-new-dialog.c
index ad682359db..5ab5d511d0 100644
--- a/widgets/menus/gal-view-new-dialog.c
+++ b/widgets/menus/gal-view-new-dialog.c
@@ -108,7 +108,7 @@ gal_view_new_dialog_init (GalViewNewDialog *gal_view_new_dialog)
GladeXML *gui;
GtkWidget *widget;
- gui = glade_xml_new (GAL_GLADEDIR "/gal-view-new-diallog.glade", NULL);
+ gui = glade_xml_new (GAL_GLADEDIR "/gal-view-new-dialog.glade", NULL);
gal_view_new_dialog->gui = gui;
widget = glade_xml_get_widget(gui, "table-top");