[gnome-session] [capplet] Make the icon and text sensitive/insensitive
- From: Vincent Untz <vuntz src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-session] [capplet] Make the icon and text sensitive/insensitive
- Date: Wed, 24 Jun 2009 13:56:20 +0000 (UTC)
commit c34f21bb728900637b0d0236192e700a48e772ef
Author: Vincent Untz <vuntz gnome org>
Date: Wed Jun 24 01:11:52 2009 +0200
[capplet] Make the icon and text sensitive/insensitive
This obviously tracks the enabled/disabled state.
capplet/gsm-properties-dialog.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/capplet/gsm-properties-dialog.c b/capplet/gsm-properties-dialog.c
index b0526b2..32465d1 100644
--- a/capplet/gsm-properties-dialog.c
+++ b/capplet/gsm-properties-dialog.c
@@ -567,6 +567,7 @@ setup_dialog (GsmPropertiesDialog *dialog)
column = gtk_tree_view_column_new_with_attributes (_("Icon"),
renderer,
"gicon", STORE_COL_GICON,
+ "sensitive", STORE_COL_ENABLED,
NULL);
g_object_set (renderer,
"stock-size", GSM_PROPERTIES_ICON_SIZE,
@@ -578,6 +579,7 @@ setup_dialog (GsmPropertiesDialog *dialog)
column = gtk_tree_view_column_new_with_attributes (_("Program"),
renderer,
"markup", STORE_COL_DESCRIPTION,
+ "sensitive", STORE_COL_ENABLED,
NULL);
g_object_set (renderer,
"ellipsize", PANGO_ELLIPSIZE_END,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]