Robert Fewell
1890c6ccfb
Reimplement macOS menubar for reconcile window
4 years ago
Robert Fewell
e6b95f011d
Remove depreciated GtkUIManager and friends from Reconcile window
4 years ago
Robert Fewell
48e5ce87eb
Fix missing g_free for the main window 'res_name'.
4 years ago
Robert Fewell
bfaecdffa8
Refactor the adding of the tooltips to the report menu items
4 years ago
Robert Fewell
86f6528d0a
Need to free the GncMainWindowActionData
...
When hash table item_hash is destroyed, the GncMainWindowActionData
structures need to be freed.
4 years ago
Robert Fewell
6e8e5b760a
Move gnc_plugin_page_get_simple_action_group in source file.
4 years ago
Robert Fewell
4fc12837c1
Remove all references to 'page-uri' for plugin pages
...
Do not think it is required.
4 years ago
Robert Fewell
4fd868f89e
Add a couple of changes dealing with GtKBuilder object
4 years ago
Robert Fewell
007f5fbcdd
Add a couple of descriptions to plugin functions
...
Add a couple of descriptions to plugin functions and also
change to use container for each for tool bar tooltip
add callbacks function.
4 years ago
Robert Fewell
7cc870aac0
Remove some unused variables
4 years ago
Robert Fewell
e16217a219
Fix the file print menu item
...
Create a placeholder for the file print item as the label can change
for different pages. Also fix the sensitivity depending on page.
4 years ago
Robert Fewell
bf648f6ed5
Update some function descriptions
4 years ago
Robert Fewell
58805c2a40
Remove actions_name from plugin page as not required.
4 years ago
Robert Fewell
04a56f6c28
Remove tracking GtkAccelGroup from plugin page as not required
4 years ago
Robert Fewell
d3b1da6e56
Fix missing menu tooltips in the register
...
Re-add the callbacks for the tooltip redirection when the menu items
are updated.
4 years ago
Robert Fewell
37a9721bf2
Fix updating of the menu for invoice, bill and expense
...
Change the updating of the main window menu items from the GtkMenu item
to the GMenuModel as this will allow the tooltips to be picked up for
showing in the status bar.
4 years ago
Robert Fewell
1f8f1c3679
Fix updating of the menu for the configuration items
...
Change the updating of the main window menu items from the GtkMenu item
to the GMenuModel as this will allow the tooltips to be picked up for
showing in the status bar.
4 years ago
Robert Fewell
959c870f03
Add some main window function descriptions
4 years ago
Robert Fewell
79285097ff
Rename gnc_main_window_update_menu
...
Rename the main windoe function gnc_main_window_update_menu to
gnc_main_window_update_menu_and_toolbar as it deals with the menu and
toolbar
4 years ago
Robert Fewell
d6ae799e74
Remove a couple of unused functions
4 years ago
Robert Fewell
5c498a1c9b
Rename gnc_main_window_menu_item_vis_by_action
...
Rename the main window function gnc_main_window_menu_item_vis_by_action
to gnc_main_window_set_vis_of_items_by_action as it deals with menu and
toolbar items.
4 years ago
Robert Fewell
e00bcf581d
Add function description for gnc_main_window_menu_find_menu_item
4 years ago
Robert Fewell
ab3ae3fada
Rename main window toolbar function.
...
Rename the main window function gnc_main_window_toolbar_find_menu_item
to gnc_main_window_toolbar_find_tool_item
4 years ago
Robert Fewell
7abd26f895
Use the added defines for the g_menu_item_set_attribute function
4 years ago
Robert Fewell
bb5fa12209
Update the menu and tool utils
...
A descriptions for the util functions.
4 years ago
Robert Fewell
0aaf11ac25
Use GtkApplicationWindow as basis for GncMainWindow
...
Geert's changes...
As a GtkApplicationWindow also implements the GActionMap interface
it can be used directly instead of the GSimpleActionGroup that was
set up to maintain our actions.
As a GtkApplicationWindow is not a GSimpleActionGroup (the other
object to implement GActionMap) this also needed a minor change in
the function signature of gnc_plugin_set_actions_enabled.
4 years ago
Robert Fewell
d0d76c279a
Remove the hash table merged_actions_table
...
There is no need to remember the simple action groups added to the main
window.
4 years ago
Robert Fewell
239820c5a6
Fix the binding of the extra business items when
...
gnucash started with --nofile
4 years ago
Robert Fewell
19cfbd6cd3
Hide the Transaction and Schedule menus at Window setup
4 years ago
Robert Fewell
46c1dd0096
Fix accelerator keys for multiple windows.
...
Simplify adding accelerator keys to windows by just adding one group to
each window and update that group when menu changes.
4 years ago
Robert Fewell
c68dcccebb
Changes to window menu entries
...
Change the maximum number of windows from a macro to a 'constexpr'.
Also added an info dialogue to advise when limit reached, no new window
entries will be added to the Windows menu.
4 years ago
Robert Fewell
9ed102d461
Main window changes for mac's
4 years ago
Robert Fewell
21b95765c0
Setup redirection of menu bar tooltips
...
This commit redirects the menu bar tooltips to the window status bar
4 years ago
Robert Fewell
5f3235134a
Setup redirection of tool bar tooltips
...
This commit redirects the tool bar tooltips to the window status bar
4 years ago
Robert Fewell
4f8643674b
Remove all references to GncDisplayItem
4 years ago
Robert Fewell
e0b55dd707
Remove function gnc_main_window_all_ui_set_sensitive
...
Do not think it is needed...
4 years ago
Robert Fewell
54c79aef42
Remove gnc_main_window_actions_updated from gnc_main_window
4 years ago
Robert Fewell
a33b63fbae
Misc changes to remove references to GtkUIManger
4 years ago
Robert Fewell
42d13eb6f4
Remove some more GtkUIManager functions from gnc-main-window
4 years ago
Robert Fewell
c9abdb1373
Remove some GtkUIManger functions
4 years ago
Robert Fewell
ea419b3b2c
Fix creating a new file
4 years ago
Robert Fewell
e85f5f8d8d
Fix binding extra business tool bar item to preference setting
4 years ago
Robert Fewell
a381fbcf4e
Redfine gnc_plugin_update_actions
...
As this function does not deal with action visibility any more, remove
the property_name parameter, rename and update all occurrences.
4 years ago
Robert Fewell
3d54212e11
Fix visibility of StockAssistant
4 years ago
Robert Fewell
2b84d6cf4a
Fix displaying of the extra menu
4 years ago
Robert Fewell
68bf71de4f
Fix Edit/Assign payment in business plugin
4 years ago
Robert Fewell
17151a3e5e
Remove remaining old ...ui.xml files
4 years ago
Robert Fewell
cc0094da22
Replace gnc_plugin_page_get/create_action_group
...
Replace gnc_plugin_page_get/create_action_group with the new versions
that deal with GSimpleActionGroup's
4 years ago
Robert Fewell
078d7875d3
Change all references to plugin_class->actionsb
...
Change all references to plugin_class->actionsb and n_actionsb to
plugin_class->actions and n_actions
4 years ago
Robert Fewell
02911eab20
Replace gnc_plugin_update_actions
...
Replace gnc_plugin_update_actions with new version based on
GSimpleActionGroup
4 years ago