aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-31 01:28:08 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-31 01:28:08 +0800
commit7172355841dbd207938ae58879819c6935465803 (patch)
tree8f2651d4d15a19e60f3bd5bfdca7b8572bc2b84d /addressbook/gui/widgets
parent475917c60722ce4f95ab45f7b8294e06f51aae20 (diff)
downloadgsoc2013-evolution-7172355841dbd207938ae58879819c6935465803.tar.gz
gsoc2013-evolution-7172355841dbd207938ae58879819c6935465803.tar.zst
gsoc2013-evolution-7172355841dbd207938ae58879819c6935465803.zip
Made the alphabet buttons not focusable.
2000-05-30 Christopher James Lahey <clahey@helixcode.com> * gui/component/alphabet.glade: Made the alphabet buttons not focusable. * gui/minicard/e-minicard-view.c: Made the "123" button work. * gui/minicard/e-reflow-sorted.c: Made all buttons past the last letter available work. svn path=/trunk/; revision=3285
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r--addressbook/gui/widgets/alphabet.glade28
-rw-r--r--addressbook/gui/widgets/e-minicard-view.c3
2 files changed, 4 insertions, 27 deletions
diff --git a/addressbook/gui/widgets/alphabet.glade b/addressbook/gui/widgets/alphabet.glade
index 2da4de8ad3..bc6e5f3798 100644
--- a/addressbook/gui/widgets/alphabet.glade
+++ b/addressbook/gui/widgets/alphabet.glade
@@ -54,8 +54,7 @@
<widget>
<class>GtkButton</class>
- <name>button-123</name>
- <can_focus>True</can_focus>
+ <name>button-1</name>
<label>123</label>
<child>
<padding>0</padding>
@@ -67,7 +66,6 @@
<widget>
<class>GtkButton</class>
<name>button-a</name>
- <can_focus>True</can_focus>
<label>a</label>
<child>
<padding>0</padding>
@@ -79,7 +77,6 @@
<widget>
<class>GtkButton</class>
<name>button-b</name>
- <can_focus>True</can_focus>
<label>b</label>
<child>
<padding>0</padding>
@@ -91,7 +88,6 @@
<widget>
<class>GtkButton</class>
<name>button-c</name>
- <can_focus>True</can_focus>
<label>c</label>
<child>
<padding>0</padding>
@@ -103,7 +99,6 @@
<widget>
<class>GtkButton</class>
<name>button-d</name>
- <can_focus>True</can_focus>
<label>d</label>
<child>
<padding>0</padding>
@@ -115,7 +110,6 @@
<widget>
<class>GtkButton</class>
<name>button-e</name>
- <can_focus>True</can_focus>
<label>e</label>
<child>
<padding>0</padding>
@@ -127,7 +121,6 @@
<widget>
<class>GtkButton</class>
<name>button-f</name>
- <can_focus>True</can_focus>
<label>f</label>
<child>
<padding>0</padding>
@@ -139,7 +132,6 @@
<widget>
<class>GtkButton</class>
<name>button-g</name>
- <can_focus>True</can_focus>
<label>g</label>
<child>
<padding>0</padding>
@@ -151,7 +143,6 @@
<widget>
<class>GtkButton</class>
<name>button-h</name>
- <can_focus>True</can_focus>
<label>h</label>
<child>
<padding>0</padding>
@@ -163,7 +154,6 @@
<widget>
<class>GtkButton</class>
<name>button-i</name>
- <can_focus>True</can_focus>
<label>i</label>
<child>
<padding>0</padding>
@@ -175,7 +165,6 @@
<widget>
<class>GtkButton</class>
<name>button-j</name>
- <can_focus>True</can_focus>
<label>j</label>
<child>
<padding>0</padding>
@@ -187,7 +176,6 @@
<widget>
<class>GtkButton</class>
<name>button-k</name>
- <can_focus>True</can_focus>
<label>k</label>
<child>
<padding>0</padding>
@@ -199,7 +187,6 @@
<widget>
<class>GtkButton</class>
<name>button-l</name>
- <can_focus>True</can_focus>
<label>l</label>
<child>
<padding>0</padding>
@@ -211,7 +198,6 @@
<widget>
<class>GtkButton</class>
<name>button-m</name>
- <can_focus>True</can_focus>
<label>m</label>
<child>
<padding>0</padding>
@@ -223,7 +209,6 @@
<widget>
<class>GtkButton</class>
<name>button-n</name>
- <can_focus>True</can_focus>
<label>n</label>
<child>
<padding>0</padding>
@@ -235,7 +220,6 @@
<widget>
<class>GtkButton</class>
<name>button-o</name>
- <can_focus>True</can_focus>
<label>o</label>
<child>
<padding>0</padding>
@@ -247,7 +231,6 @@
<widget>
<class>GtkButton</class>
<name>button-p</name>
- <can_focus>True</can_focus>
<label>p</label>
<child>
<padding>0</padding>
@@ -259,7 +242,6 @@
<widget>
<class>GtkButton</class>
<name>button-q</name>
- <can_focus>True</can_focus>
<label>q</label>
<child>
<padding>0</padding>
@@ -271,7 +253,6 @@
<widget>
<class>GtkButton</class>
<name>button-r</name>
- <can_focus>True</can_focus>
<label>r</label>
<child>
<padding>0</padding>
@@ -283,7 +264,6 @@
<widget>
<class>GtkButton</class>
<name>button-s</name>
- <can_focus>True</can_focus>
<label>s</label>
<child>
<padding>0</padding>
@@ -295,7 +275,6 @@
<widget>
<class>GtkButton</class>
<name>button-t</name>
- <can_focus>True</can_focus>
<label>t</label>
<child>
<padding>0</padding>
@@ -307,7 +286,6 @@
<widget>
<class>GtkButton</class>
<name>button-u</name>
- <can_focus>True</can_focus>
<label>u</label>
<child>
<padding>0</padding>
@@ -319,7 +297,6 @@
<widget>
<class>GtkButton</class>
<name>button-v</name>
- <can_focus>True</can_focus>
<label>v</label>
<child>
<padding>0</padding>
@@ -343,7 +320,6 @@
<widget>
<class>GtkButton</class>
<name>button-x</name>
- <can_focus>True</can_focus>
<label>x</label>
<child>
<padding>0</padding>
@@ -355,7 +331,6 @@
<widget>
<class>GtkButton</class>
<name>button-y</name>
- <can_focus>True</can_focus>
<label>y</label>
<child>
<padding>0</padding>
@@ -367,7 +342,6 @@
<widget>
<class>GtkButton</class>
<name>button-z</name>
- <can_focus>True</can_focus>
<label>z</label>
<child>
<padding>0</padding>
diff --git a/addressbook/gui/widgets/e-minicard-view.c b/addressbook/gui/widgets/e-minicard-view.c
index bc2e22fa32..73463866f4 100644
--- a/addressbook/gui/widgets/e-minicard-view.c
+++ b/addressbook/gui/widgets/e-minicard-view.c
@@ -387,6 +387,9 @@ compare_to_letter(EMinicard *card, char *letter)
g_return_val_if_fail(card != NULL, 0);
g_return_val_if_fail(E_IS_MINICARD(card), 0);
+ if (*letter == '1')
+ return 1;
+
if (card->card) {
char *file_as;
gtk_object_get(GTK_OBJECT(card->card),