*cancel_hbox, *cancel_image, *cancel_label, *ok_button, *ok_align,
*ok_hbox, *ok_image, *ok_label, *trim_button, *silent_update_label;
GtkObject *adj;
-#if !(GTK_CHECK_VERSION(2, 12, 0))
- GtkTooltips *tooltips;
-#endif
gint refresh;
gint row = 0;
/* Window */
feedprop->window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-#if !(GTK_CHECK_VERSION(2, 12, 0))
- tooltips = gtk_tooltips_new();
- gtk_tooltips_enable(tooltips);
-#endif
-
/* URL entry */
feedprop->url = gtk_entry_new();
gtk_entry_set_text(GTK_ENTRY(feedprop->url), ritem->url);
/* "Trim" button */
trim_button = gtk_button_new_with_mnemonic(_("_Trim"));
-#if !(GTK_CHECK_VERSION(2, 12, 0))
- gtk_tooltips_set_tip(tooltips, trim_button,
- _("Update feed, deleting items which are no longer in the source feed"), NULL);
-#else
gtk_widget_set_tooltip_text(trim_button,
_("Update feed, deleting items which are no longer in the source feed"));
-#endif
feedprop->fetch_comments = gtk_check_button_new_with_mnemonic(
_("Fetch comments if possible"));
gtk_toggle_button_set_active(
GTK_TOGGLE_BUTTON(feedprop->ignore_title_rename),
ritem->ignore_title_rename);
-#if !(GTK_CHECK_VERSION(2, 12, 0))
- gtk_tooltips_set_tip(tooltips, feedprop->ignore_title_rename,
- _("Enable this to keep current folder name, even if feed author changes title of the feed."), NULL);
-#else
gtk_widget_set_tooltip_text(feedprop->ignore_title_rename,
_("Enable this to keep current folder name, even if feed author changes title of the feed."));
-#endif
/* Verify SSL peer certificate */
feedprop->ssl_verify_peer = gtk_check_button_new_with_label(
GtkObject *refresh_adj;
GtkWidget *cookies_path;
GtkWidget *ssl_verify_peer;
-#if !(GTK_CHECK_VERSION(2, 12, 0))
- GtkTooltips *tooltips;
-
- tooltips = gtk_tooltips_new();
- gtk_tooltips_enable(tooltips);
-#endif
table = gtk_table_new(3, 2, FALSE);
gtk_container_set_border_width(GTK_CONTAINER(table), 5);
gtk_entry_set_text(GTK_ENTRY(cookies_path), rssyl_prefs.cookies_path);
gtk_table_attach(GTK_TABLE(table), cookies_path, 1, 2, row, row+1,
GTK_FILL, 0, 0, 0);
-#if !(GTK_CHECK_VERSION(2, 12, 0))
- gtk_tooltips_set_tip(tooltips, cookies_path,
- _("Path to Netscape-style cookies.txt file containing your cookies"), NULL);
-#else
gtk_widget_set_tooltip_text(cookies_path,
_("Path to Netscape-style cookies.txt file containing your cookies"));
-#endif
row++;
void rssyl_subscribe_dialog(RSubCtx *ctx) {
GtkWidget *win, *vbox, *title, *titleframe, *titlelabel, *editprops;
-#if !(GTK_CHECK_VERSION(2, 12, 0))
- GtkTooltips *tooltips;
-#endif
gint ret;
gchar *newtitle;
vbox = gtk_dialog_get_content_area(GTK_DIALOG(win));
-#if !(GTK_CHECK_VERSION(2, 12, 0))
- tooltips = gtk_tooltips_new();
- gtk_tooltips_enable(tooltips);
-#endif
-
/* Feed title */
titleframe = gtk_frame_new(NULL);
gtk_container_set_border_width(GTK_CONTAINER(titleframe), 5);
title = gtk_entry_new();
gtk_entry_set_text(GTK_ENTRY(title), feed_get_title(ctx->feed));
gtk_entry_set_activates_default(GTK_ENTRY(title), TRUE);
-#if !(GTK_CHECK_VERSION(2, 12, 0))
- gtk_tooltips_set_tip(tooltips, title,
- _("Instead of using official title, you can enter a different folder "
- "name for the feed."), NULL);
-#else
gtk_widget_set_tooltip_text(title,
_("Instead of using official title, you can enter a different folder "
"name for the feed."));
-#endif
gtk_container_add(GTK_CONTAINER(titleframe), title);
editprops = gtk_check_button_new_with_mnemonic(_("_Edit feed properties after subscribing"));