Set window icon in glade file
This commit is contained in:
committed by
Simon Steinbeiß
parent
19b888fcfe
commit
81df60a8ac
@@ -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); \
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user