Nick Treleaven
00958379d4
Desensitize Edit->Commands menu item when no docs are open.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4383 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-28 11:06:31 +00:00
Nick Treleaven
f44d794388
Share a single Format submenu for menubar Edit and popup menu.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4382 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-27 18:10:39 +00:00
Nick Treleaven
1ca381c0a2
Change editor popup Commands submenu to start as child of menubar Edit
...
menu, as this is more usual e.g. for keybindings initialization.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4381 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-27 17:47:23 +00:00
Nick Treleaven
90a166151c
Add Edit->Commands submenu which is shared with the editor popup menu.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4380 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-27 17:27:24 +00:00
Nick Treleaven
60046e000d
Enable switching the sidebar to the right on Windows again, as it
...
apparently works after all.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4378 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-27 14:59:46 +00:00
Nick Treleaven
f064df0699
Disable switching the sidebar to the right on Windows as it will
...
probably fail like the Split Window plugin.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4370 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-26 15:45:12 +00:00
Enrico Tröger
23c757ee10
Add missing API documentation (oops)
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4364 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-25 22:43:15 +00:00
Nick Treleaven
091bfac4ac
Add sidebar position interface pref.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4357 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-23 16:18:05 +00:00
Nick Treleaven
f4620698ae
Set border width for project properties build table.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4350 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-21 11:59:33 +00:00
Nick Treleaven
cf35a8a495
Revert r4301 - utils_free_pointers() taking 4 arguments.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4321 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-15 16:15:28 +00:00
Nick Treleaven
d9a5d81356
Move Tools configuration items to top of menu.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4314 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-14 13:51:43 +00:00
Nick Treleaven
539f8b3068
Add document_get_notebook_page() to API.
...
Minor edits of dox.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4311 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-14 12:21:18 +00:00
Nick Treleaven
39cdcac742
Make Split Window 'Show current document' button have a drop-down menu
...
to select the other documents.
Add new API function ui_menu_add_document_items().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4308 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-13 17:14:25 +00:00
Nick Treleaven
2ed2fe1af6
Fix memory leaks with gtk_container_get_children().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4305 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-12 16:31:38 +00:00
Nick Treleaven
f36c9024a3
Make utils_free_pointers() take 4 arguments, add to API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4301 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-12 16:03:10 +00:00
Nick Treleaven
caec1ec7c3
Rename treeviews.[hc] -> sidebar.[hc].
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4252 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-28 11:16:59 +00:00
Nick Treleaven
bc2b6829c5
Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4220 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 16:46:16 +00:00
Nick Treleaven
dcd66f09a0
Add & use ui_label_set_markup(), ui_label_new_bold().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4219 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 16:21:03 +00:00
Enrico Tröger
c786d69e00
After clearing a text field using the embedded clear icon, put the input focus into this text field.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4210 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-17 18:08:21 +00:00
Nick Treleaven
1986d915cc
Run ./scripts/fix-alignment.pl -w src/*.[hc] plugins/*.[hc] (skipping generated files).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4199 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-16 14:13:38 +00:00
Enrico Tröger
060fc00929
Remove ui_toolbar.xml Configuration Files menu item.
...
Add a real toolbar editor dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3898 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-25 17:21:45 +00:00
Enrico Tröger
33fe023ac7
Invert the logic to determine which Save All we want to use:
...
Use the Tango like icon only for the Tango theme and the Gnome / GTK like icon for any other themes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3884 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-20 17:32:55 +00:00
Enrico Tröger
8d18b3c2fa
Init stock items before creating the toolbar ( closes #2809324 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3882 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-20 16:53:28 +00:00
Enrico Tröger
8b5b6287e1
Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is saved within Geany.
...
Refactor some related code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3874 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-20 16:51:32 +00:00
Nick Treleaven
e1ecc75f44
Make GeanyDocument::file_type always be non-NULL, even for a new
...
document with no filetype set.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3868 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-17 10:46:43 +00:00
Nick Treleaven
f56cad490e
Remove data_ptr argument to foreach_[s]list() macros, as using
...
node->data is enough sometimes; this makes the macro a bit more
efficient too.
Add foreach_[s]list() macros to the plugin API docs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3862 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-12 15:32:35 +00:00
Nick Treleaven
aa4e9831c4
Add filetypes.common Configuration Files menu item.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3848 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-09 14:39:28 +00:00
Enrico Tröger
459d9e2962
Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3837 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-05 14:00:08 +00:00
Enrico Tröger
a073209940
Fix wrong sensitiveness of the Redo buttons ( closes #2797862 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3822 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-28 20:22:12 +00:00
Enrico Tröger
daf4c3478b
Make the clear icon of entry fields act on the release event, not on the press event like for other buttons.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3775 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-10 17:44:14 +00:00
Enrico Tröger
b5884be2fa
Remember the active sidebar page between sessions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3739 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-27 19:30:29 +00:00
Enrico Tröger
a6bf39436b
Ellipsize long filenames also in the window title.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3720 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-21 20:53:23 +00:00
Enrico Tröger
a95a59a42f
Remove all G_LIKELY macros inside g_return_if_fail() statements as this is redundant.
...
Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much sense to keep the code more readable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3708 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-15 22:47:33 +00:00
Nick Treleaven
7e7b07e3b7
Sort Configuration Files menu.
...
Add ui_menu_sort_by_label().
Add foreach_list() macro.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3700 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-08 12:25:47 +00:00
Enrico Tröger
28ac7814fd
Don't add opened project files to the GtkRecentManager.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3699 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-07 22:09:23 +00:00
Enrico Tröger
a9dc990049
Start using G_LIKELY/G_UNLIKELY macros to gain a little more performance when building the code with gcc.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3687 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-05 21:07:40 +00:00
Enrico Tröger
9a0c567918
Add "Recent Projects" menu to the Project menu ( #2728630 , patch by Elias Pschernig, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3684 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-05 14:14:29 +00:00
Enrico Tröger
9d8d3f5b2b
Add sanity checks in ui_lookup_widget() just to be safe.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3683 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-05 14:13:56 +00:00
Nick Treleaven
c220fadc9e
Make None filetype name = title = _("None").
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/reorder-filetypes@3665 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-27 16:14:29 +00:00
Enrico Tröger
adae4bc707
Fix wrong directory selection behaviour in all Open Folder dialogs ( closes #2688020 , patch by Marcel Stimberg, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3630 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-16 13:45:12 +00:00
Enrico Tröger
93b0278a52
Disable the default tab bar menu for the main notebook widget and use a custom menu instead which lists all open files as usual plus 'Close Other Documents' and 'Close All' menu items.
...
Remove GeanyDocumentPrivate::tabmenu_label.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3615 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-02 20:34:31 +00:00
Enrico Tröger
46a2d13b4d
Move ui_set_search_entry_background() into ui_utils.c.
...
Change the background colour of the search entries in the Find and Replace dialogs according to the search results like in the toolbar search field.
Add images to the 'Replace' and 'Replace and Find' buttons in the Replace dialog.
Minor cleanups in search.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3605 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-27 14:05:50 +00:00
Enrico Tröger
d6c1d1e801
Add editor_get_word_at_pos() as a convenient function to retrieve the word at a given position.
...
Make document_get_status_color() returning a const GdkColor.
Add editor_get_word_at_pos() and document_get_status_color() to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3567 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-08 19:52:21 +00:00
Enrico Tröger
b2eeefc919
Add some missing @since tags to the API documentation of various functions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3531 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-30 18:53:23 +00:00
Enrico Tröger
8ef5804bbe
Add a hiden preference "allow_always_save" to make the Save buttons/menu items always sensitive and allow saving files even without changes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3520 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-28 17:01:32 +00:00
Enrico Tröger
644a9cfbff
Add a progressbar widget to the statusbar and use it to show progress when building with the Make commands, when printing and when using Find in Files.
...
Add progressbar convenience functions and ui_entry_add_clear_icon() to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3517 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-27 20:19:43 +00:00
Enrico Tröger
a20ee7d883
Add a clear icon to the toolbar search and goto text fields (will be available with GTK >= 2.16).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3516 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-27 19:31:45 +00:00
Enrico Tröger
204b62d000
Add 'Build' toolbar button with a submenu for Make actions.
...
Make use of ui_image_menu_item_new() for some menu items.
Remove tooltips from menu items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3479 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-17 17:59:20 +00:00
Enrico Tröger
39a6eb455e
Update copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3446 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-04 18:30:42 +00:00
Nick Treleaven
640053e598
Add ui_hookup_widget() macro to the API.
...
Make saving Stash string settings NULL-safe.
Move fif_extra_options search setting code to search.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3428 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-28 17:25:09 +00:00