I have followed the steps on here https://github.com/satya164/elegance-colors
but when i type "Make" it gives me lots of errors. Here is the output of Make command;
Code: Select all
valac --pkg gtk+-3.0 elegance-colors-prefs.vala -o elegance-colors-prefs
elegance-colors-prefs.vala:1660.27-1660.51: error: The name `from_icon_name' does not exist in the context of `Gtk.Button'
undo_button = new Gtk.Button.from_icon_name ("edit-undo-symbolic", Gtk.IconSize.SMALL_TOOLBAR);
^^^^^^^^^^^^^^^^^^^^^^^^^
elegance-colors-prefs.vala:1662.27-1662.51: error: The name `from_icon_name' does not exist in the context of `Gtk.Button'
redo_button = new Gtk.Button.from_icon_name ("edit-redo-symbolic", Gtk.IconSize.SMALL_TOOLBAR);
^^^^^^^^^^^^^^^^^^^^^^^^^
elegance-colors-prefs.vala:1664.28-1664.52: error: The name `from_icon_name' does not exist in the context of `Gtk.Button'
clear_button = new Gtk.Button.from_icon_name ("edit-clear-symbolic", Gtk.IconSize.SMALL_TOOLBAR);
^^^^^^^^^^^^^^^^^^^^^^^^^
elegance-colors-prefs.vala:1684.29-1684.41: error: The name `HeaderBar' does not exist in the context of `Gtk'
var headerbar = new Gtk.HeaderBar ();
^^^^^^^^^^^^^
elegance-colors-prefs.vala:1684.13-1684.44: error: var declaration not allowed with non-typed initializer
var headerbar = new Gtk.HeaderBar ();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
elegance-colors-prefs.vala:1685.9-1685.17: error: The name `headerbar' does not exist in the context of `EleganceColorsWindow.create_widgets'
headerbar.set_show_close_button (true);
^^^^^^^^^
elegance-colors-prefs.vala:1686.9-1686.17: error: The name `headerbar' does not exist in the context of `EleganceColorsWindow.create_widgets'
headerbar.set_title ("Elegance Colors");
^^^^^^^^^
elegance-colors-prefs.vala:1687.9-1687.17: error: The name `headerbar' does not exist in the context of `EleganceColorsWindow.create_widgets'
headerbar.set_subtitle ("Configure Gnome Shell theme");
^^^^^^^^^
elegance-colors-prefs.vala:1688.9-1688.17: error: The name `headerbar' does not exist in the context of `EleganceColorsWindow.create_widgets'
headerbar.pack_start (actions_box);
^^^^^^^^^
elegance-colors-prefs.vala:1689.9-1689.17: error: The name `headerbar' does not exist in the context of `EleganceColorsWindow.create_widgets'
headerbar.pack_end (menu_button);
^^^^^^^^^
elegance-colors-prefs.vala:1700.9-1700.25: error: The name `set_titlebar' does not exist in the context of `EleganceColorsWindow'
this.set_titlebar(headerbar);
^^^^^^^^^^^^^^^^^
Compilation failed: 11 error(s), 0 warning(s)
make: *** [elegance-colors-prefs] Error 1
Anyone here is using elegance-colors gnome shell on their Centos 7 installation?
Thank you