Revision: 3066 http://geany.svn.sourceforge.net/geany/?rev=3066&view=rev Author: eht16 Date: 2008-10-10 16:43:40 +0000 (Fri, 10 Oct 2008)
Log Message: ----------- Make a some labels in the File Properties dialog selectable.
Modified Paths: -------------- trunk/ChangeLog trunk/src/dialogs.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-10-10 16:43:15 UTC (rev 3065) +++ trunk/ChangeLog 2008-10-10 16:43:40 UTC (rev 3066) @@ -2,6 +2,8 @@
* src/editor.c: Fix Ctrl-click on a word when Numpad is enabled. + * src/dialog.c: + Make a some labels in the File Properties dialog selectable.
2008-10-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/dialogs.c =================================================================== --- trunk/src/dialogs.c 2008-10-10 16:43:15 UTC (rev 3065) +++ trunk/src/dialogs.c 2008-10-10 16:43:40 UTC (rev 3066) @@ -1060,6 +1060,7 @@
title = g_strdup_printf("<b>%s</b>", base_name); label = gtk_label_new(title); + gtk_label_set_selectable(GTK_LABEL(label), TRUE); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); image = gtk_image_new_from_stock("gtk-file", GTK_ICON_SIZE_BUTTON); gtk_misc_set_alignment(GTK_MISC(image), 1.0, 0.5); @@ -1082,6 +1083,7 @@ gtk_misc_set_alignment(GTK_MISC(label), 1, 0);
label = gtk_label_new(doc->file_type->title); + gtk_label_set_selectable(GTK_LABEL(label), TRUE); gtk_table_attach(GTK_TABLE(table), label, 1, 2, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); @@ -1096,6 +1098,7 @@
file_size = utils_make_human_readable_str(filesize, 1, 0); label = gtk_label_new(file_size); + gtk_label_set_selectable(GTK_LABEL(label), TRUE); gtk_table_attach(GTK_TABLE(table), label, 1, 2, 1, 2, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); @@ -1110,6 +1113,7 @@ gtk_misc_set_alignment(GTK_MISC(label), 1, 0);
label = gtk_label_new(doc->file_name); + gtk_label_set_selectable(GTK_LABEL(label), TRUE); gtk_table_attach(GTK_TABLE(table), label, 1, 2, 2, 3, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); @@ -1144,6 +1148,7 @@ ((doc->has_bom) ? _("(with BOM)") : _("(without BOM)")) : "");
label = gtk_label_new(enctext); + gtk_label_set_selectable(GTK_LABEL(label), TRUE); g_free(enctext);
gtk_table_attach(GTK_TABLE(table), label, 1, 2, 4, 5, @@ -1159,6 +1164,7 @@ gtk_misc_set_alignment(GTK_MISC(label), 1, 0);
label = gtk_label_new(time_modified); + gtk_label_set_selectable(GTK_LABEL(label), TRUE); gtk_table_attach(GTK_TABLE(table), label, 1, 2, 5, 6, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); @@ -1172,6 +1178,7 @@ gtk_misc_set_alignment(GTK_MISC(label), 1, 0);
label = gtk_label_new(time_changed); + gtk_label_set_selectable(GTK_LABEL(label), TRUE); gtk_table_attach(GTK_TABLE(table), label, 1, 2, 6, 7, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); @@ -1185,6 +1192,7 @@ gtk_misc_set_alignment(GTK_MISC(label), 1, 0);
label = gtk_label_new(time_accessed); + gtk_label_set_selectable(GTK_LABEL(label), TRUE); gtk_table_attach(GTK_TABLE(table), label, 1, 2, 7, 8, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.