mirror of
https://gitlab.gnome.org/GNOME/gparted
synced 2024-09-13 21:21:12 +00:00
5407e8346b
Gtk::OptionMenu is a combobox type widget that is constructed from a
Gtk::Menu rather than a Gtk::TreeModel. However Gtk::OptionMenu was
deprecated in gtkmm 2.4.1.
In GParted the Gtk::OptionMenu widget is used for:
- partition alignment combobox
- partition type combobox
- file system combobox
While they consist only of text we cannot use Gtk::ComboBoxText because
it doesn't expose functionality in its interface to make items inactive.
Create OptionComboBox helper class that builds a combobox consisting of
only text items, much like Gtk::ComboBoxText, but has the added
functionality to set items as inactive.
References:
https://developer.gnome.org/gtkmm/2.24/classGtk_1_1OptionMenu.html#details
https://gitlab.gnome.org/GNOME/gtkmm/blob/GTKMM_2_10_1/ChangeLog#L3515
bba503b047
https://developer.gnome.org/gtkmm/2.24/classGtk_1_1ComboBoxText.html
Closes !17 - Gtk2 modernisation
68 lines
1.4 KiB
Plaintext
68 lines
1.4 KiB
Plaintext
# List of source files containing translatable strings.
|
|
# Please keep this file sorted alphabetically.
|
|
gparted.appdata.xml.in
|
|
gparted.desktop.in.in
|
|
org.gnome.gparted.policy.in.in
|
|
include/Utils.h
|
|
src/BlockSpecial.cc
|
|
src/CopyBlocks.cc
|
|
src/DialogPasswordEntry.cc
|
|
src/Dialog_Base_Partition.cc
|
|
src/Dialog_Disklabel.cc
|
|
src/Dialog_FileSystem_Label.cc
|
|
src/Dialog_Partition_Copy.cc
|
|
src/Dialog_Partition_Info.cc
|
|
src/Dialog_Partition_Name.cc
|
|
src/Dialog_Partition_New.cc
|
|
src/Dialog_Partition_Resize_Move.cc
|
|
src/Dialog_Progress.cc
|
|
src/DialogFeatures.cc
|
|
src/DialogManageFlags.cc
|
|
src/Dialog_Rescue_Data.cc
|
|
src/DMRaid.cc
|
|
src/FileSystem.cc
|
|
src/GParted_Core.cc
|
|
src/HBoxOperations.cc
|
|
src/LVM2_PV_Info.cc
|
|
src/LUKS_Info.cc
|
|
src/Mount_Info.cc
|
|
src/OperationChangeUUID.cc
|
|
src/OperationCopy.cc
|
|
src/OperationCheck.cc
|
|
src/OperationCreate.cc
|
|
src/OperationDelete.cc
|
|
src/OperationDetail.cc
|
|
src/OperationFormat.cc
|
|
src/OperationLabelFileSystem.cc
|
|
src/OperationNamePartition.cc
|
|
src/OperationResizeMove.cc
|
|
src/OptionComboBox.cc
|
|
src/Partition.cc
|
|
src/PartitionLUKS.cc
|
|
src/PartitionVector.cc
|
|
src/PasswordRAMStore.cc
|
|
src/ProgressBar.cc
|
|
src/SWRaid_Info.cc
|
|
src/TreeView_Detail.cc
|
|
src/Utils.cc
|
|
src/Win_GParted.cc
|
|
src/btrfs.cc
|
|
src/exfat.cc
|
|
src/ext2.cc
|
|
src/f2fs.cc
|
|
src/fat16.cc
|
|
src/hfs.cc
|
|
src/hfsplus.cc
|
|
src/jfs.cc
|
|
src/linux_swap.cc
|
|
src/lvm2_pv.cc
|
|
src/luks.cc
|
|
src/main.cc
|
|
src/minix.cc
|
|
src/ntfs.cc
|
|
src/nilfs2.cc
|
|
src/reiser4.cc
|
|
src/reiserfs.cc
|
|
src/udf.cc
|
|
src/xfs.cc
|