parent
7189dd04c9
commit
50aa45d7d2
|
@ -272,7 +272,8 @@ static void vn_combo_init (VnCombo * self)
|
||||||
self->cell = gtk_cell_renderer_text_new ();
|
self->cell = gtk_cell_renderer_text_new ();
|
||||||
g_object_set (self->cell
|
g_object_set (self->cell
|
||||||
,"ellipsize", PANGO_ELLIPSIZE_END
|
,"ellipsize", PANGO_ELLIPSIZE_END
|
||||||
,"width", 0
|
,"ellipsize-set", TRUE
|
||||||
|
// ,"width", 0
|
||||||
,NULL
|
,NULL
|
||||||
);
|
);
|
||||||
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (self->combo), self->cell, TRUE);
|
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (self->combo), self->cell, TRUE);
|
||||||
|
|
|
@ -467,7 +467,7 @@ VnWindow * vn_gui_add_window (VnGui * obj, VnWindow * window)
|
||||||
win_entries, G_N_ELEMENTS (win_entries), window);
|
win_entries, G_N_ELEMENTS (win_entries), window);
|
||||||
gtk_menu_button_set_menu_model (GTK_MENU_BUTTON (button), obj->main_menu);
|
gtk_menu_button_set_menu_model (GTK_MENU_BUTTON (button), obj->main_menu);
|
||||||
gtk_button_set_image (GTK_BUTTON (button),
|
gtk_button_set_image (GTK_BUTTON (button),
|
||||||
gtk_image_new_from_icon_name ("emblem-system-symbolic",
|
gtk_image_new_from_icon_name ("open-menu-symbolic",
|
||||||
GTK_ICON_SIZE_BUTTON));
|
GTK_ICON_SIZE_BUTTON));
|
||||||
gtk_header_bar_pack_end (window->header, button);
|
gtk_header_bar_pack_end (window->header, button);
|
||||||
|
|
||||||
|
|
Reference in New Issue