[gnome-bluetooth] properties: Remove help button
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] properties: Remove help button
- Date: Mon, 24 Jan 2011 18:37:37 +0000 (UTC)
commit f8b1d151c24e8ff21c70adf251e938496b2a92fc
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jan 24 18:37:13 2011 +0000
properties: Remove help button
https://bugzilla.gnome.org/show_bug.cgi?id=640175
properties/cc-bluetooth-panel.c | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/properties/cc-bluetooth-panel.c b/properties/cc-bluetooth-panel.c
index e51c62f..9937406 100644
--- a/properties/cc-bluetooth-panel.c
+++ b/properties/cc-bluetooth-panel.c
@@ -69,18 +69,6 @@ receive_callback (GtkWidget *item, GtkWindow *window)
}
}
-static void help_callback(GtkWidget *item)
-{
- GError *error = NULL;
-
- if(!gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET(item)),
- "ghelp:gnome-bluetooth", gtk_get_current_event_time (), &error)) {
-
- g_printerr("Unable to launch help: %s", error->message);
- g_error_free(error);
- }
-}
-
static GtkWidget *
create_window (GtkWidget *notebook,
CcPanel *panel)
@@ -111,13 +99,6 @@ create_window (GtkWidget *notebook,
gtk_button_box_set_layout(GTK_BUTTON_BOX(buttonbox), GTK_BUTTONBOX_END);
gtk_box_pack_start(GTK_BOX(vbox), buttonbox, FALSE, FALSE, 0);
- button = gtk_button_new_from_stock(GTK_STOCK_HELP);
- gtk_container_add(GTK_CONTAINER(buttonbox), button);
- gtk_button_box_set_child_secondary(GTK_BUTTON_BOX(buttonbox),
- button, TRUE);
- g_signal_connect(G_OBJECT(button), "clicked",
- G_CALLBACK(help_callback), toplevel);
-
image = gtk_image_new_from_stock (GTK_STOCK_JUMP_TO,
GTK_ICON_SIZE_BUTTON);
button = gtk_button_new_with_label (_("Receive Files"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]