[gnome-commander] Update default icon names
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Update default icon names
- Date: Tue, 30 Nov 2021 19:26:25 +0000 (UTC)
commit e33fd456dcfb094a86357d33297da025fad5b10a
Author: Uwe Scholz <u scholz83 gmx de>
Date: Tue Nov 30 20:24:31 2021 +0100
Update default icon names
Name are from https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
src/gnome-cmd-con-home.cc | 6 +++---
src/gnome-cmd-con-smb.cc | 6 +++---
src/gnome-cmd-con.cc | 16 ++++++++--------
3 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/src/gnome-cmd-con-home.cc b/src/gnome-cmd-con-home.cc
index 5329938a..6f65b9fe 100644
--- a/src/gnome-cmd-con-home.cc
+++ b/src/gnome-cmd-con-home.cc
@@ -121,9 +121,9 @@ static void init (GnomeCmdConHome *home_con)
con->is_local = TRUE;
con->is_closeable = FALSE;
con->go_text = g_strdup (_("Go to: Home"));
- con->go_pixmap = gnome_cmd_pixmap_new_from_icon ("gnome-fs-home", dev_icon_size);
- con->open_pixmap = gnome_cmd_pixmap_new_from_icon ("gnome-fs-home", dev_icon_size);
- con->close_pixmap = gnome_cmd_pixmap_new_from_icon ("gnome-fs-home", dev_icon_size);
+ con->go_pixmap = gnome_cmd_pixmap_new_from_icon ("user-home", dev_icon_size);
+ con->open_pixmap = gnome_cmd_pixmap_new_from_icon ("user-home", dev_icon_size);
+ con->close_pixmap = gnome_cmd_pixmap_new_from_icon ("user-home", dev_icon_size);
GnomeCmdDir *dir = gnome_cmd_dir_new (con, new GnomeCmdPlainPath(g_get_home_dir ()));
diff --git a/src/gnome-cmd-con-smb.cc b/src/gnome-cmd-con-smb.cc
index a05c10fb..5541d198 100644
--- a/src/gnome-cmd-con-smb.cc
+++ b/src/gnome-cmd-con-smb.cc
@@ -223,9 +223,9 @@ static void init (GnomeCmdConSmb *smb_con)
con->is_local = FALSE;
con->is_closeable = FALSE;
con->go_text = g_strdup (_("Go to: Samba Network"));
- con->go_pixmap = gnome_cmd_pixmap_new_from_icon ("gnome-fs-network", dev_icon_size);
- con->open_pixmap = gnome_cmd_pixmap_new_from_icon ("gnome-fs-network", dev_icon_size);
- con->close_pixmap = gnome_cmd_pixmap_new_from_icon ("gnome-fs-network", dev_icon_size);
+ con->go_pixmap = gnome_cmd_pixmap_new_from_icon ("folder-remote", dev_icon_size);
+ con->open_pixmap = gnome_cmd_pixmap_new_from_icon ("folder-remote", dev_icon_size);
+ con->close_pixmap = gnome_cmd_pixmap_new_from_icon ("folder-remote", dev_icon_size);
}
diff --git a/src/gnome-cmd-con.cc b/src/gnome-cmd-con.cc
index 0fe03c5c..418a8cdf 100644
--- a/src/gnome-cmd-con.cc
+++ b/src/gnome-cmd-con.cc
@@ -54,16 +54,16 @@ static GtkObjectClass *parent_class = nullptr;
// Keep this in sync with enum ConnectionMethodID in gnome-cmd-con.h
-const gchar *icon_name[] = {"gnome-fs-ssh", // CON_SSH
- "gnome-fs-ftp", // CON_FTP
- "gnome-fs-ftp", // CON_ANON_FTP
+const gchar *icon_name[] = {"folder-remote", // CON_SSH
+ "folder-remote", // CON_FTP
+ "folder-remote", // CON_ANON_FTP
#ifdef HAVE_SAMBA
- "gnome-fs-smb", // CON_SMB
+ "folder-remote", // CON_SMB
#endif
- "gnome-fs-web", // CON_DAV
- "gnome-fs-web", // CON_DAVS
- "gnome-fs-network", // CON_URI
- "gnome-fs-directory"}; // CON_FILE
+ "folder-remote", // CON_DAV
+ "folder-remote", // CON_DAVS
+ "network-workgroup", // CON_URI
+ "folder"}; // CON_FILE
static void on_open_done (GnomeCmdCon *con)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]