mirror of https://github.com/daleclack/My_GtkUi
Add Icon for start button
This commit is contained in:
parent
5989ae2c67
commit
b37c1f1bae
|
@ -1,6 +1,6 @@
|
|||
set(CMAKE_CXX_STANDARD 17)
|
||||
cmake_minimum_required(VERSION 3.0.0)
|
||||
project(My_GtkUI VERSION 4.2.0)
|
||||
project(My_GtkUI VERSION 4.3.0)
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../GCR_CMake/macros)
|
||||
include(GlibCompileResourcesSupport)
|
||||
|
|
|
@ -365,6 +365,12 @@
|
|||
<property name="has-frame">0</property>
|
||||
<property name="direction">right</property>
|
||||
<property name="popover">popover1</property>
|
||||
<child>
|
||||
<object class="GtkImage" id="start_image">
|
||||
<property name="pixel-size">48</property>
|
||||
<property name="icon-name">My_GtkUI</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
|
|
|
@ -227,7 +227,7 @@ static void left_panel_init(LeftPanel * panel){
|
|||
|
||||
//Set Image for start button
|
||||
|
||||
gtk_menu_button_set_label(GTK_MENU_BUTTON(panel->btnstart),"Start");
|
||||
//gtk_menu_button_set_label(GTK_MENU_BUTTON(panel->btnstart),"Start");
|
||||
|
||||
//All Apps are not in running mode
|
||||
panel->file_running = FALSE;
|
||||
|
|
|
@ -136,7 +136,7 @@ static void about_activated(GSimpleAction * action, GVariant * parmeter, gpointe
|
|||
NULL
|
||||
};
|
||||
char *version;
|
||||
version=g_strdup_printf("4.2\nRunning Against GTK %d.%d.%d",
|
||||
version=g_strdup_printf("4.3\nRunning Against GTK %d.%d.%d",
|
||||
gtk_get_major_version(),
|
||||
gtk_get_minor_version(),
|
||||
gtk_get_micro_version());
|
||||
|
|
Loading…
Reference in New Issue