Nick Treleaven
d7f7ff0678
Remove 3 popup menu items to save space:
...
Find Document Usage because Find Usage can be used instead.
Go to Tag Declaration because Go to Tag Definition is more common.
Go to Line because the toolbar item can be used instead.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5223 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-13 14:39:32 +00:00
Nick Treleaven
1fc8a5bc19
Add Find Usage and Go to Tag items to Search menu for easier
...
discovery.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5211 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 11:58:55 +00:00
Nick Treleaven
4da9f9dbc4
Remove return value for ui_label_set_markup() as it probably shouldn't be used for macros.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5155 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-12 17:21:24 +00:00
Nick Treleaven
689ad7e83e
Move some interface hidden prefs to ui_utils.c.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5122 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-10 12:49:16 +00:00
Enrico Tröger
af8f5fc921
Make ui_label_new_bold() a function.
...
Escape the name of the current document for markup when using
document name for menu items (closes #3038844 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5116 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-05 21:13:47 +00:00
Nick Treleaven
ae4d82b7f1
Use Stash to save statusbar_template setting, instead of the
...
load/save-settings signal.
Add ui_init_prefs().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5101 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-09 17:15:16 +00:00
Nick Treleaven
2b771854ae
Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5097 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-08 16:59:11 +00:00
Nick Treleaven
d05db879d1
Fix writing empty hidden pref "statusbar_template" key so users can
...
find it (patch by Dimitar Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5096 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-08 11:35:32 +00:00
Nick Treleaven
8358177099
Fix only adding project base path to Find in Files history if it
...
isn't already there (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5083 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-02 12:19:00 +00:00
Nick Treleaven
b20537db3d
Add spaces after RO when using %r in statusbar_template setting.
...
Add space between encoding and BOM.
Note \t means tab for default text.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5070 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-29 15:44:41 +00:00
Nick Treleaven
e80e88646a
Add statusbar_template hidden pref (based on patch by Dimitar
...
Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5069 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-29 12:11:21 +00:00
Nick Treleaven
4476a79127
Use ui_hookup_widget() instead of g_object_set_data_full() for
...
widgets.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5063 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-23 16:57:28 +00:00
Nick Treleaven
c41b55d692
Add ui_combo_box_add_to_history() to API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5048 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-18 12:20:15 +00:00
Nick Treleaven
9362e7d3cb
Remove any duplicate on adding to combo box histories.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5044 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-17 17:28:28 +00:00
Nick Treleaven
0331c0e650
Display 'new instance' on title bar (patch by Eugene Arshinov,
...
thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5031 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-17 12:35:17 +00:00
Enrico Tröger
58359a6d18
Add Print and Replace toolbar items to the list of document sensitive widgets.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4942 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-22 19:39:14 +00:00
Enrico Tröger
dfa5f18e8c
Add missing header include
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4895 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-10 17:21:13 +00:00
Enrico Tröger
658b552f42
Add public, generic callback ui_editable_insert_text_callback() to restrict GtkEntry text inputs to +/- and numeric values only.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4892 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-09 15:48:29 +00:00
Enrico Tröger
8c963d2829
Make string arguments const where appropriate (patch by Colomban Wendling, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4862 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-25 17:43:39 +00:00
Enrico Tröger
2f63860908
Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated strings in case of reaching the buffer size limit (part of #2979697 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4855 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-25 17:42:01 +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
Enrico Tröger
0fd6e75f4a
For now revert the recent patch which set real_path of newly open non-existent configuration files as this seems hackish and causes 'file not found' warnings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4762 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-15 14:05:42 +00:00
Nick Treleaven
138cbaa02f
Use 3rd person (gets not get) for API function brief descriptions.
...
Avoid using 'convenience function' in API brief descriptions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4757 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-12 18:15:48 +00:00
Nick Treleaven
c5b2588e4f
Fix ui_button_new_with_image() to call gtk_button_set_image() so
...
that gtk_button_[sg]et_label() work as expected.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4753 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-12 11:23:22 +00:00
Enrico Tröger
f72f6381df
Add and use convenience function ui_is_keyval_enter_or_return() and add it to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4737 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 19:33:15 +00:00
Enrico Tröger
74f0afa5dc
When editing non-existent config files using the Tools->Configuration Files menu, explicitly set the real_path to avoid presenting the Save As dialog when saving the file (patch by Tony Rick, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4732 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 17:37:00 +00:00
Enrico Tröger
6afacd50b9
Make Space on the compiler and messages widgets not focus the editor widget while Enter does (patch by Can Koy, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4713 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-28 14:57:06 +00:00
Frank Lanitz
40b658e54b
Show number of lines of current document inside statusbar. Thanks to Can Koy for providing the patch.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4707 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-28 01:04:19 +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
ba94d0ce6f
Rename win32_show_file_dialog() to win32_show_document_open_dialog() as it is specialised for opening documents.
...
Implement win32_show_file_dialog() as a generic file open dialog and use it with ui_path_box_new().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4505 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 21:49:23 +00:00
Enrico Tröger
b7b4de41f4
Rename win32_show_project_folder_dialog() to win32_show_folder_dialog() as it is not related and not used by any project management related code.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4504 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-20 21:03:28 +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
a8a35a5536
Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in ui_setup_open_button_callback().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4428 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-17 21:47:06 +00:00
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