-
Notifications
You must be signed in to change notification settings - Fork 800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start of Gtk3 to Gtk4 #1909
base: stable
Are you sure you want to change the base?
Start of Gtk3 to Gtk4 #1909
Commits on May 3, 2024
-
Use GdkEvent accessor functions part1
In Gtk4 you are no longer able to access the event structure so use the accessor functions to retrieve values
Configuration menu - View commit details
-
Copy full SHA for 1daf019 - Browse repository at this point
Copy the full SHA 1daf019View commit details -
Use GdkEvent accessor functions part2
In Gtk4 you are no longer able to access the event structure so use the accessor functions to retrieve values These files access the event structure with no equivalent accessor function. Not sure of correct change, may need to wait for Gtk4 change.
Configuration menu - View commit details
-
Copy full SHA for 35c5e08 - Browse repository at this point
Copy the full SHA 35c5e08View commit details -
Use GdkEvent accessor functions part3
In Gtk4 you are no longer able to access the event structure so use the accessor functions to retrieve values. Register sheet and header changes
Configuration menu - View commit details
-
Copy full SHA for 41dc329 - Browse repository at this point
Copy the full SHA 41dc329View commit details -
Use GdkEvent accessor functions part4
In Gtk4 you are no longer able to access the event structure so use the accessor functions to retrieve values Register components.
Configuration menu - View commit details
-
Copy full SHA for 6447d0e - Browse repository at this point
Copy the full SHA 6447d0eView commit details -
Use GdkEvent accessor functions part5
In Gtk4 you are no longer able to access the event structure so use the accessor functions to retrieve values ComboCell and CompletionCell needed more changes and not sure why, just doing the normal change was not enough as this resulted in characters appearing twice on my build machine but not on Windows or Fedora38.
Configuration menu - View commit details
-
Copy full SHA for 18b10c8 - Browse repository at this point
Copy the full SHA 18b10c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7c2921 - Browse repository at this point
Copy the full SHA e7c2921View commit details -
Use GtkEventControllerKey combo/completion cell
By changing to GtkEventControllerKey for combocell and completioncell fixes issue for double key presses.
Configuration menu - View commit details
-
Copy full SHA for 76c28dc - Browse repository at this point
Copy the full SHA 76c28dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for deb42ef - Browse repository at this point
Copy the full SHA deb42efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7794b9f - Browse repository at this point
Copy the full SHA 7794b9fView commit details -
Start to use GtkEventControllerKey
Start to use GtkEventControllerkey for some key_press_event's, may need further changes.
Configuration menu - View commit details
-
Copy full SHA for 2374ed8 - Browse repository at this point
Copy the full SHA 2374ed8View commit details -
Start of gtk_style_context_get changes
Change some entries to remove state and comment out others not sure about.
Configuration menu - View commit details
-
Copy full SHA for 5064fce - Browse repository at this point
Copy the full SHA 5064fceView commit details -
Comment out all gtk_widget_show_all
Widgets by default are always visible, may need to change some for toplevel windows, dialogs and popovers
Configuration menu - View commit details
-
Copy full SHA for 46822c3 - Browse repository at this point
Copy the full SHA 46822c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02165c0 - Browse repository at this point
Copy the full SHA 02165c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e17d2c - Browse repository at this point
Copy the full SHA 2e17d2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee2f2b4 - Browse repository at this point
Copy the full SHA ee2f2b4View commit details -
Change gtk_entry_get/set_text to gnc version part1
Add function gnc_entry_get/set_text and use that instead
Configuration menu - View commit details
-
Copy full SHA for dc39ea6 - Browse repository at this point
Copy the full SHA dc39ea6View commit details -
Change gtk_entry_get/set_text to gnc version part2
Add function gnc_entry_get/set_text and use that instead
Configuration menu - View commit details
-
Copy full SHA for 33bea7a - Browse repository at this point
Copy the full SHA 33bea7aView commit details -
Change gtk_entry_get/set_text to gnc version part3
Add function gnc_entry_get/set_text and use that instead
Configuration menu - View commit details
-
Copy full SHA for aaab87f - Browse repository at this point
Copy the full SHA aaab87fView commit details -
Change gtk_widget_destroy part1
Replace gtk_widget_destroy with gtk_window_destroy and comment out, will probably need further work with some changes to box_remove or g_object_unref
Configuration menu - View commit details
-
Copy full SHA for cb30ae2 - Browse repository at this point
Copy the full SHA cb30ae2View commit details -
Change gtk_widget_destroy part2
Replace gtk_widget_destroy with gtk_window_destroy and comment out, will probably need further work with some changes to box_remove or g_object_unref
Configuration menu - View commit details
-
Copy full SHA for 4efef28 - Browse repository at this point
Copy the full SHA 4efef28View commit details -
Change gtk_widget_destroy part3
Replace gtk_widget_destroy with gtk_window_destroy and comment out, will probably need further work with some changes to box_remove or g_object_unref
Configuration menu - View commit details
-
Copy full SHA for f524ec6 - Browse repository at this point
Copy the full SHA f524ec6View commit details -
Change gtk_box_pack_end/start part1
Change gtk_box_pack_end/start to gtk_box_prepend/append
Configuration menu - View commit details
-
Copy full SHA for 17093bc - Browse repository at this point
Copy the full SHA 17093bcView commit details -
Change gtk_box_pack_end/start part2
Change gtk_box_pack_end/start to gtk_box_prepend/append
Configuration menu - View commit details
-
Copy full SHA for d54e96a - Browse repository at this point
Copy the full SHA d54e96aView commit details -
Change gtk_box_pack_end/start part3
Change gtk_box_pack_end/start to gtk_box_prepend/append
Configuration menu - View commit details
-
Copy full SHA for 0f21e92 - Browse repository at this point
Copy the full SHA 0f21e92View commit details -
Change gtk_container_add/remove
Change gtk_container_add/remove to gtk_box_prepend/remove, some may need changing to child variant
Configuration menu - View commit details
-
Copy full SHA for 118fa52 - Browse repository at this point
Copy the full SHA 118fa52View commit details -
Change gtk_conatiner_set_border
Add function gnc_box_set_all_margins to replicate container function
Configuration menu - View commit details
-
Copy full SHA for a35440a - Browse repository at this point
Copy the full SHA a35440aView commit details -
Change some more gtk_container_ functions
These will need some more work
Configuration menu - View commit details
-
Copy full SHA for 6f7ce42 - Browse repository at this point
Copy the full SHA 6f7ce42View commit details -
Configuration menu - View commit details
-
Copy full SHA for b38f9b2 - Browse repository at this point
Copy the full SHA b38f9b2View commit details -
Change radio to toggle buttons
GtkRadioButton was removed so change them to check buttons, will need further work
Configuration menu - View commit details
-
Copy full SHA for f3c3f0c - Browse repository at this point
Copy the full SHA f3c3f0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 834fdb4 - Browse repository at this point
Copy the full SHA 834fdb4View commit details -
Change GtkAccelGroup to GtkShortcutController
This may be wrong or not needed...
Configuration menu - View commit details
-
Copy full SHA for ea0905b - Browse repository at this point
Copy the full SHA ea0905bView commit details -
Configuration menu - View commit details
-
Copy full SHA for aead9a8 - Browse repository at this point
Copy the full SHA aead9a8View commit details -
Change gtk_buildable_get_name to gtk_buildable_get_buildable_id
Configuration menu - View commit details
-
Copy full SHA for fb91971 - Browse repository at this point
Copy the full SHA fb91971View commit details -
gtk_window_resize to gtk_window_set_default_size
Configuration menu - View commit details
-
Copy full SHA for 8ed8fd4 - Browse repository at this point
Copy the full SHA 8ed8fd4View commit details -
Change gtk_entry_get/set_width_chars
Change gtk_entry_get/set_width_chars to gtk_editable_get/set_max_width_chars
Configuration menu - View commit details
-
Copy full SHA for dbbcf95 - Browse repository at this point
Copy the full SHA dbbcf95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0112aea - Browse repository at this point
Copy the full SHA 0112aeaView commit details -
Change gtk_widget_get_toplevel
Change gtk_widget_get_toplevel to gtk_widget_get_root, maybe wrong...
Configuration menu - View commit details
-
Copy full SHA for d2cc4f2 - Browse repository at this point
Copy the full SHA d2cc4f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba0b6d3 - Browse repository at this point
Copy the full SHA ba0b6d3View commit details -
Start of changes for gtk_dialog_run part1
This is mostly commenting it out, may have to use a signal connect on the 'response' signal.
Configuration menu - View commit details
-
Copy full SHA for 0f15d10 - Browse repository at this point
Copy the full SHA 0f15d10View commit details -
Start of changes for gtk_dialog_run part2
This is mostly commenting it out, may have to use a signal connect on the 'response' signal.
Configuration menu - View commit details
-
Copy full SHA for e8c87d1 - Browse repository at this point
Copy the full SHA e8c87d1View commit details -
Start of changes for gtk_dialog_run part3
This is mostly commenting it out, may have to use a signal connect on the 'response' signal.
Configuration menu - View commit details
-
Copy full SHA for 3c2716d - Browse repository at this point
Copy the full SHA 3c2716dView commit details -
Change gtk_widget_grab_default
Change gtk_widget_grab_default to gtk_window_set_default_widget
Configuration menu - View commit details
-
Copy full SHA for 4e86bd9 - Browse repository at this point
Copy the full SHA 4e86bd9View commit details -
Change gtk_window_get_size to gtk_window_get_default_size
Configuration menu - View commit details
-
Copy full SHA for 1f55318 - Browse repository at this point
Copy the full SHA 1f55318View commit details -
Configuration menu - View commit details
-
Copy full SHA for 423537c - Browse repository at this point
Copy the full SHA 423537cView commit details -
Change to use GtkEventController's with gtk_event_controller_focus_new
Configuration menu - View commit details
-
Copy full SHA for 6664dd9 - Browse repository at this point
Copy the full SHA 6664dd9View commit details -
Change gdk_event_get_coords to gdk_event_get_position
Configuration menu - View commit details
-
Copy full SHA for 575968c - Browse repository at this point
Copy the full SHA 575968cView commit details -
Change gtk_window_set_keep_above
Change gtk_window_set_keep_above to gtk_window_present
Configuration menu - View commit details
-
Copy full SHA for 64cfeed - Browse repository at this point
Copy the full SHA 64cfeedView commit details -
Comment out gtk_events_pending
Not sure what this will change to, could be g_main_context_pending
Configuration menu - View commit details
-
Copy full SHA for cafbad6 - Browse repository at this point
Copy the full SHA cafbad6View commit details -
Change gtk_scrolled_window_new
Change gtk_scrolled_window_new, has no parameters and correct adding widget to the window by using ...set_child
Configuration menu - View commit details
-
Copy full SHA for 3783e1d - Browse repository at this point
Copy the full SHA 3783e1dView commit details -
Correct adding widget to a frame widget
Use the ...set_child to add the frame widget
Configuration menu - View commit details
-
Copy full SHA for b08896c - Browse repository at this point
Copy the full SHA b08896cView commit details -
Configuration menu - View commit details
-
Copy full SHA for eba6df0 - Browse repository at this point
Copy the full SHA eba6df0View commit details -
Change gtk_label_set_line_wrap
Use gtk_label_set_wrap instead of ...line_wrap
Configuration menu - View commit details
-
Copy full SHA for 2b2e8c6 - Browse repository at this point
Copy the full SHA 2b2e8c6View commit details -
Change gtk_box_reorder_child_after, some need additional work
Configuration menu - View commit details
-
Copy full SHA for 56919ef - Browse repository at this point
Copy the full SHA 56919efView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5a65df - Browse repository at this point
Copy the full SHA d5a65dfView commit details -
Change gtk_widget_get_tooltip_text
gtk_widget_get_tooltip_text returns const
Configuration menu - View commit details
-
Copy full SHA for 255f726 - Browse repository at this point
Copy the full SHA 255f726View commit details -
gtk_window_new has no parameters and use the ...set_child function to add the child widget
Configuration menu - View commit details
-
Copy full SHA for 4e67a3b - Browse repository at this point
Copy the full SHA 4e67a3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6142468 - Browse repository at this point
Copy the full SHA 6142468View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49572a2 - Browse repository at this point
Copy the full SHA 49572a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcaaf96 - Browse repository at this point
Copy the full SHA bcaaf96View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddd137f - Browse repository at this point
Copy the full SHA ddd137fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f60b5a - Browse repository at this point
Copy the full SHA 2f60b5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98463c7 - Browse repository at this point
Copy the full SHA 98463c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d86a1df - Browse repository at this point
Copy the full SHA d86a1dfView commit details -
Start of changes to gnome-utils folder
Some of the changes are just commenting out stuff not sure about
Configuration menu - View commit details
-
Copy full SHA for f631a72 - Browse repository at this point
Copy the full SHA f631a72View commit details -
Start of changes to gnome folder
Some of the changes are just commenting out stuff not sure about
Configuration menu - View commit details
-
Copy full SHA for 4bae9cb - Browse repository at this point
Copy the full SHA 4bae9cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f972ff - Browse repository at this point
Copy the full SHA 4f972ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54ec86e - Browse repository at this point
Copy the full SHA 54ec86eView commit details -
Configuration menu - View commit details
-
Copy full SHA for be01b90 - Browse repository at this point
Copy the full SHA be01b90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15466b9 - Browse repository at this point
Copy the full SHA 15466b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae52be6 - Browse repository at this point
Copy the full SHA ae52be6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a51c2b8 - Browse repository at this point
Copy the full SHA a51c2b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3355f43 - Browse repository at this point
Copy the full SHA 3355f43View commit details -
Configuration menu - View commit details
-
Copy full SHA for acd662b - Browse repository at this point
Copy the full SHA acd662bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 631f770 - Browse repository at this point
Copy the full SHA 631f770View commit details -
Configuration menu - View commit details
-
Copy full SHA for 723794e - Browse repository at this point
Copy the full SHA 723794eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b692cbc - Browse repository at this point
Copy the full SHA b692cbcView commit details -
Start of gnc-main-window changes, tab edit
Changes for the notebook tab contents
Configuration menu - View commit details
-
Copy full SHA for c649dda - Browse repository at this point
Copy the full SHA c649ddaView commit details -
Add ability to display toolbar
This is a horizontal box packed with buttons, there is no scroll window or drop down so window will enlarge if there are too many buttons. The buttons each have a vertical child box packed with an image and label. The size of these can be controlled with CSS.
Configuration menu - View commit details
-
Copy full SHA for c868739 - Browse repository at this point
Copy the full SHA c868739View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97b454f - Browse repository at this point
Copy the full SHA 97b454fView commit details -
Change the gnc_dialog_run function
Rename the gnc_dialog_run function to gnc_warning_dialog_run as it uses the preference warning settings and make it modal and pause the main loop so it can return a value. Create a new gnc_dialog_run along the lines of above and change only references to gtk_dialog_run used to create message dialogs to this function. This may need a rethink but for now is OK if only temporary, eventually the widget used will be a GtkAlertDialog.
Configuration menu - View commit details
-
Copy full SHA for 51cf3d3 - Browse repository at this point
Copy the full SHA 51cf3d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c9d998 - Browse repository at this point
Copy the full SHA 3c9d998View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f0a224 - Browse repository at this point
Copy the full SHA 1f0a224View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b49d45 - Browse repository at this point
Copy the full SHA 2b49d45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53f65a8 - Browse repository at this point
Copy the full SHA 53f65a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a89bff0 - Browse repository at this point
Copy the full SHA a89bff0View commit details -
Add a function to set the current builder object
All builder ui signals are connected by default and can use the current object to pass user data. This may need changing...
Configuration menu - View commit details
-
Copy full SHA for abc34e0 - Browse repository at this point
Copy the full SHA abc34e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80fcf4b - Browse repository at this point
Copy the full SHA 80fcf4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for df12bab - Browse repository at this point
Copy the full SHA df12babView commit details -
Configuration menu - View commit details
-
Copy full SHA for b3dc6f3 - Browse repository at this point
Copy the full SHA b3dc6f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ef28a9 - Browse repository at this point
Copy the full SHA 2ef28a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d14cbd - Browse repository at this point
Copy the full SHA 3d14cbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e4f31b - Browse repository at this point
Copy the full SHA 1e4f31bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7b1fc5 - Browse repository at this point
Copy the full SHA e7b1fc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d34f6d5 - Browse repository at this point
Copy the full SHA d34f6d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77df727 - Browse repository at this point
Copy the full SHA 77df727View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3b79ed - Browse repository at this point
Copy the full SHA e3b79edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43cb66f - Browse repository at this point
Copy the full SHA 43cb66fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56bd06d - Browse repository at this point
Copy the full SHA 56bd06dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61e6867 - Browse repository at this point
Copy the full SHA 61e6867View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9696c6c - Browse repository at this point
Copy the full SHA 9696c6cView commit details
Commits on May 5, 2024
-
Macros can't have a space between the name and the opening parenthesis.
Configuration menu - View commit details
-
Copy full SHA for 8aa4449 - Browse repository at this point
Copy the full SHA 8aa4449View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc5f1a1 - Browse repository at this point
Copy the full SHA dc5f1a1View commit details