mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
Add selectable argument. (attach_value_label): set selectable to TRUE.
2002-01-27 Anders Carlsson <andersca@gnu.org> * src/file-manager/fm-properties-window.c (attach_label): Add selectable argument. (attach_value_label): set selectable to TRUE. (attach_ellipsizing_value_label): Likewise. (attach_title_field): set selectable to FALSE. 2002-01-23 Anders Carlsson <andersca@gnu.org> * libnautilus/nautilus-view-standard-main.c (delayed_quit_timeout_callback): Use gtk_main_quit.
This commit is contained in:
parent
5b3e10d89a
commit
3aea85a8d6
3 changed files with 22 additions and 5 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
|||
2002-01-27 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* src/file-manager/fm-properties-window.c (attach_label): Add selectable argument.
|
||||
(attach_value_label): set selectable to TRUE.
|
||||
(attach_ellipsizing_value_label): Likewise.
|
||||
(attach_title_field): set selectable to FALSE.
|
||||
|
||||
2002-01-23 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* libnautilus/nautilus-view-standard-main.c (delayed_quit_timeout_callback):
|
||||
Use gtk_main_quit.
|
||||
|
||||
2002-01-25 Michael Meeks <michael@ximian.com>
|
||||
|
||||
* libnautilus-private/nautilus-bookmark.c
|
||||
|
|
|
@ -60,7 +60,7 @@ delayed_quit_timeout_callback (gpointer data)
|
|||
|
||||
callback_data = (CallbackData *) data;
|
||||
callback_data->delayed_quit_timeout_id = 0;
|
||||
bonobo_main_quit ();
|
||||
gtk_main_quit ();
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
@ -669,7 +669,8 @@ attach_label (GtkTable *table,
|
|||
const char *initial_text,
|
||||
gboolean right_aligned,
|
||||
gboolean bold,
|
||||
gboolean ellipsize_text)
|
||||
gboolean ellipsize_text,
|
||||
gboolean selectable)
|
||||
{
|
||||
GtkWidget *label_field;
|
||||
|
||||
|
@ -677,6 +678,10 @@ attach_label (GtkTable *table,
|
|||
? eel_ellipsizing_label_new (initial_text)
|
||||
: gtk_label_new (initial_text);
|
||||
|
||||
if (selectable) {
|
||||
gtk_label_set_selectable (GTK_LABEL (label_field), TRUE);
|
||||
}
|
||||
|
||||
if (bold) {
|
||||
eel_gtk_label_make_bold (GTK_LABEL (label_field));
|
||||
}
|
||||
|
@ -700,7 +705,7 @@ attach_value_label (GtkTable *table,
|
|||
int column,
|
||||
const char *initial_text)
|
||||
{
|
||||
return attach_label (table, row, column, initial_text, FALSE, FALSE, FALSE);
|
||||
return attach_label (table, row, column, initial_text, FALSE, FALSE, FALSE, TRUE);
|
||||
}
|
||||
|
||||
static GtkLabel *
|
||||
|
@ -709,7 +714,7 @@ attach_ellipsizing_value_label (GtkTable *table,
|
|||
int column,
|
||||
const char *initial_text)
|
||||
{
|
||||
return attach_label (table, row, column, initial_text, FALSE, FALSE, TRUE);
|
||||
return attach_label (table, row, column, initial_text, FALSE, FALSE, TRUE, TRUE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -1254,7 +1259,7 @@ attach_title_field (GtkTable *table,
|
|||
int row,
|
||||
const char *title)
|
||||
{
|
||||
return attach_label (table, row, TITLE_COLUMN, title, TRUE, TRUE, FALSE);
|
||||
return attach_label (table, row, TITLE_COLUMN, title, TRUE, TRUE, FALSE, FALSE);
|
||||
}
|
||||
|
||||
static guint
|
||||
|
|
Loading…
Reference in a new issue