Set window icon in glade file

This commit is contained in:
Simon Steinbeiss
2021-01-18 11:53:27 +01:00
committed by Simon Steinbeiß
parent 19b888fcfe
commit 81df60a8ac
2 changed files with 1 additions and 1 deletions

View File

@@ -29,7 +29,6 @@
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), message , ## __VA_ARGS__ ); \ gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), message , ## __VA_ARGS__ ); \
gtk_window_set_title (GTK_WINDOW (dialog), _("Task Manager")); \ gtk_window_set_title (GTK_WINDOW (dialog), _("Task Manager")); \
gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_MOUSE); \ gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_MOUSE); \
gtk_window_set_icon_name (GTK_WINDOW (dialog), "org.xfce.taskmanager"); \
gtk_dialog_run (GTK_DIALOG (dialog)); \ gtk_dialog_run (GTK_DIALOG (dialog)); \
gtk_widget_destroy (dialog); \ gtk_widget_destroy (dialog); \
} }

View File

@@ -19,6 +19,7 @@
</object> </object>
<object class="GtkWindow" id="process-window"> <object class="GtkWindow" id="process-window">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="icon_name">org.xfce.taskmanager</property>
<child type="titlebar"> <child type="titlebar">
<object class="GtkHeaderBar"> <object class="GtkHeaderBar">
<property name="visible">True</property> <property name="visible">True</property>