Rename properties so as to be more specific
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 1 Dec 2008 03:21:29 +0000 (12:21 +0900)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 1 Dec 2008 03:21:29 +0000 (12:21 +0900)
src/ui/gui/data-editor.c
src/ui/gui/psppire-data-editor.c

index c242f764f5ad02dac73c92227ff664f2a8912ccf..74e9a0229fc60c27bf5da46637b3aafd2fa83785 100644 (file)
@@ -938,11 +938,11 @@ new_data_editor (void)
 
 
   g_object_set (de->data_editor,
-               "column-menu", de->data_sheet_variable_popup_menu, NULL);
+               "datasheet-column-menu", de->data_sheet_variable_popup_menu, NULL);
 
 
   g_object_set (de->data_editor,
-               "row-menu", de->data_sheet_cases_popup_menu, NULL);
+               "datasheet-row-menu", de->data_sheet_cases_popup_menu, NULL);
 
   return de;
 }
index 33c4440d1336a87573f6f0f1654f14fc8c98eb20..ac90bd1df6ca82d294e791969c288bc39b911e17 100644 (file)
@@ -193,8 +193,8 @@ enum
     PROP_0,
     PROP_DATA_STORE,
     PROP_VAR_STORE,
-    PROP_COLUMN_MENU,
-    PROP_ROW_MENU,
+    PROP_DS_COLUMN_MENU,
+    PROP_DS_ROW_MENU,
     PROP_VALUE_LABELS,
     PROP_CURRENT_CASE,
     PROP_CURRENT_VAR,
@@ -374,7 +374,7 @@ psppire_data_editor_set_property (GObject         *object,
                    "model", de->var_store,
                    NULL);
       break;
-    case PROP_COLUMN_MENU:
+    case PROP_DS_COLUMN_MENU:
       {
        GObject *menu = g_value_get_object (value);
 
@@ -382,7 +382,7 @@ psppire_data_editor_set_property (GObject         *object,
                          G_CALLBACK (popup_variable_menu), menu);
       }
       break;
-    case PROP_ROW_MENU:
+    case PROP_DS_ROW_MENU:
       {
        GObject *menu = g_value_get_object (value);
 
@@ -519,26 +519,26 @@ psppire_data_editor_class_init (PsppireDataEditorClass *klass)
                                    var_store_spec);
 
   column_menu_spec =
-    g_param_spec_object ("column-menu",
-                        "Column Menu",
-                        "A menu to be displayed when button 3 is pressed in the column title buttons",
+    g_param_spec_object ("datasheet-column-menu",
+                        "Data Sheet Column Menu",
+                        "A menu to be displayed when button 3 is pressed in thedata sheet's column title buttons",
                         GTK_TYPE_MENU,
                         G_PARAM_WRITABLE);
 
   g_object_class_install_property (object_class,
-                                   PROP_COLUMN_MENU,
+                                   PROP_DS_COLUMN_MENU,
                                    column_menu_spec);
 
 
   row_menu_spec =
-    g_param_spec_object ("row-menu",
-                        "Row Menu",
-                        "A menu to be displayed when button 3 is pressed in the row title buttons",
+    g_param_spec_object ("datasheet-row-menu",
+                        "Data Sheet Row Menu",
+                        "A menu to be displayed when button 3 is pressed in the data sheet's row title buttons",
                         GTK_TYPE_MENU,
                         G_PARAM_WRITABLE);
 
   g_object_class_install_property (object_class,
-                                   PROP_ROW_MENU,
+                                   PROP_DS_ROW_MENU,
                                    row_menu_spec);
 
   value_labels_spec =