Update gtk68
This commit is contained in:
parent
1f496ee72b
commit
6e3c78d8bf
|
@ -4,6 +4,7 @@
|
||||||
<file preprocess="xml-stripblanks">appmenu.xml</file>
|
<file preprocess="xml-stripblanks">appmenu.xml</file>
|
||||||
</gresource>
|
</gresource>
|
||||||
<gresource prefix="org/gtk/daleclack">
|
<gresource prefix="org/gtk/daleclack">
|
||||||
|
<file>icons/16x16/actions/open-menu.png</file>
|
||||||
<file>icons/48x48/actions/gtk68.png</file>
|
<file>icons/48x48/actions/gtk68.png</file>
|
||||||
<file>icons/128x128/actions/gtk68.png</file>
|
<file>icons/128x128/actions/gtk68.png</file>
|
||||||
</gresource>
|
</gresource>
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 104 B |
|
@ -149,6 +149,7 @@ static void gtkmain(GtkApplication *app,gpointer user_data){
|
||||||
gtk_header_bar_set_decoration_layout(GTK_HEADER_BAR(header),"close,minimize,maximize:menu");
|
gtk_header_bar_set_decoration_layout(GTK_HEADER_BAR(header),"close,minimize,maximize:menu");
|
||||||
//Menu to control files
|
//Menu to control files
|
||||||
menubtn=gtk_menu_button_new();
|
menubtn=gtk_menu_button_new();
|
||||||
|
gtk_menu_button_set_icon_name((GtkMenuButton*)menubtn,"open-menu");
|
||||||
popover=gtk_popover_menu_new_from_model(model);
|
popover=gtk_popover_menu_new_from_model(model);
|
||||||
gtk_widget_set_halign(popover,GTK_ALIGN_END);
|
gtk_widget_set_halign(popover,GTK_ALIGN_END);
|
||||||
gtk_menu_button_set_popover((GtkMenuButton*)menubtn,popover);
|
gtk_menu_button_set_popover((GtkMenuButton*)menubtn,popover);
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue