Skip to content

Draft: Port to GTK4

Inam Ul Haq requested to merge cyberphantom52/gnome-disk-utility:gtk4 into main

Still very much WIP. Opening a MR to get suggestions/help with the process.

Will also try to accommodate #274 by the time its complete.

TODO:

  • Compile
  • Launch
  • Move from libhandy to libadwaita
  • Update depreciated APIs
    • gtk_entry_{get,set}_text
    • gtk_widget_{show,hide}
    • gtk_box_pack_start
    • gtk_window_hide
    • gtk_dialog_run
    • ...
  • Update depreciated widgets
    • GtkFileDialog
    • GtkDialog
    • ...
  • Port everything to GtkBuilder templates.
    • GduAtaSmartDialog
    • GduBenchmarkDialog
    • GduCreateDiskImageDialog
    • GduDiskSettingsDialog
    • ...
  • Restore functionality
    • Delete Partition
    • Create Partition
    • Unmount
    • ...
  • Label each partition with colors
  • Custom disk usage bar

More Tasks: #274 (comment 1945849)

Although the PR is still a draft, Please keep reviewing it in parallel so i can fix the issues while working on it.

Edited by Inam Ul Haq

Merge request reports