Enlarged the tab close icon. This should fix some display issues.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@752 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
0bd427bd05
commit
ffccef2c68
@ -1,3 +1,10 @@
|
||||
2006-08-21 Enrico Tröger <enrico.troeger@uvena.de>
|
||||
|
||||
* 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 <enrico.troeger@uvena.de>
|
||||
|
||||
* src/build.c, src/document.c, src/document.h, src/geany.h,
|
||||
|
35
src/images.c
35
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 */
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user