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
|
||||
{
|
||||
//FIXME: stop using GParted:: in front of our own enums.. it's not necessary and clutters the code
|
||||
|
||||
enum OperationType {
|
||||
OPERATION_DELETE = 0,
|
||||
OPERATION_CHECK = 1,
|
||||
|
|
|
@ -36,9 +36,9 @@ DrawingAreaVisualDisk::DrawingAreaVisualDisk()
|
|||
selected_vp = nullptr;
|
||||
|
||||
// Set some standard colors
|
||||
color_used .set( Utils::get_color( GParted::FS_USED ) );
|
||||
color_unused .set( Utils::get_color( GParted::FS_UNUSED ) );
|
||||
color_unallocated .set( Utils::get_color( GParted::FS_UNALLOCATED ) );
|
||||
color_used.set(Utils::get_color(FS_USED));
|
||||
color_unused.set(Utils::get_color(FS_UNUSED));
|
||||
color_unallocated.set(Utils::get_color(FS_UNALLOCATED));
|
||||
color_text .set( "black" );
|
||||
add_events( Gdk::BUTTON_PRESS_MASK );
|
||||
|
||||
|
|
Loading…
Reference in New Issue