mirror of
https://gitlab.gnome.org/GNOME/gparted
synced 2024-08-27 11:40:03 +00:00
Remove final namespace qualifiers from use of GParted's own enums
... because it is not necessary and clutters the code.
This commit is contained in:
parent
adca4d4089
commit
2a8ec0e4bb
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
namespace GParted
|
namespace GParted
|
||||||
{
|
{
|
||||||
//FIXME: stop using GParted:: in front of our own enums.. it's not necessary and clutters the code
|
|
||||||
enum OperationType {
|
enum OperationType {
|
||||||
OPERATION_DELETE = 0,
|
OPERATION_DELETE = 0,
|
||||||
OPERATION_CHECK = 1,
|
OPERATION_CHECK = 1,
|
||||||
|
|
|
@ -36,9 +36,9 @@ DrawingAreaVisualDisk::DrawingAreaVisualDisk()
|
||||||
selected_vp = nullptr;
|
selected_vp = nullptr;
|
||||||
|
|
||||||
// Set some standard colors
|
// Set some standard colors
|
||||||
color_used .set( Utils::get_color( GParted::FS_USED ) );
|
color_used.set(Utils::get_color(FS_USED));
|
||||||
color_unused .set( Utils::get_color( GParted::FS_UNUSED ) );
|
color_unused.set(Utils::get_color(FS_UNUSED));
|
||||||
color_unallocated .set( Utils::get_color( GParted::FS_UNALLOCATED ) );
|
color_unallocated.set(Utils::get_color(FS_UNALLOCATED));
|
||||||
color_text .set( "black" );
|
color_text .set( "black" );
|
||||||
add_events( Gdk::BUTTON_PRESS_MASK );
|
add_events( Gdk::BUTTON_PRESS_MASK );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue