[gnome-panel] Add icon for reboot command



commit 41bf365c8cd3eeddb020e192d19c8e868368895f
Author: Balló György <ballogyor gmail com>
Date:   Wed Aug 5 08:32:07 2015 +0200

    Add icon for reboot command
    
    view-refresh is an appropriate icon for this.

 gnome-panel/panel-action-button.c |    2 +-
 gnome-panel/panel-icon-names.h    |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gnome-panel/panel-action-button.c b/gnome-panel/panel-action-button.c
index 25e7cfe..f08500f 100644
--- a/gnome-panel/panel-action-button.c
+++ b/gnome-panel/panel-action-button.c
@@ -481,7 +481,7 @@ static PanelAction actions [] = {
        },
        {
                PANEL_ACTION_REBOOT,
-               NULL,
+               PANEL_ICON_REBOOT,
                N_("Restart"),
                N_("Restart the computer"),
                "ACTION:reboot:NEW",
diff --git a/gnome-panel/panel-icon-names.h b/gnome-panel/panel-icon-names.h
index 90e2c45..23665cc 100644
--- a/gnome-panel/panel-icon-names.h
+++ b/gnome-panel/panel-icon-names.h
@@ -24,6 +24,7 @@
 #define PANEL_ICON_NETWORK             "network-workgroup"
 #define PANEL_ICON_NETWORK_SERVER      "network-server"
 #define PANEL_ICON_PANEL               "gnome-panel"
+#define PANEL_ICON_REBOOT              "view-refresh"
 #define PANEL_ICON_RECENT              "document-open-recent"
 #define PANEL_ICON_REMOTE              "applications-internet"
 #define PANEL_ICON_REMOVABLE_MEDIA     "drive-removable-media"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]