~riaguzov/xpad/add_search

« back to all changes in this revision

Viewing changes to src/xpad-settings.c

  • Committer: Siergiej Riaguzow
  • Date: 2019-01-28 22:37:44 UTC
  • Revision ID: siergiej.riaguzow@gmail.com-20190128223744-v5g4flcd1574vat9
Add search via toolbar/context menu/Ctrl-F shortcut

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
        gobject_class->set_property = xpad_settings_set_property;
121
121
        gobject_class->get_property = xpad_settings_get_property;
122
122
 
123
 
        obj_prop[PROP_WIDTH] = g_param_spec_uint ("width", "Default width of pads", "Window width of pads on creation", 0, G_MAXUINT, 300, G_PARAM_READWRITE);
124
 
        obj_prop[PROP_HEIGHT] = g_param_spec_uint ("height", "Default height of pads", "Window height of pads on creation", 0, G_MAXUINT, 300, G_PARAM_READWRITE);
 
123
        obj_prop[PROP_WIDTH] = g_param_spec_uint ("width", "Default width of pads", "Window width of pads on creation", 0, G_MAXUINT, 200, G_PARAM_READWRITE);
 
124
        obj_prop[PROP_HEIGHT] = g_param_spec_uint ("height", "Default height of pads", "Window height of pads on creation", 0, G_MAXUINT, 200, G_PARAM_READWRITE);
125
125
        obj_prop[PROP_HAS_DECORATIONS] = g_param_spec_boolean ("has-decorations", "Has decorations", "Whether pads have window decorations", FALSE, G_PARAM_READWRITE);
126
126
        obj_prop[PROP_CONFIRM_DESTROY] = g_param_spec_boolean ("confirm-destroy", "Confirm destroy", "Ask for delete confirmation", TRUE, G_PARAM_READWRITE);
127
127
        obj_prop[PROP_EDIT_LOCK] = g_param_spec_boolean ("edit-lock", "Edit lock", "Toggle read-only mode", FALSE, G_PARAM_READWRITE);
192
192
        settings->priv->toolbar_buttons = g_slist_append (settings->priv->toolbar_buttons, g_strdup ("Separator"));
193
193
        settings->priv->toolbar_buttons = g_slist_append (settings->priv->toolbar_buttons, g_strdup ("Undo"));
194
194
        settings->priv->toolbar_buttons = g_slist_append (settings->priv->toolbar_buttons, g_strdup ("Redo"));
 
195
        settings->priv->toolbar_buttons = g_slist_append (settings->priv->toolbar_buttons, g_strdup ("Separator"));
 
196
        settings->priv->toolbar_buttons = g_slist_append (settings->priv->toolbar_buttons, g_strdup ("Find"));
195
197
 
196
198
        load_from_file (settings, DEFAULTS_FILENAME);
197
199
}