diff --git a/ChangeLog b/ChangeLog index aaaa716c..7e89d9fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-08-21 Enrico Tröger + + * src/images.c, src/notebook.c: + Applied patch from Củ Văn Chuối to enlarge the tab close icon. This + should fix some display issues. + + 2006-08-20 Enrico Tröger * src/build.c, src/document.c, src/document.h, src/geany.h, diff --git a/src/images.c b/src/images.c index 90da96cb..168f6c78 100644 --- a/src/images.c +++ b/src/images.c @@ -218,25 +218,24 @@ static const guint8 close_small_inline[] = { "" /* Pixbuf magic (0x47646b50) */ "GdkP" - /* length: header (24) + pixel_data (196) */ - "\0\0\0\334" - /* pixdata_type (0x1010002) */ - "\1\1\0\2" - /* rowstride (28) */ - "\0\0\0\34" - /* width (7) */ - "\0\0\0\7" - /* height (7) */ - "\0\0\0\7" + /* length: header (24) + pixel_data (171) */ + "\0\0\0\303" + /* pixdata_type (0x2010002) */ + "\2\1\0\2" + /* rowstride (40) */ + "\0\0\0(" + /* width (10) */ + "\0\0\0\12" + /* height (10) */ + "\0\0\0\12" /* pixel_data: */ - "\0\0\0\0\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\377\0\0\0\0\0\0\0" - "\0\0\0\0\377\0\0\0\377\0\0\0\0\0\0\0\377\0\0\0\377\0\0\0\0\0\0\0\0\0" - "\0\0\0\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" - "\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" - "\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\0\0\0\0\0\0\0\0\377\0\0\0\377" - "\0\0\0\0\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\0\0\0\0\377\0\0\0\0\0\0" - "\0\0\0\0\0\0\0\0\0\377\0\0\0\377"}; - + "\2\0\0\0\10\0\0\0\35\206\0\0\0\0\202\0\0\0\15\1\0\0\0\1\202\0\0\0\377" + "\204\0\0\0\0\202\0\0\0\377\2\0\0\0\31\0\0\0\0\203\0\0\0\377\202\0\0\0" + "\0\203\0\0\0\377\203\0\0\0\0\206\0\0\0\377\205\0\0\0\0\204\0\0\0\377" + "\206\0\0\0\0\204\0\0\0\377\205\0\0\0\0\206\0\0\0\377\203\0\0\0\0\203" + "\0\0\0\377\202\0\0\0\0\203\0\0\0\377\2\0\0\0\0\0\0\0\13\202\0\0\0\377" + "\204\0\0\0\0\202\0\0\0\377\202\0\0\0\22\1\0\0\0\11\206\0\0\0\0\2\0\0" + "\0\21\0\0\0\40"}; /* GdkPixbuf RGBA C-Source image dump */ diff --git a/src/notebook.c b/src/notebook.c index 0c8a7c78..45f5e2a9 100644 --- a/src/notebook.c +++ b/src/notebook.c @@ -259,7 +259,7 @@ gint notebook_new_tab(gint doc_idx, gchar *title, GtkWidget *page) gtk_container_add(GTK_CONTAINER(but), utils_new_image_from_inline(GEANY_IMAGE_SMALL_CROSS, FALSE)); gtk_container_set_border_width(GTK_CONTAINER(but), 0); - gtk_widget_set_size_request(but, 17, 15); + gtk_widget_set_size_request(but, 19, 18); align = gtk_alignment_new(1.0, 0.0, 0.0, 0.0); gtk_container_add(GTK_CONTAINER(align), but);