Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
ebview
fix-build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-build.patch of Package ebview
diff -ru ebview-0.3.6.orig/src/dictbar.c ebview-0.3.6/src/dictbar.c --- ebview-0.3.6.orig/src/dictbar.c 2004-02-22 06:35:18.000000000 +0100 +++ ebview-0.3.6/src/dictbar.c 2007-08-08 22:44:38.000000000 +0200 @@ -200,7 +200,7 @@ } tip_string = g_strconcat(_("Push to enable this dictionary."), "\n(", title, ")", NULL); - gtk_tooltips_set_tip(tooltip, toggle, tip_string, "Private"); + gtk_widget_set_tooltip_text(toggle, tip_string); g_free(tip_string); g_free(title); @@ -322,7 +322,7 @@ gtk_container_set_border_width(GTK_CONTAINER(dict_bar), 1); - gtk_tooltips_set_tip(tooltip, GTK_COMBO(combo_group)->entry, _("Select dictionary group."),"Private"); + gtk_widget_set_tooltip_text(GTK_COMBO(combo_group)->entry, _("Select dictionary group.")); active_found = FALSE; diff -ru ebview-0.3.6.orig/src/global.h ebview-0.3.6/src/global.h --- ebview-0.3.6.orig/src/global.h 2004-02-15 14:59:41.000000000 +0100 +++ ebview-0.3.6/src/global.h 2007-08-08 22:44:49.000000000 +0200 @@ -21,7 +21,7 @@ global GtkWidget *button_forward; global GtkWidget *status_bar; -global GtkTooltips *tooltip; +/* global GtkTooltip *tooltip; */ global GList *search_result; diff -ru ebview-0.3.6.orig/src/grep.c ebview-0.3.6/src/grep.c --- ebview-0.3.6.orig/src/grep.c 2004-02-22 04:43:50.000000000 +0100 +++ ebview-0.3.6/src/grep.c 2007-08-08 22:45:28.000000000 +0200 @@ -1116,7 +1116,7 @@ G_CALLBACK(suppress_hidden_toggled), NULL); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), bsuppress_hidden_files); - gtk_tooltips_set_tip(tooltip, button, _("Suppress files whose name start with dot."),"Private"); + gtk_widget_set_tooltip_text(button, _("Suppress files whose name start with dot.")); button = gtk_check_button_new_with_label(_("Ignore Case")); gtk_box_pack_start(GTK_BOX (grep_bar), button, FALSE, FALSE, 5); @@ -1124,7 +1124,7 @@ G_CALLBACK(ignore_case_toggled), NULL); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), bignore_case); - gtk_tooltips_set_tip(tooltip, button, _("When checked, uppercase letters and lowercase letters are regarded as identical."),"Private"); + gtk_widget_set_tooltip_text(button, _("When checked, uppercase letters and lowercase letters are regarded as identical.")); active_found = FALSE; old_found = FALSE; diff -ru ebview-0.3.6.orig/src/headword.c ebview-0.3.6/src/headword.c --- ebview-0.3.6.orig/src/headword.c 2004-02-22 06:49:17.000000000 +0100 +++ ebview-0.3.6/src/headword.c 2007-08-08 22:46:35.000000000 +0200 @@ -766,14 +766,14 @@ G_CALLBACK(previous_heading), NULL); gtk_box_pack_start(GTK_BOX(hbox), button_prev_hit, TRUE, TRUE, 0); - gtk_tooltips_set_tip(tooltip, button_prev_hit, _("Go to previous hit list."),"Private"); + gtk_widget_set_tooltip_text(button_prev_hit, _("Go to previous hit list.")); */ button_prev_hit = gtk_button_new(); g_signal_connect(G_OBJECT (button_prev_hit), "pressed", G_CALLBACK(previous_heading), NULL); gtk_box_pack_start(GTK_BOX(hbox), button_prev_hit, TRUE, TRUE, 0); - gtk_tooltips_set_tip(tooltip, button_prev_hit, _("Go to previous hit list."),"Private"); + gtk_widget_set_tooltip_text(button_prev_hit, _("Go to previous hit list.")); image_prev = gtk_image_new_from_stock(GTK_STOCK_GO_BACK, GTK_ICON_SIZE_SMALL_TOOLBAR); gtk_container_add(GTK_CONTAINER(button_prev_hit), image_prev); @@ -784,7 +784,7 @@ G_CALLBACK(next_heading), NULL); gtk_box_pack_start(GTK_BOX(hbox), button_next_hit, TRUE, TRUE, 0); - gtk_tooltips_set_tip(tooltip, button_next_hit, _("Go to next hit list."),"Private"); + gtk_widget_set_tooltip_text(button_next_hit, _("Go to next hit list.")); */ button_next_hit = gtk_button_new(); @@ -792,7 +792,7 @@ G_CALLBACK(next_heading), NULL); gtk_box_pack_start(GTK_BOX(hbox), button_next_hit, TRUE, TRUE, 0); - gtk_tooltips_set_tip(tooltip, button_next_hit, _("Go to next hit list."),"Private"); + gtk_widget_set_tooltip_text(button_next_hit, _("Go to next hit list.")); image_next = gtk_image_new_from_stock(GTK_STOCK_GO_FORWARD, GTK_ICON_SIZE_SMALL_TOOLBAR); gtk_container_add(GTK_CONTAINER(button_next_hit), image_next); diff -ru ebview-0.3.6.orig/src/mainwindow.c ebview-0.3.6/src/mainwindow.c --- ebview-0.3.6.orig/src/mainwindow.c 2004-02-22 08:20:05.000000000 +0100 +++ ebview-0.3.6/src/mainwindow.c 2007-08-08 22:49:18.000000000 +0200 @@ -597,7 +597,7 @@ LOG(LOG_DEBUG, "IN: create_main_window()"); - tooltip = gtk_tooltips_new(); + /* tooltip = gtk_tooltips_new(); */ hidden_window = gtk_window_new (GTK_WINDOW_TOPLEVEL); hidden_entry = gtk_entry_new(); @@ -765,7 +765,7 @@ g_signal_connect(G_OBJECT(word_entry),"focus_in_event", G_CALLBACK(entry_focus_in_event), NULL); - gtk_tooltips_set_tip(tooltip, word_entry, _("Type word here. You can type multiple space-separated words for keyword search. For file search, specify words or regular expression."),"Private"); + gtk_widget_set_tooltip_text(word_entry, _("Type word here. You can type multiple space-separated words for keyword search. For file search, specify words or regular expression.")); gtk_window_set_focus(GTK_WINDOW(main_window), word_entry); @@ -781,7 +781,7 @@ G_CALLBACK(start_search), (gpointer)button_start); - gtk_tooltips_set_tip(tooltip, button_start, _("Start search"),"Private"); + gtk_widget_set_tooltip_text(button_start, _("Start search")); image = gtk_image_new_from_stock(GTK_STOCK_FIND, GTK_ICON_SIZE_SMALL_TOOLBAR); gtk_container_add(GTK_CONTAINER(button_start), image); @@ -807,7 +807,7 @@ gtk_combo_set_popdown_strings( GTK_COMBO(combo_method), method_list) ; gtk_box_pack_start(GTK_BOX (hbox), combo_method, FALSE, TRUE, 0); - gtk_tooltips_set_tip(tooltip, GTK_COMBO(combo_method)->entry, _("Select search method."),"Private"); + gtk_widget_set_tooltip_text(GTK_COMBO(combo_method)->entry, _("Select search method.")); handler_method = g_signal_connect(G_OBJECT (GTK_COMBO(combo_method)->entry), "changed", G_CALLBACK(method_changed), NULL); @@ -833,7 +833,7 @@ g_signal_connect(G_OBJECT (button_auto), "toggled", G_CALLBACK(toggle_auto_callback), NULL); - gtk_tooltips_set_tip(tooltip, button_auto, _("When enabled, X selection is searched automatically"),"Private"); + gtk_widget_set_tooltip_text(button_auto, _("When enabled, X selection is searched automatically")); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button_auto), bauto_lookup); button_popup = gtk_toggle_button_new(); @@ -851,7 +851,7 @@ g_signal_connect(G_OBJECT (button_popup), "toggled", G_CALLBACK(toggle_popup_callback), NULL); - gtk_tooltips_set_tip(tooltip, button_popup, _("When enabled, result of X selection search will be shown in popup window"),"Private"); + gtk_widget_set_tooltip_text(button_popup, _("When enabled, result of X selection search will be shown in popup window")); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button_popup), bshow_popup); gtk_widget_set_sensitive(button_popup, bauto_lookup); @@ -867,7 +867,7 @@ g_signal_connect(G_OBJECT (button_up), "pressed", G_CALLBACK(dict_backward_text), NULL); - gtk_tooltips_set_tip(tooltip, button_up, _("Previous Item"),"Private"); + gtk_widget_set_tooltip_text(button_up, _("Previous Item")); image = gtk_image_new_from_stock(GTK_STOCK_GO_UP, GTK_ICON_SIZE_SMALL_TOOLBAR); gtk_container_add(GTK_CONTAINER(button_up), image); @@ -879,7 +879,7 @@ g_signal_connect(G_OBJECT (button_down), "pressed", G_CALLBACK(dict_forward_text), NULL); - gtk_tooltips_set_tip(tooltip, button_down, _("Next Item"),"Private"); + gtk_widget_set_tooltip_text(button_down, _("Next Item")); image = gtk_image_new_from_stock(GTK_STOCK_GO_DOWN, GTK_ICON_SIZE_SMALL_TOOLBAR); gtk_container_add(GTK_CONTAINER(button_down), image); @@ -894,7 +894,7 @@ g_signal_connect(G_OBJECT (button_forward), "pressed", G_CALLBACK(dict_history_forward), NULL); - gtk_tooltips_set_tip(tooltip, button_forward, _("show next in history"),"Private"); + gtk_widget_set_tooltip_text(button_forward, _("show next in history")); image = gtk_image_new_from_stock(GTK_STOCK_GO_FORWARD, GTK_ICON_SIZE_SMALL_TOOLBAR); gtk_container_add(GTK_CONTAINER(button_forward), image); @@ -905,7 +905,7 @@ g_signal_connect(G_OBJECT (button_back), "pressed", G_CALLBACK(dict_history_back), NULL); - gtk_tooltips_set_tip(tooltip, button_back, _("show previous in history"),"Private"); + gtk_widget_set_tooltip_text(button_back, _("show previous in history")); image = gtk_image_new_from_stock(GTK_STOCK_GO_BACK, GTK_ICON_SIZE_SMALL_TOOLBAR); gtk_container_add(GTK_CONTAINER(button_back), image); diff -ru ebview-0.3.6.orig/src/pref_dictgroup.c ebview-0.3.6/src/pref_dictgroup.c --- ebview-0.3.6.orig/src/pref_dictgroup.c 2004-02-15 15:43:02.000000000 +0100 +++ ebview-0.3.6/src/pref_dictgroup.c 2007-08-08 22:49:40.000000000 +0200 @@ -1449,8 +1449,8 @@ spin_search_depth = gtk_spin_button_new(GTK_ADJUSTMENT(adj), 1.0, 0); gtk_box_pack_start(GTK_BOX(hbox2), spin_search_depth,FALSE, FALSE, 2); - gtk_tooltips_set_tip(tooltip, spin_search_depth, - _("Specify search depth. 0 means to search only specified directory."),"Private"); + gtk_widget_set_tooltip_text(spin_search_depth, + _("Specify search depth. 0 means to search only specified directory.")); diff -ru ebview-0.3.6.orig/src/pref_dirgroup.c ebview-0.3.6/src/pref_dirgroup.c --- ebview-0.3.6.orig/src/pref_dirgroup.c 2004-02-15 14:59:42.000000000 +0100 +++ ebview-0.3.6/src/pref_dirgroup.c 2007-08-08 22:50:14.000000000 +0200 @@ -319,8 +319,8 @@ entry_group_name = gtk_entry_new(); gtk_box_pack_start (GTK_BOX (vbox), entry_group_name, FALSE, FALSE, 0); - gtk_tooltips_set_tip(tooltip, entry_group_name, - _("Enter the name of directory group."),"Private"); + gtk_widget_set_tooltip_text(entry_group_name, + _("Enter the name of directory group.")); label = gtk_label_new(_("Directory list")); gtk_box_pack_start (GTK_BOX (vbox), label, @@ -341,8 +341,8 @@ dirgroup_view = gtk_text_view_new(); // gtk_widget_set_size_request(dirgroup_view, 200, 200); gtk_container_add(GTK_CONTAINER(scroll), dirgroup_view); - gtk_tooltips_set_tip(tooltip, dirgroup_view, - _("Specify directory names one per line. You can specify extension of files that will be searched. For example, \"/some/dir/name,.txt\" searches all files under /some/dir/name which have the extension .txt."),"Private"); + gtk_widget_set_tooltip_text(dirgroup_view, + _("Specify directory names one per line. You can specify extension of files that will be searched. For example, \"/some/dir/name,.txt\" searches all files under /some/dir/name which have the extension .txt.")); diff -ru ebview-0.3.6.orig/src/pref_external.c ebview-0.3.6/src/pref_external.c --- ebview-0.3.6.orig/src/pref_external.c 2004-02-15 14:59:42.000000000 +0100 +++ ebview-0.3.6/src/pref_external.c 2007-08-08 22:51:32.000000000 +0200 @@ -80,8 +80,8 @@ check_sound = gtk_check_button_new_with_label(_("Play sound internally")); gtk_box_pack_start (GTK_BOX(vbox) , check_sound,FALSE, FALSE, 5); - gtk_tooltips_set_tip(tooltip, check_sound, - _("Use internal routine to play sound. Valid only on windows."),"Private"); + gtk_widget_set_tooltip_text(check_sound, + _("Use internal routine to play sound. Valid only on windows.")); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(check_sound), bplay_sound_internally); @@ -102,8 +102,8 @@ , entry_wave,TRUE, TRUE, 0); gtk_size_group_add_widget (entry_group, entry_wave); - gtk_tooltips_set_tip(tooltip, entry_wave, - _("External command to play WAVE sound. %f will be replaced by data file name."),"Private"); + gtk_widget_set_tooltip_text(entry_wave, + _("External command to play WAVE sound. %f will be replaced by data file name.")); gtk_entry_set_text(GTK_ENTRY(entry_wave), wave_template); @@ -124,8 +124,8 @@ gtk_box_pack_start (GTK_BOX(hbox) , entry_mpeg, TRUE, TRUE, 0); gtk_size_group_add_widget (entry_group, entry_mpeg); - gtk_tooltips_set_tip(tooltip, entry_mpeg, - _("External command to play MPEG movie. %f will be replaced by data file name."),"Private"); + gtk_widget_set_tooltip_text(entry_mpeg, + _("External command to play MPEG movie. %f will be replaced by data file name.")); gtk_entry_set_text(GTK_ENTRY(entry_mpeg), mpeg_template); @@ -146,8 +146,8 @@ gtk_box_pack_start (GTK_BOX(hbox) , entry_browser, TRUE, TRUE, 0); gtk_size_group_add_widget (entry_group, entry_browser); - gtk_tooltips_set_tip(tooltip, entry_browser, - _("External command to launch Web browser. %f will be replaced by URL."),"Private"); + gtk_widget_set_tooltip_text(entry_browser, + _("External command to launch Web browser. %f will be replaced by URL.")); gtk_entry_set_text(GTK_ENTRY(entry_browser), browser_template); @@ -169,8 +169,8 @@ gtk_box_pack_start (GTK_BOX(hbox) , entry_open, TRUE, TRUE, 0); gtk_size_group_add_widget (entry_group, entry_open); - gtk_tooltips_set_tip(tooltip, entry_open, - _("Standard command to open file. %f will be replaced by filename, %l by line number."),"Private"); + gtk_widget_set_tooltip_text(entry_open, + _("Standard command to open file. %f will be replaced by filename, %l by line number.")); gtk_entry_set_text(GTK_ENTRY(entry_open), open_template); diff -ru ebview-0.3.6.orig/src/pref_grep.c ebview-0.3.6/src/pref_grep.c --- ebview-0.3.6.orig/src/pref_grep.c 2004-02-22 06:59:42.000000000 +0100 +++ ebview-0.3.6/src/pref_grep.c 2007-08-08 22:52:26.000000000 +0200 @@ -146,8 +146,8 @@ gtk_table_attach(GTK_TABLE(table), spin_additional_line, 1, 2, 1, 2, xoption, yoption, 10, 10); - gtk_tooltips_set_tip(tooltip, spin_additional_line, - _("In addition to matched line, additional lines will be shown in contents."),"Private"); + gtk_widget_set_tooltip_text(spin_additional_line, + _("In addition to matched line, additional lines will be shown in contents.")); hbox = gtk_hbox_new(FALSE,10); gtk_container_set_border_width(GTK_CONTAINER(hbox), 2); @@ -172,8 +172,8 @@ gtk_table_attach(GTK_TABLE(table), spin_additional_char, 1, 2, 2, 3, xoption, yoption, 10, 10); - gtk_tooltips_set_tip(tooltip, spin_additional_char, - _("When matched line is too long, several characters around keyword will be shown in heading."), "Private"); + gtk_widget_set_tooltip_text(spin_additional_char, + _("When matched line is too long, several characters around keyword will be shown in heading.")); @@ -402,8 +402,8 @@ gtk_table_attach(GTK_TABLE(table), spin_cache_size, 1, 2, 0, 1, xoption, yoption, 10, 10); - gtk_tooltips_set_tip(tooltip, spin_cache_size, - _("Specify maximum cache size in MB."), "Private"); + gtk_widget_set_tooltip_text(spin_cache_size, + _("Specify maximum cache size in MB.")); button = gtk_button_new_with_label(_("Clear Cache")); gtk_table_attach(GTK_TABLE(table), button, 2, 3, 0, 1, diff -ru ebview-0.3.6.orig/src/pref_gui.c ebview-0.3.6/src/pref_gui.c --- ebview-0.3.6.orig/src/pref_gui.c 2004-02-22 07:36:54.000000000 +0100 +++ ebview-0.3.6/src/pref_gui.c 2007-08-08 22:53:53.000000000 +0200 @@ -90,8 +90,8 @@ gtk_table_attach(GTK_TABLE(table), spin_words, 1, 2, 0, 1, xoption, yoption, 10, 10); - gtk_tooltips_set_tip(tooltip, spin_words, - _("Maximum number of words to remember in word history"), "Private"); + gtk_widget_set_tooltip_text(spin_words, + _("Maximum number of words to remember in word history")); hbox = gtk_hbox_new(FALSE,10); @@ -118,14 +118,14 @@ gtk_table_attach(GTK_TABLE(table), spin_dict_label, 1, 2, 1, 2, xoption, yoption, 10, 10); - gtk_tooltips_set_tip(tooltip, spin_dict_label, - _("Specify the number of characters to display on top of each toggle buttons in dictionary bar."),"Private"); + gtk_widget_set_tooltip_text(spin_dict_label, + _("Specify the number of characters to display on top of each toggle buttons in dictionary bar.")); check_splash = gtk_check_button_new_with_label(_("Show splash screen")); - gtk_tooltips_set_tip(tooltip, check_splash, - _("Show splash screen on loading."),"Private"); + gtk_widget_set_tooltip_text(check_splash, + _("Show splash screen on loading.")); gtk_table_attach(GTK_TABLE(table), check_splash, 0, 1, 5, 6, xoption, yoption, 10, 10); @@ -134,8 +134,8 @@ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(check_splash), bshow_splash); check_heading_auto = gtk_check_button_new_with_label(_("Calculate heading automatically")); - gtk_tooltips_set_tip(tooltip, check_heading_auto, - _("Calculate the number of cells in heading list to suit the window size."),"Private"); + gtk_widget_set_tooltip_text(check_heading_auto, + _("Calculate the number of cells in heading list to suit the window size.")); gtk_table_attach(GTK_TABLE(table), check_heading_auto, 0, 1, 6, 7, xoption, yoption, 10, 10); @@ -167,13 +167,13 @@ gtk_table_attach(GTK_TABLE(table), spin_max_heading, 1, 2, 7, 8, xoption, yoption, 10, 10); - gtk_tooltips_set_tip(tooltip, spin_max_heading, - _("Maximum number of hits to be displayed at once.\nYou can go forward and backward using buttons. Valid only if automatic calculation is disabled."), "Private"); + gtk_widget_set_tooltip_text(spin_max_heading, + _("Maximum number of hits to be displayed at once.\nYou can go forward and backward using buttons. Valid only if automatic calculation is disabled.")); // check_button_color = gtk_check_button_new_with_label(_("Enable dictionary button color")); - gtk_tooltips_set_tip(tooltip, check_button_color, - _("Enable background color of dictionary button."),"Private"); + gtk_widget_set_tooltip_text(check_button_color, + _("Enable background color of dictionary button.")); gtk_table_attach(GTK_TABLE(table), check_button_color, 0, 1, 8, 9, xoption, yoption, 10, 10); diff -ru ebview-0.3.6.orig/src/pref_search.c ebview-0.3.6/src/pref_search.c --- ebview-0.3.6.orig/src/pref_search.c 2004-02-15 14:59:42.000000000 +0100 +++ ebview-0.3.6/src/pref_search.c 2007-08-08 22:54:19.000000000 +0200 @@ -80,13 +80,13 @@ gtk_table_attach(GTK_TABLE(table), spin_max_search, 1, 2, 0, 1, xoption, yoption, 10, 10); - gtk_tooltips_set_tip(tooltip, spin_max_search, - _("Maximum number of hits to be searched.\nIf you increase this number, it takes time to search."),"Private"); + gtk_widget_set_tooltip_text(spin_max_search, + _("Maximum number of hits to be searched.\nIf you increase this number, it takes time to search.")); check_word_search = gtk_check_button_new_with_label(_("Perform word search in automatic search")); - gtk_tooltips_set_tip(tooltip, check_word_search, - _("Perform word search in automatic search."),"Private"); + gtk_widget_set_tooltip_text(check_word_search, + _("Perform word search in automatic search.")); gtk_table_attach(GTK_TABLE(table), check_word_search, 0, 1, 2, 3, xoption, yoption, 10, 10); diff -ru ebview-0.3.6.orig/src/pref_selection.c ebview-0.3.6/src/pref_selection.c --- ebview-0.3.6.orig/src/pref_selection.c 2004-02-15 14:59:42.000000000 +0100 +++ ebview-0.3.6/src/pref_selection.c 2007-08-08 22:55:33.000000000 +0200 @@ -87,8 +87,8 @@ gtk_table_attach(GTK_TABLE(table), spin_interval, 3, 4, 0, 1, xoption, yoption, 10, 10); - gtk_tooltips_set_tip(tooltip, spin_interval, - _("Interval to check selection. \nIncreasing this number may eat up your CPU.\nIgnored on Windows."), "Private"); + gtk_widget_set_tooltip_text(spin_interval, + _("Interval to check selection. \nIncreasing this number may eat up your CPU.\nIgnored on Windows.")); hbox = gtk_hbox_new(FALSE,10); gtk_container_set_border_width(GTK_CONTAINER(hbox), 2); @@ -116,8 +116,8 @@ gtk_table_attach(GTK_TABLE(table), spin_minchar, 3, 4, 1, 2, xoption, yoption, 10, 10); - gtk_tooltips_set_tip(tooltip, spin_minchar, - _("When the number of characters in selection is less than this number, it will not be looked up."), "Private"); + gtk_widget_set_tooltip_text(spin_minchar, + _("When the number of characters in selection is less than this number, it will not be looked up.")); hbox = gtk_hbox_new(FALSE,10); @@ -147,8 +147,8 @@ gtk_table_attach(GTK_TABLE(table), spin_maxchar, 3, 4, 2, 3, xoption, yoption, 10, 10); - gtk_tooltips_set_tip(tooltip, spin_maxchar, - _("When the number of characters in selection is larger than this number, it will not be looked up."), "Private"); + gtk_widget_set_tooltip_text(spin_maxchar, + _("When the number of characters in selection is larger than this number, it will not be looked up.")); hbox = gtk_hbox_new(FALSE,10); @@ -211,8 +211,8 @@ */ check_popup_title = gtk_check_button_new_with_label(_("Show popup title")); - gtk_tooltips_set_tip(tooltip, check_popup_title, - _("Show title of popup window."),"Private"); + gtk_widget_set_tooltip_text(check_popup_title, + _("Show title of popup window.")); // gtk_box_pack_start (GTK_BOX(hbox) // , check_popup_title,FALSE,FALSE, 0); gtk_table_attach(GTK_TABLE(table), check_popup_title, 0, 1, 4, 5, @@ -228,8 +228,8 @@ */ check_beep = gtk_check_button_new_with_label(_("Beep on no hit")); - gtk_tooltips_set_tip(tooltip, check_beep, - _("Beep when no hit."),"Private"); + gtk_widget_set_tooltip_text(check_beep, + _("Beep when no hit.")); // gtk_box_pack_start (GTK_BOX(hbox) // , check_beep,FALSE,FALSE, 0); gtk_table_attach(GTK_TABLE(table), check_beep, 0, 1, 5, 6, diff -ru ebview-0.3.6.orig/src/pref_shortcut.c ebview-0.3.6/src/pref_shortcut.c --- ebview-0.3.6.orig/src/pref_shortcut.c 2004-02-22 07:00:29.000000000 +0100 +++ ebview-0.3.6/src/pref_shortcut.c 2007-08-08 22:55:45.000000000 +0200 @@ -540,8 +540,8 @@ check_lock = gtk_check_button_new_with_label(_("Ignore locks")); gtk_box_pack_start(GTK_BOX(vbox2), check_lock, FALSE, FALSE, 0); - gtk_tooltips_set_tip(tooltip, check_lock, - _("Ignore Caps Lock and Num Lock key."),"Private"); + gtk_widget_set_tooltip_text(check_lock, + _("Ignore Caps Lock and Num Lock key.")); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(check_lock), bignore_locks); g_signal_connect(G_OBJECT(check_lock), "clicked", G_CALLBACK(lock_changed), NULL); diff -ru ebview-0.3.6.orig/src/pref_stemming.c ebview-0.3.6/src/pref_stemming.c --- ebview-0.3.6.orig/src/pref_stemming.c 2004-02-22 07:00:55.000000000 +0100 +++ ebview-0.3.6/src/pref_stemming.c 2007-08-08 22:56:10.000000000 +0200 @@ -164,8 +164,8 @@ , vbox,TRUE,FALSE, 0); check_ending = gtk_check_button_new_with_label(_("Perform stemming")); - gtk_tooltips_set_tip(tooltip, check_ending, - _("When ending of each words matches the pattern in the list, normal form of the word will also be tried. It takes longer."),"Private"); + gtk_widget_set_tooltip_text(check_ending, + _("When ending of each words matches the pattern in the list, normal form of the word will also be tried. It takes longer.")); gtk_box_pack_start (GTK_BOX(vbox) , check_ending,FALSE,FALSE, 0); g_signal_connect(G_OBJECT (check_ending), "clicked", @@ -173,8 +173,8 @@ check_nohit = gtk_check_button_new_with_label(_("Stemming only when no hit")); - gtk_tooltips_set_tip(tooltip, check_nohit, - _("Do not perform stemming when original words hit."),"Private"); + gtk_widget_set_tooltip_text(check_nohit, + _("Do not perform stemming when original words hit.")); gtk_box_pack_start (GTK_BOX(vbox) , check_nohit,FALSE,FALSE, 0); g_signal_connect(G_OBJECT (check_nohit), "clicked",
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor