Nick Treleaven
9e418d7aaf
Show overridden keybindings in bold for prefs dialog tree
2012-04-04 13:43:39 +01:00
Nick Treleaven
b287553e4a
Use 'SETPTR' instead of 'setptr'
...
This makes it clearer we're using a macro.
2012-01-25 16:26:16 +00:00
Colomban Wendling
9031335971
Set prefs' encoding combo boxes "wrap with" in the Glade file directly
2012-01-20 19:31:57 +01:00
Colomban Wendling
7f16b9a4fb
Fix content of encodings and EOL style prefs ComboBoxes (oops)
...
I broke them in ca922e0ddc8022283ec3c1f49aaa15ab7c5ba213
Now the two encoding combo boxes shares the same data, which is
built only once.
2012-01-20 19:28:35 +01:00
Colomban Wendling
0aea05d10d
Fix various integer signedness and minor styling issues
...
Most noteworthy change is that all build commands IDs and groups are
now unsigned everywhere negative values aren't explicitly handled with
a special meaning. This should not change anything in behavior, only
makes clear the index won't underflow.
2011-12-18 00:32:22 +01:00
Matthew Brush
088b0bc362
Merge branch 'master' into gtkbuilder
...
Conflicts:
geany.glade
src/Makefile.am
src/callbacks.c
2011-12-05 20:52:00 -08:00
Colomban Wendling
c252b1f376
Fix finding duplicated keybindings
...
When checking whether a keybinding is already in use before updating
it in the preferences, check against the keybindings the user may have
updated, not the ones that are currently applied.
This fixes changing action A from key K to key L and action B from key
L to key K, which led to conflicts back and forth since when setting B
to K the check found A as a duplicate even after having changed it.
2011-11-23 00:51:46 +01:00
Colomban Wendling
c73ee49758
Fix a few things, most of them reported by clang's static analyzer
2011-11-15 19:40:29 +01:00
Matthew Brush
0a16ec7520
Merge branch 'master' into gtkbuilder
...
Conflicts:
src/interface.c
src/vte.c
2011-11-06 23:44:24 -08:00
Matthew Brush
72e856947e
Rework GtkBuilder code to behave more like old Glade 2 code
...
* Put back ui_hookup_widget and ui_lookup_widget functions
* Put back lookup_widget code in stash.c
* Emulate old create_*() functions from interface.[ch].
* Hookup all the GtkBuilder widget's to their top widgets like Glade 2
generated code would've done.
* Misc changes to accomodate the above.
2011-10-19 00:44:35 -07:00
Nick Treleaven
cf88abfe4d
Speed up & simplify stash tree display/update
...
Store a pointer to the stash pref for each row, so display/update is just
O(n) instead of O(n^2) time.
This changes the order prefs are updated in, but this doesn't matter.
2011-10-17 18:03:56 +01:00
Matthew Brush
af093c2ddf
Remove interface.c/h files and put code into ui_utils.c/h.
2011-10-10 15:20:15 -07:00
Matthew Brush
cfedadae27
Remove lingering Glade 2 create_*() functions.
...
Add interface.h includes in prefs.c, project.c, stash.c and ui_utils.c.
2011-10-10 13:56:37 -07:00
Colomban Wendling
d06e9f4575
Remove $Id$ and $Date$ SVN keywords
2011-10-09 22:57:35 +02:00
Nick Treleaven
abefcc3375
Support visual reordering of keybinding groups without breaking the
...
plugin ABI.
Reorder Project group to follow main menu order.
Move Focus, Notebook tab groups last as they don't have
corresponding menu items.
Use keybindings_get_core_group() for fixed group IDs instead of
indexing keybinding_groups.
Make keybindings_lookup_item() only work with a GEANY_KEY_GROUP_
ID, not an index into keybinding_groups.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5990 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-03 14:57:02 +00:00
Nick Treleaven
6aeefe91c3
Use various_treeview global to tidy code a little.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5943 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-21 16:03:11 +00:00
Nick Treleaven
4d3959ac2f
Fix making various prefs tree sync with data values when showing
...
the prefs dialog (patch by Dimitar Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5942 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-21 15:50:36 +00:00
Colomban Wendling
ddb4ad5fa5
Fix some whitespace style errors
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5886 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-06 18:34:14 +00:00
Colomban Wendling
44e5687e0b
Allow editing of formerly hidden preferences in the preferences dialog
...
Patch by Dimitar Zhekov, thanks! (closes P#3313315)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5871 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-07-28 17:59:22 +00:00
Colomban Wendling
acc1ad557c
Enable GTK printing support unconditionally
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5841 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-13 20:42:31 +00:00
Colomban Wendling
fdc80371c8
Fix preferences help button when activated with the keyboard
...
Don't hack around to trigger the help when the help button is clicked
on, simply handle the HELP dialog response. This makes the button
correctly show help rather than close the dialog when activated using
the keyboard.
This also drops _button_press_event() need and hack, making the button
correctly respond visually to mouse clicks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5820 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-27 21:00:41 +00:00
Nick Treleaven
d7277f17bc
Remove Preferences label warning about restarting after editing
...
template data - this is no longer necessary.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5743 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-26 16:39:41 +00:00
Colomban Wendling
4ffcfbba6c
Don't allow editing keybinding column of group rows
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5681 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-03 15:54:28 +00:00
Colomban Wendling
a009c2b48e
Fix loading and updating menu accelerators for custom commands
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5679 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-03 15:53:48 +00:00
Enrico Tröger
6ac2623208
Update copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5528 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-19 19:39:09 +00:00
Nick Treleaven
ff6354d833
Remove unnecessary 'global' from long line editor pref field names.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5432 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 17:36:29 +00:00
Nick Treleaven
c25d9856fe
Add 'Ensure consistent line endings' file saving pref (patch by
...
Manuel Bua, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5321 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-25 16:24:55 +00:00
Nick Treleaven
b231d9a903
Rename wrong function argument name.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5318 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-22 12:27:11 +00:00
Nick Treleaven
558126a0c8
Fix not changing edited keybindings when cancelling the Preferences
...
dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5317 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-22 12:20:37 +00:00
Nick Treleaven
23b5f0a753
Refactor shared code with kb_cell_edited_cb().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5316 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-21 16:40:31 +00:00
Nick Treleaven
50cb5e54c9
Rename confusing callback name for prefs dialog response.
...
Edit comment - use Stash for new 'simple' prefs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5315 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-21 16:19:06 +00:00
Nick Treleaven
ad5bedd07a
Rename confusing Grab Key dialog callback functions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5314 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-21 16:06:53 +00:00
Nick Treleaven
0eca783f97
Simplify keybindings_check_event().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5225 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-13 15:37:46 +00:00
Nick Treleaven
0c4b7a2ab0
Use single binding_ids keybinding array instead of individual
...
arrays for core keybindings. This allows the keybinding IDs to be
merged into one enum; the order of keybindings is now just the
order they are added to each group. Keybindings can be reordered
without breaking the plugin ABI but groups must stay the same.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5120 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-10 12:43:30 +00:00
Nick Treleaven
608c484655
Remove unnecessary dialog_key_name global.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5119 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-10 12:25:35 +00:00
Enrico Tröger
8db192a3fa
Add a preference for choosing between GTK and native File Open/Save dialogs (only available on Windows).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4929 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 18:22:24 +00:00
Enrico Tröger
fdd451f0d4
Add preference to add new document tabs beside the current one (patch by Colomban Wendling, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4928 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:45:39 +00:00
Enrico Tröger
6724917764
win32.h can be included unconditionally.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4919 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:42:58 +00:00
Enrico Tröger
e28ca32274
Add option 'System Default' for toolbar icon style and size to use the GTK default value.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4817 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-11 21:56:08 +00:00
Nick Treleaven
201b595b51
Rename Stash data types to be independently named from Geany (so
...
Stash can be reused for other projects).
Rename GeanyPrefGroup to StashGroup.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4776 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-18 17:04:17 +00:00
Nick Treleaven
39a6d76e2a
Improve API docs contents page by listing all commonly-used files.
...
Fix 'Date' appearing twice on the date line.
Don't generate API docs for prefs.h, toolbar.h (unused).
Move some '@file' doc-comments to the .c file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4772 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-18 13:13:11 +00:00
Nick Treleaven
7c27b1e009
Apply patch from Eugene Arshinov to add project long line marker
...
customisation (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4751 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-10 16:20:34 +00:00
Enrico Tröger
80a1d3965d
Correctly set the parent widget for the keybinding overwrite confirmation dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4730 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 17:13:54 +00:00
Enrico Tröger
7ba4a81181
Update copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4518 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-01 22:55:18 +00:00
Enrico Tröger
1090159b54
Add a checkbox in the preferences dialog to explicitly toggle the visibility of the sidebar ( closes #2923340 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4517 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-31 15:48:39 +00:00
Enrico Tröger
baccf0391e
Set the correct parent window for the toolbar editor dialog ( closes #2913334 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4503 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 20:49:28 +00:00
Enrico Tröger
93f66de4e2
Add MessageWindow::scribble and use it instead of searching the widget pointer everytime.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4499 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 20:07:04 +00:00
Enrico Tröger
0be8ea8b8c
Make dialogs_show_prompt() more flexible to take up to three button/response code pairs to be shown.
...
Add a close button to the dialog when asking to Re-Save a deleted file (closes #2916954 , based on a patch by Dominik Stadler, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4495 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 15:37:40 +00:00
Enrico Tröger
b26e4a5002
Fix two compiler warnings about possibly uninitialised variables.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4461 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-30 22:58:57 +00:00
Enrico Tröger
d7d8fbabe3
Add a Help button to the preferences dialog.
...
Handle Help keybinding events for the preferences dialog especially and open the manual with the corresponding anchor link to the current preferences page (same goes for the new Help button).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4443 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-23 23:03:39 +00:00