some minor toolbar adjustments, toolkit icons update

Mon, 17 Jun 2024 21:20:58 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Mon, 17 Jun 2024 21:20:58 +0200
changeset 43
ef01d2c90128
parent 42
9af327d0e0e4
child 44
473954dc6b74

some minor toolbar adjustments, toolkit icons update

application/application.c file | annotate | diff | comparison | revisions
ui/ui/icons.h file | annotate | diff | comparison | revisions
--- a/application/application.c	Sun Jun 16 11:36:27 2024 +0200
+++ b/application/application.c	Mon Jun 17 21:20:58 2024 +0200
@@ -97,7 +97,7 @@
         ui_menuitem("TODO", NULL);
     }
 
-    ui_toolbar_add_default("Home", UI_TOOLBAR_LEFT);
+    //ui_toolbar_add_default("Home", UI_TOOLBAR_LEFT);
     ui_toolbar_add_default("NewWindow", UI_TOOLBAR_LEFT);
     ui_toolbar_add_default("Refresh", UI_TOOLBAR_LEFT);
     ui_toolbar_add_default("Repo", UI_TOOLBAR_LEFT);
@@ -108,8 +108,8 @@
     ui_toolbar_add_default("Download", UI_TOOLBAR_CENTER);
     ui_toolbar_add_default("Upload", UI_TOOLBAR_CENTER);
 
-    ui_toolbar_add_default("LocalBrowser", UI_TOOLBAR_RIGHT);
-    ui_toolbar_add_default("PreviewPane", UI_TOOLBAR_RIGHT);
+    //ui_toolbar_add_default("LocalBrowser", UI_TOOLBAR_RIGHT);
+    //ui_toolbar_add_default("PreviewPane", UI_TOOLBAR_RIGHT);
 }
 
 
--- a/ui/ui/icons.h	Sun Jun 16 11:36:27 2024 +0200
+++ b/ui/ui/icons.h	Mon Jun 17 21:20:58 2024 +0200
@@ -37,14 +37,14 @@
 
 #ifdef UI_GTK3
     
-#define UI_ICON_HOME "user-home"
-#define UI_ICON_NEW_WINDOW ""
-#define UI_ICON_REFRESH ""
+#define UI_ICON_HOME "go-home"
+#define UI_ICON_NEW_WINDOW "list-add"
+#define UI_ICON_REFRESH "view-refresh"
 #define UI_ICON_NEW_FOLDER "folder-new"
-#define UI_ICON_ADD ""
-#define UI_ICON_UPLOAD ""
-#define UI_ICON_SAVE_LOCAL ""
-#define UI_ICON_DELETE ""
+#define UI_ICON_ADD "document-new"
+#define UI_ICON_UPLOAD "document-open"
+#define UI_ICON_SAVE_LOCAL "document-save-as"
+#define UI_ICON_DELETE "edit-delete"
 #define UI_ICON_DOCK_LEFT ""
 #define UI_ICON_DOCK_RIGHT ""
 #define UI_ICON_GO_BACK "go-previous"

mercurial